Skip to main content
gh_rcl
Associate II
April 18, 2025
Question

STM32CubeIDE 1.18.1: Debug a simple program on Nucleo-H563ZI

  • April 18, 2025
  • 2 replies
  • 418 views

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

 

 

 

2 replies

AScha.3
Super User
April 18, 2025

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""."
gh_rcl
gh_rclAuthor
Associate II
April 23, 2025

Thanks for your feedback.

After upgrading STM32CubeIDE and CubeMX it is better at a first glance.