cancel
Showing results for 
Search instead for 
Did you mean: 

Debugger exit immediately

CTabo.1
Senior

Hello,

I have a problem with debugger connection.

The first time I had no problems in connecting and debugging my application, but the next times the debugger connects and exit immediately.

I have already tried to close/relaunch STM32CubeIDE, disconnect/reconnect the debug probe, clean any entry in Expressions and Live Expression tabs.

Below I have reported the output console text.

Thank you.

STMicroelectronics ST-LINK GDB server. Version 7.1.0

Copyright (c) 2022, 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

    InitWhile         : Enabled

Waiting for debugger connection...

Debugger connected

Waiting for debugger connection...

Debugger connected

Waiting for debugger connection...

   -------------------------------------------------------------------

            STM32CubeProgrammer v2.12.0          

   -------------------------------------------------------------------

Log output file:  C:\Users\ctaboni\AppData\Local\Temp\STM32CubeProgrammer_a02120.log

ST-LINK SN : 004C001D3331510F34333834

ST-LINK FW : V3J10M3B5S1

Board    : STLINK-V3SET

Voltage   : 3.28V

SWD freq  : 24000 KHz

Connect mode: Under Reset

Reset mode : Hardware reset

Device ID  : 0x460

Revision ID : Rev B

Device name : STM32G07x/STM32G08x

Flash size : 128 KBytes

Device type : MCU

Device CPU : Cortex-M0+

BL Version : 0xB2

Debug in Low Power mode enabled

Memory Programming ...

Opening and parsing file: ST-LINK_GDB_server_a02120.srec

 File     : ST-LINK_GDB_server_a02120.srec

 Size     : 5.56 KB 

 Address    : 0x08000000 

Erasing memory corresponding to segment 0:

Erasing internal memory sectors [0 2]

Download in Progress:

File download complete

Time elapsed during download operation: 00:00:00.190

Verifying ...

Download verified successfully 

Shutting down...

Exit.

1 ACCEPTED SOLUTION

Accepted Solutions
CTabo.1
Senior

Problem resolved.

I was confused passing from Code Composer to STM32Cube.

I was using a wrong toolbar command that in Code Composer wasn't present.

Thank you,

View solution in original post

2 REPLIES 2
CTabo.1
Senior

Problem resolved.

I was confused passing from Code Composer to STM32Cube.

I was using a wrong toolbar command that in Code Composer wasn't present.

Thank you,

can you tell me resolved way!please