2025-11-06 12:26 AM
Hello!
As the title suggests, the demonstration program is generated from the options shown in the following figure.
After the program is burned onto the board, it won't run. It enters the debug mode and stops at the "SystemInit" point. After clicking continuously several times, it will then enter the "main" section.
Any help would be appreciated as I am losing hair over this haha.
Solved! Go to Solution.
2025-11-07 1:31 AM
Hello @BJX
Please try to modify the Limit address field first then the base address
THX
Ghofrane
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.
2025-11-06 5:17 AM
Hello @BJX
Make sure you are using the latest version of STM32CubeMX (version 6.15.0 ).
Additionally, configure STM32CubeIDE so that the debugger starts at the main function instead of stopping at SystemInit. To do this, open your project's debug configuration in STM32CubeIDE, navigate to the Startup tab, and enable the option labeled "Set breakpoint at main". This will ensure the debugger automatically halts at the beginning of your main application code
THX
Ghofrane
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.
2025-11-06 5:47 PM
Hello.@Ghofrane
I am using version 6.15, but the IDE is Keil.
Keil also selected the relevant options, but it had no effect.
I used the MCU option of Cubemx to create a simple LED blinking project for H563ZI, and there were no issues at all.
I'm not sure where the problem lies with the demonstration program. Thank you for your response.
2025-11-06 11:15 PM
Hello @BJX
Could you please attach your project? I will review your settings to ensure everything is configured correctly.
THX
Ghofrane
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.
2025-11-06 11:18 PM
2025-11-07 1:09 AM
Hello @Ghofrane GSOURI
Now there is a new issue. When using the 6.15 version of cubemx to generate the MPU configuration for h563, the Region Base Address option cannot be modified. No matter what value I input, it always ends up being 0. Is this a bug?
THX
BJX
2025-11-07 1:31 AM
Hello @BJX
Please try to modify the Limit address field first then the base address
THX
Ghofrane
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.
2025-11-07 1:59 AM
Hello @Ghofrane GSOURI
Thank you. It's solved. I misunderstood the restricted address as the size, and confused it with h7. Additionally, have you received any messages regarding the demonstration program?
THX
BJX
2025-11-07 2:11 AM
Hello @BJX
I will update you as soon as I have more information.
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.