2025-01-03 12:08 PM
Hello,
I would like to run HeartRateThreadX with Nucleo-WBA55CG, with Debug features that I can stop the code anytime from STM32CubeIDE. What I have tried(but not succeeded):
+ Change Core/Inc/app_conf.h line 231 from 2 to 0(CFG_LPM_LEVEL).
+ Disable "Debug in low power mode" from Debug Configuration -> Debugger -> Device Settings -> Debug in low power modes.
+ Tried to "Full Chip Erase" by using STM32CubeProgrammer
+ From STM32CubeMX, enable "Debug" feature with "Serial Wire".
Neither of them get rid of the failure "Target is not responding, retrying...":
STMicroelectronics ST-LINK GDB server. Version 7.9.0
Copyright (c) 2024, 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
Waiting for debugger connection...
Debugger connected
Waiting for debugger connection...
-------------------------------------------------------------------
STM32CubeProgrammer v2.18.0
-------------------------------------------------------------------
Log output file: /tmp/STM32CubeProgrammer_AbjgrY.log
libusb: warning [libusb_exit] device 4.1 still referenced
libusb: warning [libusb_exit] device 3.16 still referenced
libusb: warning [libusb_exit] device 3.61 still referenced
libusb: warning [libusb_exit] device 3.11 still referenced
libusb: warning [libusb_exit] device 3.3 still referenced
libusb: warning [libusb_exit] device 3.7 still referenced
libusb: warning [libusb_exit] device 3.2 still referenced
libusb: warning [libusb_exit] device 3.1 still referenced
libusb: warning [libusb_exit] device 2.1 still referenced
libusb: warning [libusb_exit] device 1.1 still referenced
ST-LINK SN : 003E00413133511236303739
ST-LINK FW : V3J15M7B5S1
Board : NUCLEO-WBA55CG
Voltage : 3.28V
SWD freq : 8000 KHz
Connect mode: Under Reset
Reset mode : Hardware reset
Device ID : 0x492
Revision ID : Rev B
Device name : STM32WBA52/54/55
Flash size : 1 MBytes
Device type : MCU
Device CPU : Cortex-M33
BL Version : 0xB1
Opening and parsing file: ST-LINK_GDB_server_edjzMA.srec
Memory Programming ...
File : ST-LINK_GDB_server_edjzMA.srec
Size : 224.12 KB
Address : 0x08000000
Erasing memory corresponding to segment 0:
Erasing internal memory sectors [0 28]
Download in Progress:
File download complete
Time elapsed during download operation: 00:00:01.933
Verifying ...
Download verified successfully
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Shutting down...
Exit.
Just wondering, debug feature should be basic requirement from engineering and if enable debug feature for this project is absolutely no-go. Could someone kindly help? Thanks!