-
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-util sends wrong memory map/ no features STM32F429 #250
Milestone
Comments
Not fixed: |
@iabdalkader @landgraf: I am currently reviewing old leftovers. |
@Nightwalker-87 It fixed the issue for me back when this was merged (in 2014)... I don't know if this is still relevant today. |
Fixed in #251. |
Nightwalker-87
added
bug/fixed
status/resolved
and removed
needs/investigation
needs/issuer-feedback
labels
Mar 28, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm having a problem with STM32F429, it seems that st-link is not sending the features packet and sends out the wrong memory map to gdb (I captured the packets with wireshark), this makes
load
fail withflash_add_block: unaligned block
see #196 , and gdb tries to access default registers like $f0 also I was not able to access CCM.further digging into this issue, it seems that the correct memory map and features are sent only for the
STM32_CHIPID_F4
and notSTM32_CHIPID_F4_HD
(which is what st-link reports for the STM32F429)It looks like there's no way to specify the memory map/supported packets outside the code, so a simple check for
STM32_CHIPID_F4_HD
fixes this issue, here:https://github.com/texane/stlink/blob/master/gdbserver/gdb-server.c#L339
https://github.com/texane/stlink/blob/master/gdbserver/gdb-server.c#L739
The text was updated successfully, but these errors were encountered: