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!

1 ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

15 REPLIES 15
SofLit
ST Employee

Hello,

But you have this trace:

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

 

Verifying ...

 


Download verified successfully

-> downlaold complete and verification complete.

Is the application is completely (physically) uploaded onto the flash?

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.

Hello SofLit and thank you for helping me again.

Actually, when i look at the memory window, all the addresses are filled with '?' characters. The flash memory should not be flashed then...

Are you sure you have the trace I mentioned in blue above with the behavior you are seeing?

Which CubeProgrammer version are you using? 

If possible to send me the hex file in private so I can do the test from my side.

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.

I am sure i have the  trace the lines you mentionned in blue on the console window.

The version of the STM32CubeIDE is 1.14.1. Is it what you need?

Are you using CubeProgrammer or CubeIDE to upload the application?

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.

Could you please use the latest version of CubeIDE: V1.16.0?

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.

I am using CubeIDE

Here is the message when looking for an update:

Erwan03_0-1724835097118.png

 

Could you please uninstall CubeIDE and install the latest version?

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.