STM32F42x ROM DFU Descriptor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-03-30 2:32 AM
Posted on March 30, 2015 at 11:32
It appears that DFU in the STM32F42x ROM Bootloader has an issue:
The device returns a descriptor response string as a malformed packet (according to wireshark) for the @Internal Flash interface. The bLength field indicates a length of 166 bytes, the actual string is only 112 bytes. This results in a error return code from libusb (libusb_get_string_descriptor_ascii), and causes dfu-util to fail. Modifyinglibusb/descriptor.c
function libusb_get_string_descriptor_ascii from
if (tbuf[0] > r)
return LIBUSB_ERROR_IO; into if (tbuf[0] > r) tbuf[0] = r; succeeds as a workaround. STM32F40x is not affected, probably only STM32F42x and STM32F43x. Could anyone confirm this issue? Thanks! #dfu
Labels:
- Labels:
-
Bootloader
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
