2025-02-24 04:16 AM
Hi,
When I try to run the sample code for LED Toggle from external flash memory, which is provided in the STM32CubeH7RS package by ST at the link [https://github.com/STMicroelectronics/STM32CubeH7RS], I get the following error:
Break at address "0x80010e4" with no debug information available, or outside of program code.
The location of the directory in my PC is: D:\STM32CubeH7RS\Projects\NUCLEO-H7S3L8\Examples\GPIO\GPIO_IOToggle
I followed the steps mentioned in the below **README file**
However, I can load & debug the program to the external flash using the method shown in this video: [https://www.youtube.com/watch?v=sPiFBzvCWfI&t=1422s]
**My question:** Why is the sample code provided by ST not running from external flash? Is there any additional configuration required?
**System Information:**
-- Board: NUCLEO-H7S3L8
-- STM32CubeIDE: Version 1.17.0 (Build: 23558_20241155_2245)
-- STM32CubeMX: Version 6.13.0-RC5 (Build: 20241122-0809)
Any guidance would be greatly appreciated!
Thanks!
Solved! Go to Solution.
2025-02-24 05:25 AM
Hello @Sajidaap and welcome to the community,
Please make sure that XSPI2-HSLV is "Checked".
Could you try to use the STM32CubeProgrammer to check the value of XSPI2-HSLV option byte.
Please let me know if the issue is solved or not.
Thank you for your contribution.
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-02-24 05:25 AM
Hello @Sajidaap and welcome to the community,
Please make sure that XSPI2-HSLV is "Checked".
Could you try to use the STM32CubeProgrammer to check the value of XSPI2-HSLV option byte.
Please let me know if the issue is solved or not.
Thank you for your contribution.
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-02-24 06:00 AM
Dear @KDJEM.1,
Thank you for your prompt response.
I have not enabled these settings yet. Before proceeding, I would like to understand the necessary precautions, as I am aware that incorrect configuration might risk damaging the MCU.
Currently, my NUCLEO-H7S3L8 board is powered via a USB-C cable, and the jumper is set to 3.3V.
Thanks,
Sajid
2025-02-24 07:18 AM
Hello @Sajidaap,
The HSLV is only activated when VDD ≤ 2.7 V. This feature shouldn’t be used at a voltage higher than 2.7 V, it can lead to unexpected behavior.
The I/O HSLV configuration bit must not be set if the I/O supply (VDD) is above 2.7 V. Setting it while the voltage is higher than 2.7 V can damage the device.
As mentioned in the readme file for GPIO_IOToggle, XSPI2_HSLV=1 I/O XSPIM_P2 High speed option enabled.
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-02-24 11:40 AM
Hello @KDJEM.1,
Thanks! It’s working perfectly now