Hello,I write a program with asembbly for seven segment display.When ı debugged code,it ran but ı get error when I debug again I receive' a Error in initializing ST-LINK device.
Reason: No device found on target.' this message .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-11-07 6:35 AM
How can I solve this problem.If I earse mychip maybe I can solve but I dont know how can ı do
- Labels:
-
DEBUG
-
ST-Link
-
STM32G0 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-11-07 8:29 AM
Probably because you have reconfigured the GPIOA pins used by the debugger. ie a blind write into configuration registers, breaking PA13/PA14
To erase, select "connect under reset" option for tools, or strap BOOT0 High so it doesn't run your code.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-11-07 11:06 AM
when I debug my code ,at debugger options ,reset behaviour is 'connect under reset' but it doesnt work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-11-07 11:31 AM
It won't matter what setting you have if you disconnect the pins the debugger is using while it is running.
Look critically at your code
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-11-07 12:39 PM
I understand you but in my board, boot0 pin is PA14 but I dont se on the board PA14
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-11-11 4:51 AM
Looks like the problem is solved, but in a community like this one, how you solved it is always interesting to other users.
When your question is answered, please close this topic by choosing Select as Best.
/Peter
