2021-09-16 06:09 AM
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
2021-09-16 06:48 AM
Does your code reassign SWD pins? Do you go into low-power modes? Avoid doing those if you want to debug normally.
2021-09-16 06:50 AM
2021-09-16 06:57 AM
2021-09-16 06:59 AM
2021-09-16 09:03 AM
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?