cancel
Showing results for 
Search instead for 
Did you mean: 

Download verified successfully Debugger connection lost. Shutting down...

VLadd.1
Associate II

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 v2.8.0          

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

ST-LINK SN : 0670FF555457888367025925

ST-LINK FW : V2J38M27

Board    : NUCLEO-F429ZI

Voltage   : 3.24V

SWD freq  : 4000 KHz

Connect mode: Under Reset

Reset mode : Hardware reset

Device ID  : 0x419

Revision ID : --

Device name : STM32F42xxx/F43xxx

Flash size : 2 MBytes

Device type : MCU

Device CPU : Cortex-M4

BL Version : 0x__

Mass erase ... 

Mass erase successfully achieved

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

            STM32CubeProgrammer v2.8.0          

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

ST-LINK SN : 0670FF555457888367025925

ST-LINK FW : V2J38M27

Board    : NUCLEO-F429ZI

Voltage   : 3.25V

SWD freq  : 4000 KHz

Connect mode: Under Reset

Reset mode : Hardware reset

Device ID  : 0x419

Revision ID : --

Device name : STM32F42xxx/F43xxx

Flash size : 2 MBytes

Device type : MCU

Device CPU : Cortex-M4

BL Version : 0x__

Memory Programming ...

Opening and parsing file: ST-LINK_GDB_server_a03956.srec

 File     : ST-LINK_GDB_server_a03956.srec

 Size     : 79156 Bytes

 Address    : 0x08000000 

Erasing memory corresponding to segment 0:

Erasing internal memory sectors [0 4]

Download in Progress:

File download complete

Time elapsed during download operation: 00:00:02.342

5 REPLIES 5
TDK
Guru

Does your code reassign SWD pins? Do you go into low-power modes? Avoid doing those if you want to debug normally.

If you feel a post has answered your question, please click "Accept as Solution".
I am not sure of how to check if it does…
Do you know what the code does or is it a black box?
If you feel a post has answered your question, please click "Accept as Solution".
Where in code am I supposed to be seeing this? Main.c?

It could be anywhere in your code, perhaps BSP or MSP files configuring pins?

Where did the code come from? Did CubeMX generate it? Did you select or miss an option related to enabling/disabling debug connectivity?

Does the code put the processor into a low power or sleep mode? WFI instructions anywhere?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..