Skip to content
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 STM32F407 under Win8, gnu... #227

Closed
mik00 opened this issue May 1, 2014 · 4 comments · Fixed by #454 or #455
Closed

Semihosting STM32F407 under Win8, gnu... #227

mik00 opened this issue May 1, 2014 · 4 comments · Fixed by #454 or #455

Comments

@mik00
Copy link

mik00 commented May 1, 2014

Have YOU made semihosting work on the STM32F407?
Please send me a: "Yes!", or a "No, I failed too"

I'm using a [b]PC (Win8) and the gnu toolchain[/b], [b]cross tools[/b], and the [b]STMF4xx example program[/b] that blinks an LED. I'm not sure I have everything set up correctly, but I can't find a definitive document describing the current configuration process.

I can compile, and even debug the semihosted example program, but it simply halts at the first trace statement. Other people have given up, so I don't want to dig into this unless there is evidence that it works.

[list][]Can you point me at the definitive configuration document?
[
]What are the correct configuration settings?
[*]What is the right ST-LINK firmware? I upgraded to V2.J19.S0 and it chokes somewhere during the flashing process. Downgrading to V2.[b]J15[/b].S0 worked OK. Any confirms on that? Has the protocol changed in J19?[/list]

If it can be made to work I'll write a guide document.

@xor-gate
Copy link
Member

xor-gate commented May 4, 2016

Semihosting is not supported by stlink project tools (currently). You have to use OpenOCD for this.

@Nightwalker-87
Copy link
Member

Nightwalker-87 commented Feb 25, 2020

Support for ARM semihosting was added to st-util in Release v1.3.0.

@mik00
Copy link
Author

mik00 commented Mar 19, 2020 via email

@mik00
Copy link
Author

mik00 commented Mar 19, 2020 via email

@Nightwalker-87 Nightwalker-87 changed the title Semihosting 32F407 under Win8, gnu... hangs Semihosting STM32F407 under Win8, gnu... hangs Mar 22, 2020
@Nightwalker-87 Nightwalker-87 modified the milestones: Feedback required, v1.3.0 Mar 28, 2020
This was linked to pull requests Mar 28, 2020
@Nightwalker-87 Nightwalker-87 changed the title Semihosting STM32F407 under Win8, gnu... hangs Semihosting STM32F407 under Win8, gnu... Mar 28, 2020
@stlink-org stlink-org locked as resolved and limited conversation to collaborators Apr 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.