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

ST-LINK RST pin #475

Closed
SL-RU opened this issue Sep 18, 2016 · 8 comments · Fixed by #534
Closed

ST-LINK RST pin #475

SL-RU opened this issue Sep 18, 2016 · 8 comments · Fixed by #534

Comments

@SL-RU
Copy link

SL-RU commented Sep 18, 2016

Hello!
I'm now required in force hardware reset of stm32 before debug using optional RST pin on the st-link. In the keil this option just works by default, but st-utility don't use RST at all. Is that feature implemented? If not, is is possible to implement?

@xor-gate
Copy link
Member

You should use --reset this triggers a RST pin reset IIRC.

@SL-RU
Copy link
Author

SL-RU commented Sep 18, 2016

~$ sudo st-util --reset
st-util 1.2.0-119-g4209e4b ((null))
st-util: unrecognized option '--reset'
2016-09-18T23:31:36 INFO /home/lyra/prg/stlink/src/common.c: Loading device parameters....
2016-09-18T23:31:36 WARN /home/lyra/prg/stlink/src/common.c: unknown chip id! 0

Didn't work =c

@SL-RU
Copy link
Author

SL-RU commented Sep 24, 2016

Yep, that helped! Maybe it need to be included in the release by default or by arguments?

@xor-gate
Copy link
Member

I will add this behaviour in v.1.3.0 then it is the same as st-flash. Only this is available for stlink/v2 programmers.

@xor-gate
Copy link
Member

I have just merged a possible fix from PR #534. Could you test latest master?

@SL-RU
Copy link
Author

SL-RU commented Dec 30, 2016 via email

@xor-gate
Copy link
Member

xor-gate commented Dec 30, 2016

Thanks for verification, I will close this then!

@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.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants