cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE 1.18.1: Debug a simple program on Nucleo-H563ZI

gh_rcl
Associate II

Hi,

I try to debug a very simple program on a nucleo H563-ZI dev board.

When i try to run the debugger, the program is well loaded into the flash.

The debug session window displays the code below:

 

Reset_Handler:

ldr r0, =_estack

mov sp, r0 /* set stack pointer */

/* Call the clock system initialization function.*/

bl SystemInit

 

When i try to start the debug (step by step, or by clicking to the "play" button), it loops

on Reset_Handler.

 

If i press the stop button, the program starts and the led blinks.

 

gh_rcl_0-1744985720410.png

I was wondering if someone had already seen such a behaviour.
Is the ST-LINK GDB server is well supported ?

Thanks in advance

 

 

 

1 REPLY 1
AScha.3
Chief III

Hi,

>I was wondering if someone had already seen such a behaviour.

not me.

But i always use connect : software reset - try it.

And you didnt change anything in debug/run settings ?

here:

AScha3_0-1744986859030.png

 

If you feel a post has answered your question, please click "Accept as Solution".