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-LinkV2 nRESET pin #8

Closed
siorpaes opened this issue Jan 14, 2016 · 5 comments
Closed

ST-LinkV2 nRESET pin #8

siorpaes opened this issue Jan 14, 2016 · 5 comments

Comments

@siorpaes
Copy link

Hello,

I tried CMSIS-DAP on ST-LinkV2 dongle using Keil but found some issues with nRESET signal: the target could not reset nor I could use the "attach under reset" debugger option. The logic analyzer could not see any activity on this signal either.
I checked where the nRESET pin is connected on this board and sorted out that it is hooked to PB6 (Pin 42), and not PB0 as reported in the code.

I changed to correct pin and now it's working like a charm. Is the dongle I have yet a different hardware version ? Or is there actually a minor bug in the code ?

Thanks for your attention

Regards,

David S.

@x893
Copy link
Owner

x893 commented Jan 14, 2016

Hello,
I have various version of dongle - so may be make a mistake.
I'll review and fix

Thanks
David

@x893 x893 closed this as completed Jan 14, 2016
@siorpaes
Copy link
Author

All right, thanks! let me know if you need any further information, esp on the dongle's hardware

@x893
Copy link
Owner

x893 commented Jan 16, 2016

I check ST-Link V2 schematic (from NUCLEO board) and see PB0 for T_NRST signal. PB6 used for SWM_RST (for SWIM protocol)

@siorpaes
Copy link
Author

Yes, you are correct: the schematic of Nucleo and Discovery boards do have NRST routed to PB0. However, the RST signal of the ST-LinkV2 dongle I have is connected to PB6. I triple checked continuity with multimeter. Could you verify on yours ?

st-linkv2

@x893
Copy link
Owner

x893 commented Jan 17, 2016

I havn't V2 version but you can make new configuration STLINKV2 and make changes for nRST. Later send pull request. I can do this myself but later. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants