Skip to main content
Visitor II
November 7, 2020
Question

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 .

  • November 7, 2020
  • 3 replies
  • 1142 views

How can I solve this problem.If I earse mychip maybe I can solve but I dont know how can ı do

    This topic has been closed for replies.

    3 replies

    Graduate II
    November 7, 2020

    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.

    Ocebe.1Author
    Visitor II
    November 7, 2020

    when I debug my code ,at debugger options ,reset behaviour is 'connect under reset' but it doesnt work

    Graduate II
    November 7, 2020

    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

    Ocebe.1Author
    Visitor II
    November 7, 2020

    I understand you but in my board, boot0 pin is PA14 but I dont se on the board PA14

    Technical Moderator
    November 11, 2020

    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