Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errant string in USB descriptor breaks dfu-util #42

Open
garethky opened this issue Nov 29, 2023 · 0 comments
Open

Errant string in USB descriptor breaks dfu-util #42

garethky opened this issue Nov 29, 2023 · 0 comments

Comments

@garethky
Copy link

This is about the F429 variant:

There is a trailing "comment" in the memory map in the USB interface descriptor for the Internal Flash device:

iInterface 4 @Internal Flash /0x08000000/04*016Kg,01*064Kg,07*128Kg챐ƨ⹔뺿䭼뛮컸

챐ƨ⹔뺿䭼뛮컸 translates to English as "It was so big".

This can be observed with the device in DFU mode with the command:

lsusb -d 0483:df11 -v

dfu-util (v0.9) tries to parse this string and fails with the message:

dfu-util: Failed to parse memory layout

Please update the bootloader to remove this string.

see also: https://klipper.discourse.group/t/make-flash-octopus-pro-board/11953/5

@garethky garethky changed the title Errant in USB descriptor breaks dfu-util Errant string in USB descriptor breaks dfu-util Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant