bigtreetech / BIGTREETECH-OCTOPUS-Pro

This is OCTOPUS Pro open source material
272 stars 58 forks source link

Errant string in USB descriptor breaks dfu-util #42

Open garethky opened 12 months ago

garethky commented 12 months ago

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