cancel
Showing results for 
Search instead for 
Did you mean: 

Issue Running STM32CubeH7RS LED Toggle Example from External Flash

Sajidaap
Visitor

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.

Debug Error.png

 

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**

 

Readme.png

 

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!

 

markdown
CopyEdit
 
 

 

 

 

 

 

 

3 REPLIES 3
KDJEM.1
ST Employee

Hello @Sajidaap and welcome to the community,

 

 Please make sure that XSPI2-HSLV is "Checked".

KDJEM1_2-1740403528289.png

 

Could you try to use the STM32CubeProgrammer to check the value of XSPI2-HSLV option byte.

KDJEM1_0-1740403448590.png

 

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.

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

KDJEM.1
ST Employee

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.

KDJEM1_0-1740410294741.png

 

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.