cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE issue initializing Debugging

RMack.1
Associate II

I have been having this issue reoccuring and has only started in the past month. I have upgrade and downgraded versions (currently back at 1.12.0) with hopes to fix it and while it goes away for a bit and I am able to work with the live debugging for a bit it always returns.

The two behaviours are giving me an error with the register 0 or the following:

"Board    : STLINK-V3SET

Voltage   : 3.28V

SWD freq  : 8000 KHz

Connect mode: Under Reset

Reset mode : Hardware reset

Device ID  : 0x450

Revision ID : Rev V

Device name : STM32H7xx

Flash size : 2 MBytes

Device type : MCU

Device CPU : Cortex-M7

BL Version : 0x90

Memory Programming ...

Opening and parsing file: ST-LINK_GDB_server_a07300.srec

 File     : ST-LINK_GDB_server_a07300.srec

 Size     : 110.96 KB 

 Address    : 0x08020000 

Erasing memory corresponding to segment 0:

Erasing internal memory sector 1

Download in Progress:

File download complete

Time elapsed during download operation: 00:00:01.236

Verifying ...

Download verified successfully 

Shutting down...

Exit."

I usually can get this issue to go away after playing around with the Debug Configurations, but so far nothing reproducible.

3 REPLIES 3
Rim LANDOLSI
ST Employee

Hello @RMack.1​ ,

At first, let me thank you for reporting this issue.

Are you using the right debug buttom and not the run buttom. Because, everything is downloaded successfully.

0693W00000aInnlQAC.png 

Thanks,

Rim

Yes I am sure I am selecting the "Debug"

So far I am able to resolve this issue by comparing the ".launch" files for a previously working file but I am still not sure why it would be changing this file's settings. The alternative error it has been getting is:

"Failed to assign value 80224ed, to register 0

Failed to assign value 240375f8, to register 0

Failed to assign value 2407fff8, to register 0

Failed to assign value 803f332, to register 0"

It seems to happen after a crash of the IDE but still seems to be altering the launch settings for the debugging.

Rim LANDOLSI
ST Employee

Hello @RMack.1​ ,

Could you, please, provide :

  • CubeIDE version that you have upgraded from
  • Microcontroller
  • Debug configuration
  • Live debugging window used for this example

It would be, also, helpful to provide the whole projects you are working on .