Skip to main content
Ngard.1
Visitor II
March 8, 2024
Solved

Touchgfx L8 Image Hard Fault Handler

  • March 8, 2024
  • 1 reply
  • 775 views

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

 

This topic has been closed for replies.
Best answer by LouisB

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, 

1 reply

LouisBBest answer
ST Employee
March 14, 2024

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,