2025-08-27 9:39 PM
Hello,
I am working with the STM32H7S78-DK board and I want to toggle the LEDs LD1 (PO1) and LD2 (PO5).
I followed the instructions from this GitHub resource:
and this YouTube video:
https://www.youtube.com/watch?v=sPiFBzvCWfI&t=945s
However, when I try to flash my program into the development board, I get this error:
I am not able to program the board because of this.
:right_arrow: Can anyone guide me on how to solve this flashing issue?
:right_arrow: Do I need to configure something specific in STM32CubeIDE or CubeProgrammer for STM32H7S78-DK?
2025-09-10 1:30 AM - edited 2025-09-10 1:50 AM
Hello @Berlin-raj123 ;
I tested GPIO_IOToggle example with STM32CubeIDE1.19.0 version and it works correctly without issue, I can see LEDs blinking.
Thank you.
Kaouthar
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-09-10 6:08 AM
2025-09-11 10:34 AM - edited 2025-09-11 10:37 AM
Hello @Berlin-raj123 ;
You can find the Boot_XIP.hex file under the STM32CubeH7RS path "STM32Cube\Repository\STM32Cube_FW_H7RS_V1.2.0\Projects\STM32H7S78-DK\Templates\Template_XIP\Binary"
Thank you.
Kaouthar
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-09-12 10:48 PM
Hello @KDJEM.1
Thanks for your help! Everything is working well based on your example. I also tried the GPIO toggle with my own program, and it’s working fine. However, I have not enabled the Boot Project and ExtMemLoader Project.
Can you explain why we don’t need these two projects in this case? When should we use the Boot Project and ExtMemLoader Project?
Also, why did the tutorial suggest enabling the Boot Project and ExtMemLoader Project?
Here is the tutorial link I am referring to:
https://github.com/ST-TOMAS-Workshop/stm32h7s_workshop/blob/main/1_external_memory/handson/1_extmem_intro.md
2025-09-15 12:34 AM
Hello @Berlin-raj123 ,
Glad to know that the initial issue is solved. To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue.
The project structure of a BootFlash application is divided into three different contexts:
For more information about the ST32CubeH7RS project structure, I recommend you to look at Getting started with External memory Manager and External memory loader - stm32mcu and Getting started with STM32CubeH7RS for STM32H7Sx/7Rx MCUs - User manual
If you have more question, I advise you to create a new post.
Thank you.
Kaouthar
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.