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

I need help!... #9

Open
kheperV3 opened this issue Jul 19, 2020 · 2 comments
Open

I need help!... #9

kheperV3 opened this issue Jul 19, 2020 · 2 comments

Comments

@kheperV3
Copy link

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

@devanlai
Copy link
Owner

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).

@kheperV3
Copy link
Author

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

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

2 participants