Fails to start debugging session

Discussions concerning TrueSTUDIO for STM32 9.0.0 and later versions.

Moderators: Markus Girdland, Mattias Norlander

marbel
Posts: 6
Joined: Wed Feb 21, 2018 8:50 am

Fails to start debugging session

Postby marbel » Thu Oct 25, 2018 8:06 am

With atollic 9.1.0 i quite often get the following result when i try to start a session.

Any clues?

// Martin

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

Starting 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
-------------------------------------------------------------------
STM32CubeProgrammer v1.2.1
-------------------------------------------------------------------



Log output file: C:\Users\BEL~1.LUN\AppData\Local\Temp\STM32CubeProgrammer_a06952.log
ST-LINK SN : 36FF6D064D59303623321643
ST-LINK FW : V2J31S7
Voltage : 3.22V
Error: ST-LINK error (DEV_TARGET_CMD_ERR)
Warning: unknown or unsupported device
Error: Device not supported
Error: flash loader cannot be loaded. FlashLoaderPath = C:/Program Files (x86)/Atollic/TrueSTUDIO for STM32 9.1.0/Servers/STM32CubeProgrammer/bin/FlashLoader/0x0.stldr
Error: Connection to target must be established before performing the write command.
Encountered Error when opening ..\STM32CubeProgrammer\bin\STM32_Programmer_CLI.exe
Target unknown error 19

Error in initializing ST-LINK device.
Reason: Unknown. Please check power and cabling to target.
Failed to restart ST-LINK connection
Error in STM32CubeProgrammer

Markus Girdland
Posts: 149
Joined: Thu May 11, 2017 11:27 am

Re: Fails to start debugging session

Postby Markus Girdland » Thu Oct 25, 2018 12:09 pm

Hello Martin,

We've had some reports from other users with similar errors. Not exactly that one, though.
Could you please enable gdb traces (Window -> Preferences -> C/C++ -> Debug -> gdb), start a new debug session and send the log to support@atollic.com ?

Thanks in advance!

bhinder
Posts: 1
Joined: Wed Jun 12, 2019 8:31 am

Re: Fails to start debugging session

Postby bhinder » Wed Jun 12, 2019 8:33 am

hi,
I am getting the same error as above. could you please post the answer for above question please?
BR,
Bhinder


Return to “TrueSTUDIO for STM32 discussions”

Who is online

Users browsing this forum: No registered users and 2 guests