-
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
Semihosting is not working after 1.5.1 with STM32F429 #1038
Comments
Sorry guys, I'm not using semihosting anymore so I can't test it against master for the time being. Maybe someone else can do it, there was a deleted comment by someone else some days ago having the same issue. |
@Ant-ON Can you or anybody else test instead? |
@jiayihu Even though you don't use |
I didn't use gdb, I just ran |
@jiayihu: Thx for coming back to this. Note that |
Oh you're right, I went back to my workflow and I used this
And ran with |
Ok, thanks - I'll try this out with my Bluepill board and possibly with a borrowed Nucleo STM32F429ZI (if functional... 😕). |
Here is my output when trying to reproduce your command sequence on
... which looks good to me and is what to expect AFAIK. |
Here is my output when trying to reproduce your command sequence on develop (HEAD) with a Nucleo STM32F429ZI:
... and nothing else happened in
on the gdb-server ( This led me to the approach to update the firmware of the STLINK/V2-1 on-board programmer to V2.J37.M27. This leads to:
... which again looks good to me and is what to expect AFAIK. |
What I can still do is to verify the observed results with v1.6.0 and v1.6.1 in order to find out about any possible inconsistencies in the codebase between v1.5.1 and v1.6.1. |
Here is my output when trying to reproduce your command sequence for v1.6.1 with a Bluepill (CKS32F103C8T6):
... which does not work as expected. |
Here is my output when trying to reproduce your command sequence for v1.6.1 with a Nucleo STM32F429ZI:
... which also does not work as expected. |
@Nightwalker-87 Yes, this bug is related to #1027. Semihost uses the stlink/src/st-util/gdb-server.c Lines 1458 to 1469 in fe526ec
|
Fixed in #1027. |
Thank you for giving feedback to the stlink project.
NOTICE: Please read and follow instructions in #906 before submitting a ticket. This feature request will be deleted without notice when not enough information is provided! So please ensure that all fields are filled out.
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:
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:
I have been debugging today using semihosting but it was not working despite using an application which I was sure it was fine some months ago. Then I tried to compile version 1.5.1 which I was using and
st-util --semihosting
works there, whereas with the new versions results in SIGTRAPThank you for your support.
The stlink project maintainers
The text was updated successfully, but these errors were encountered: