debuggingopenocd

can't debug my board (stm32f103) bluebill with atolic(trueStudio)?


I can't debug my stm32 bluebill board on trueStudio and getting this console error log so can't one help with this error?

STMicroelectronics ST-LINK GDB server. Version 5.1.0
Copyright (c) 2018, STMicroelectronics. All rights reserved.

Starting a server with the following options:
        Persistent Mode            : Disabled
        Logging Level              : 1
        Listen Port Number         : 61234
        Status Refresh Delay       : 15s
        Verbose Mode               : Disabled
        SWD Debug                  : Enabled

Waiting for debugger connection...
Debugger connected
Debugger connection lost.
Shutting down...

Solution

  • the issue here was with the shared resource between the debugger peripheral pin and application pin that disables the peripheral on load so we need to reset all memory map and reset whole registers then debug free and solve the application issue with the debug peripheral pin