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

resetting a stm32f103 with a "kill + run" doesn't seem to work #358

Closed
l29ah opened this issue Dec 15, 2015 · 10 comments · Fixed by #528
Closed

resetting a stm32f103 with a "kill + run" doesn't seem to work #358

l29ah opened this issue Dec 15, 2015 · 10 comments · Fixed by #528

Comments

@l29ah
Copy link
Contributor

l29ah commented Dec 15, 2015

(gdb) run
Starting program: blah

And that's it, it just hangs indefinitely. Nothing happens in the st-util log meanwhile. I've spotted an irregularity tho:

send:
recv: vKill;a410
send: OK
recv: ?
send: OK
recv: vRun;
send:
recv: R0
KARL - should read back as 0x03, not 60 02 00 00
init watchpoints

@xor-gate
Copy link
Member

xor-gate commented May 4, 2016

Do you have some more details about your setup, programmer, target, debug output from st-util?

@l29ah
Copy link
Contributor Author

l29ah commented May 4, 2016

stm32f1discovery with the embedded stlink thing.
I've moved to openocd that works awesome since then.

@xor-gate
Copy link
Member

xor-gate commented May 4, 2016

@l29ah thanks for your feedback, OpenOCD has more maintainers and users and has full ARM Semihosting support. Have you tried with latest st-util from master?

@xor-gate
Copy link
Member

xor-gate commented May 4, 2016

This is somewhat related to issue #131

@l29ah
Copy link
Contributor Author

l29ah commented May 4, 2016

I was using master back then.

@xor-gate
Copy link
Member

xor-gate commented May 4, 2016

Did you enable arm semihosting or using it from you target? As stlink tools don't support this.

@l29ah
Copy link
Contributor Author

l29ah commented May 4, 2016

On Wed, May 04, 2016 at 11:52:54AM -0700, Jerry Jacobs wrote:

Did you enable arm semihosting or using it from you target? As stlink tools don't support this.

Didn't know about this thing, probably not.

() ascii ribbon campaign - against html mail
/\ http://arc.pasp.de/ - against proprietary attachments

@xor-gate
Copy link
Member

xor-gate commented May 4, 2016

As you are using OpenOCD now, should I close this issue?

@xor-gate
Copy link
Member

Closing due to inactivity and original issuer switched to use OpenOCD instead.

@Nightwalker-87
Copy link
Member

Fixed in #528.

@stlink-org stlink-org locked as resolved and limited conversation to collaborators Apr 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants