-
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
STM32H7A: Flash write fails on second page #1369
Comments
According to one Neil Race there is a suspiciously similar issue with stm32flash: https://sourceforge.net/p/stm32flash/tickets/161/ |
I did some experiments:
You can see writing a binary image smaller than 8k( |
programmer: stlink/v2-clone
os: linux
version: v1.8.0-2-g65f062f
command:
st-flash --debug write fw.bin 0x8000000 2> log.txt
Writing the first page, up to 8KiB, works fine, however as soon as the size of the bin file exceeds this I get:
Size of fw.bin is 9704 bytes.
Full log: log.txt
There is a similar issue here: #1342 but it looks like despite the name that's actually talking about the second memory bank, not second page of the first bank.
There is also #1305, but for me erasing works fine, only writing to the second page fails. However it's still possible they are related.
The text was updated successfully, but these errors were encountered: