-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
STM32L0 loader run error #269
Comments
I have the same problem. 1, Use external or internal ST-link of STM32L053 disco board, with e-paper display Strange is that at first it tries to reprogram 12 halfpages, then just 6. It also takes longer than I'm used to from STM32F0 of F4 - notice the 3 seconds delay after "Successfully loaded flash loader in sram" line. |
I solved problem by switch from st-flash to openocd, which is fully supports also "connect after reset" and much faster actually. |
Meh... good for you, but this is not solution of the reported issue. |
Sorry, wrong button :) |
i belive that loader code for L0 devices is broken i would be grateful if someone can test it so we can have just one loader for L0 family (i dont have access to L053x device) |
I made a quick test with a custom board with a STM32L051K6T6 with the modified loader. With several The first two pages are written without error. After errors were:
But for same page the verification seems OK:
After a board reset the very simple program works correctly |
thanks for checking if flashing using a loader fails the same data will by written word-by-word instead in half-pages |
i got hold of L053R8 Nucleo board and verified that:
@kaliczp |
@gluedig as you tested it, this seems to be fixed now right? |
Should be fixed in current |
I'm using STM32L0538-DISCOVERY board. First flashing of st-flash is working correctly, but ERROR message is shown:
Secondary run fails on verification:
Note, that number of pages here are doubled, on first run there was only 2 pages. Unpluggins ST-LINK power, or running with --reset option solves the problem.
ST-LINK fw version (by win original tool): V2.J21.M5 STM32 Debug+Mass storage
The text was updated successfully, but these errors were encountered: