-
Notifications
You must be signed in to change notification settings - Fork 34
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
Debugging workflow #97
Conversation
68ac511
to
6fe5aeb
Compare
I was publishing the new version and saw your pull request. |
I think it's better to release the new version, so you can verify if the proposed changes need to be updated. |
1917e9c
to
180ee5b
Compare
8584103
to
5687fac
Compare
Building elf that contain symbol names is what allows debugging or importing variable addresses to STMstudio. The issue is with the objcopy that is used to convert elf to hex (for flashing). I am not sure why the binary that I included doesn't work for you but works in the CI without dlls. But the error itself is actually probably just missing |
I added Does |
Same problem: "cannot find file". |
copy main.hex to the root for the convenience
Flashing tips Use hex extension instead of ihx copy main.hex to the root for the convenience
This was so annoying to test..... But I think it should work now. On 32bit and 64bit. |
Yes, it works on Win10 64bit. |
One question, why did you copy main.exe to the main folder? |
main.hex copying to the root is mainly for the convenience. I am not sure if others will benefit, but I often save the binary with a meaningful name. Searching for it everytime in the bin folder was cumbersome. I then often wirelessly transfer the hex file to android phone and flash it, as described now in the second bullet here https://github.com/emmebrusa/TSDZ2-Smart-EBike-1#flashing-the-firmware-manually. |
Ctrl+shift+b
:F5
: