-
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
ST-LINK/V2: st-util
failing second page of write to flash
#967
Comments
@nerdmaennchen: I thought this was fixed in #876... |
I can give it a test later. The reason I've been so quiet is because |
Yes, true - we also want to see it working of course. |
Still the exact same problem :/.
Once again, the full erase and reprogram worked, but continued to fail on subsequent loads. |
ok, good to know. I wonder if this ever worked. Have you tried older versions as well (v1.5.1, 1.5.0, ...)? Note that one needs to use the |
Same thing on 1.5.0 :/ |
Ok, thx for testing, so it is likely not a regression. |
I was able to do some more testing on this now, but only on a Debian Linux system... (see issue #356) |
Interesting, glad you could get a repro. If you'd like me to try anything on macOS specifically let me know. |
Hi @dot4qu. Thx for the offer 👍 |
Alright, feel free to close this to declutter then. Thanks for the help! |
Our policy is to leave tickets open until a problem is resolved, because we link the issue-addressing PR to all related issues which will then close all by making use of git automation upon merging. |
@dot4qu After a long wait (sry) there is an update to this now. 😃 |
(working on the It seems like this has been mostly resolved. I can now repeatedly program the board by loading the file through the Note the "cannot recv: -2". Not sure what that means. I can also successfully now call |
@dot4qu Perhaps |
Thank you for giving feedback to the stlink project.
In order to allow developers and other contributors to isolate and target your respective issue, please take some time to fill out each of the following items appropriate to your specific problem:
fd856ddc40f9e9f55f70b76f4429d16081ee5b02
(latest develop head as of ticket date) (e.g v1.1.0/git-c722056)st-info
,st-flash
,st-util
)Futher we kindly ask you to describe the detected problem as detailed as possible and to add debug output if available, by using the following template:
Commandline-Output:
Expected/description:
When loading an
.elf
binary witharm-none-eabi-gdb
, the first page of 0x400 bytes of flash erases and rewrites successfully, but the second fails. If the board is erased withst-flash erase
, the gdb load will work successfully. I'm experiencing the exact same situation as #579, but even with the latestdevelop
cloned and built withmake release
, I'm still running into the issue.NOTICE: This bug report may be closed without further notice, if not enough information is provided!
Thank you for your support.
The stlink project maintainers
The text was updated successfully, but these errors were encountered: