cancel
Showing results for 
Search instead for 
Did you mean: 

Debug issue in STM32H7S78-DK when I have added external memory segments in the linker files.

Shivani
Senior

Hi,

I am using STM32H7S78-DK Board, as size of the internal Flash and Internal Ram memories are very less, I have added external flash memory and the address in the linker file of the Application mode. I also enabled XSPI2 and External Memory Manager (STM32CubeMX) in the Boot Mode. And LTDC, Touchgfx in the Application Mode. And the data that I am storing in the Linker file was fine (By adding the segments in the linker files, the data overflowed errors were cleared). But the issue is that the debug is not successful.

I'm attaching the project which I've done and also the screenshot of the Debug error which I was getting while debugging. Please kindly go through the linker files in the Boot and Application Modes and also the Initialisation part of the peripherals. And please guide me what changes needs to do to store my images that I've taken in the Touchgfx Designer in the external flash and to display the image in the STM32H7S78-DK.

Thank you...

2 REPLIES 2
Pavel A.
Evangelist III

Have you reviewed the ST examples made specially for STM32H7S with external flash?

 

GaetanGodart
ST Employee

Hello @Shivani ,

 

What is the process you use when flashing your board?
When you get to that breakpoint, can you press on the button to reset your board and relaunch the debug :

GaetanGodart_0-1731425802972.png

 

You can look at our TBS (TouchGFX Board Setup) to see how we managed the external memory on the STM32H7S7-DK.

Also, you can have a loot at our external flash guide .

 

I hope this helps! :smiling_face_with_smiling_eyes:
If this comment or another one answers your question, I invite you to select it as "best answer".

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)