2023-12-24 05:47 AM
I am trying to build and run attached program (link: https://shorturl.at/dkyCZ) and its not going into debug perspective nor I am seeing toggling of built-in LED (LD2).
If I comment while(1) loop, program runs on board (led turns on after some time), but if I un-comment while(1) loop, I am getting following message:
<body>
Log output file: C:\Users\prite\AppData\Local\Temp\STM32CubeProgrammer_a10252.log
ST-LINK SN : 066CFF545177504867110938
ST-LINK FW : V2J43M28
Board : NUCLEO-F411RE
Voltage : 3.25V
SWD freq : 4000 KHz
Connect mode: Under Reset
Reset mode : Hardware reset
Device ID : 0x431
Revision ID : Rev A
Device name : STM32F411xC/E
Flash size : 512 KBytes
Device type : MCU
Device CPU : Cortex-M4
BL Version : 0xD0
Memory Programming ...
Opening and parsing file: ST-LINK_GDB_server_a10252.srec
File : ST-LINK_GDB_server_a10252.srec
Size : 752.00 B
Address : 0x08000000
Erasing memory corresponding to segment 0:
Erasing internal memory sector 0
Download in Progress:
File download complete
Time elapsed during download operation: 00:00:00.348
Verifying ...
Download verified successfully
Error in executing 'cont' command ...
Target is not responding, retrying...
Target is not responding, retrying...
Shutting down...
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...
</body>
Board is connected, I tried different USB port, still same result.
Here is information of my board and IDE:
Board: Nucleo-64 (MB1136 C-04), STM32F411RE controller (https://www.st.com/en/evaluation-tools/nucleo-f411re.html)
IDE :
Version: 1.14.0
Build: 19471_20231121_1200 (UTC)
STLink V2 Driver: ST-LINK/V2-1
V2J43M28
I appreciate your time and resolution.