cancel
Showing results for 
Search instead for 
Did you mean: 

Touchgfx L8 Image Hard Fault Handler

Ngard.1
Associate

Hello,

I'm using a display with stm32f4 + external memory for image and font.

The project runs well using flash in mapped mode.

Now I want using flash in indirect mode because I need use part of it for storing info.

I implement serial flash datareader and relative bsp methods.

Images with ARG8888 format are loaded correctly but images with L8_ARG8888 can't be loaded.

Micro goes in fault hadler when it loads L8_ARG8888 image.

Ngard1_0-1709919971026.png

L8 image format is supported when I use serial flash datareader?

If I change format of image from L8_ARG8888 to ARG8888 images are loaded in wrong way. What is the best practise for change type?

 

Thank you

 

Nicola

 

1 ACCEPTED SOLUTION

Accepted Solutions
LouisB
ST Employee

Hello @Ngard.1 ,

For the L8 image format, the color palette as to be on the internal flash, you can change this in the designer :

LouisB_0-1710408380165.png

Change Extra Section to IntFlashSection.

If it doesnt work, try to put your L8 images to the internal flash.

I hope it helps,
Regards, 

Louis BOUDO
ST Software Developer | TouchGFX

View solution in original post

1 REPLY 1
LouisB
ST Employee

Hello @Ngard.1 ,

For the L8 image format, the color palette as to be on the internal flash, you can change this in the designer :

LouisB_0-1710408380165.png

Change Extra Section to IntFlashSection.

If it doesnt work, try to put your L8 images to the internal flash.

I hope it helps,
Regards, 

Louis BOUDO
ST Software Developer | TouchGFX