webdfu icon indicating copy to clipboard operation
webdfu copied to clipboard

I need help!...

Open kheperV3 opened this issue 3 years ago • 2 comments

I am trying to use webdfu to load a program on an STM32F042K6T6 (from a Mac) Loading seems to be going well BUT:

  • the program does not work
  • The number of bytes loaded is too large (4169 instead of 3860)

And when I look at the flash, I see that the header ("DfuSe ..") is there 2 times (1 => @ 0, 2 => @ 0x125)

Do you have an idea that could help me? Thank you!

Louis

kheperV3 avatar Jul 19 '20 17:07 kheperV3

Hi @kheperV3,

This demo started out only supporting the vanilla DFU protocol, so there's currently no support for parsing either the DfuSe header or the standard DFU suffix. For now, you would want to either generate a plain firmware image with no header or strip off the header (assuming you only need to flash a single image).

devanlai avatar Jul 19 '20 20:07 devanlai

Hi devanlai When I strip off the header from the .dfu file it works !!! Thanks!!!

kheperV3 avatar Jul 19 '20 21:07 kheperV3