cancel
Showing results for 
Search instead for 
Did you mean: 

Can't debug STM32H7 image in SDRAM, but OK in internal Flash

Shivani
Senior

Hi ST Experts,

 

Iam using STM32H745XIH6 microcontroller, I am unable to debug the dual - core in my application(getting an error - "failed in final launch sequence") when the image that I am using in touchgfx is placed in sdram memory using fmc(0xC0000000).

And the dual core is running fine, when the same image is placed in the internal flash memory.

I have configured the MPU, then I - Catche and also D - Catche. I am unable to identify the problem with the dual - core, when the image is placed in sdram memory.

Thanks in advance...

Shivani E

2 REPLIES 2
LouisB
ST Employee

Hello @Shivani,

Are you using a custom board or a DK-board ? Is your project running correctly when image is on the sdram ?

BR,

Louis BOUDO
ST Software Engineer | TouchGFX

Hello @LouisB ,

 

We are using a custom board, and the project is not running correctly when images are placed on the sdram memory.

we are initializing sdram memory through FMC, and the writing and reading into the sdram memory is working fine. But when we are adding the images (to add those images in the touchgfx) in the sdram memory through linker scripts, the images are storing into the sdram memory, but unable to flash the code in dual core application.

I've also attached the section that added in the linker script and also the debug error..

Thanks in advance...