cancel
Showing results for 
Search instead for 
Did you mean: 

Debugger stops at 97%

Erwan03
Associate III

Hello everyone,

 

I have recently faced a problem concerning the debugger when trying to flash F446RE board.

When i launch the debug mode, the progress bar stops at 97% and doesn't return any error message as output.

The problem did not exist before the holidays but right now it exists although i did not changed the code nor debug config.

Here is the message displayed on the console when trying to debug:

 

STMicroelectronics ST-LINK GDB server. Version 7.8.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
InitWhile : Enabled

Waiting for debugger connection...
Debugger connected
Waiting for debugger connection...
Debugger connected
Waiting for debugger connection...
-------------------------------------------------------------------
STM32CubeProgrammer v2.17.0
-------------------------------------------------------------------

 

Log output file: C:\Users\EDESFR~1\AppData\Local\Temp\STM32CubeProgrammer_a18308.log
ST-LINK SN : 0670FF343047463043232657
ST-LINK FW : V2J45M31
Board : NUCLEO-F446RE
Voltage : 3.23V
SWD freq : 125 KHz
Connect mode: Under Reset
Reset mode : Hardware reset
Device ID : 0x421
Revision ID : Rev A
Device name : STM32F446xx
Flash size : 512 KBytes
Device type : MCU
Device CPU : Cortex-M4
BL Version : 0x90

 

Memory Programming ...
Opening and parsing file: ST-LINK_GDB_server_a18308.srec
File : ST-LINK_GDB_server_a18308.srec
Size : 58.50 KB
Address : 0x08000000


Erasing memory corresponding to segment 0:
Erasing internal memory sectors [0 3]
Download in Progress:


File download complete
Time elapsed during download operation: 00:00:09.274

 

Verifying ...

 


Download verified successfully

 

 

Would appreciate if anyone had an idea...

Thanks in advance!

15 REPLIES 15

yes, i did download the last version. The problem is still here. Progress bar can finish but the debug mode is not working.

Here attached my project

Hello Erwan and thank you for the sharing.

I was not able to reproduce the behavior as I can upload your application and debug it.

Do you have another board to test?

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

Yes i have another board and i am facing the same problem no matter the board i am using.

You said that you did the same thing on the same project and it works for you?

Generated the code with CubeMx, Compiled it with CubeIDE, Flashed and Run the code.

This is a screenshot of a debug session of your project with CubeIDE:

SofLit_0-1724853984519.png

Could you please do the same manipulation on another PC?

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Erwan03
Associate III

Indeed, it seems that the problem comes from my old laptop, i changed and it works properly. Thanks!