cancel
Showing results for 
Search instead for 
Did you mean: 

Infos about dual QSPI and graphic assets upgrade

MPast.1
Senior II

Hi Everybody,

 I need some infos about graphic assets upgrade while main APP and TouchGFX is running.

I have a customer board composed by STM32H743xxx , 2 QSPI and obiously a parallel RGB LCD screen  managed by LTDC.

The scope is to update the main APP and the graphic assets by a simple bootloader: while main APP is running I will receive new data and I will save them into the secondary QSPI memory.

QSPI memory are connected in dual mode with separated lines (both for signals and for CS).

in this way, in your opinion, Can the system access to the secondary memory (in writing mode) without disturb the graphic application?

If I'm not wrong I only need to change the linker script from:

 

 

QUADSPI (rx) : ORIGIN = 0x90000000, LENGTH = 16M

ExtFlashSection :
{
*(ExtFlashSection ExtFlashSection.*)
*(.gnu.linkonce.r.*)
. = ALIGN(0x4);
} >QUADSPI

FontFlashSection :
{
*(FontFlashSection FontFlashSection.*)
*(.gnu.linkonce.r.*)
. = ALIGN(0x4);
} >QUADSPI


TextFlashSection :
{
*(TextFlashSection TextFlashSection.*)
*(.gnu.linkonce.
. = ALIGN(0x4);
} >QUADSPI

 

 

to:

 

 

QUADSPI2 (rx) : ORIGIN = 0x90FA0000, LENGTH = 16M

 

 

In this way, the main APP can access to the secondary memory and store the new contents without intercat with LTDC.

When everything is transferred on the 2nd memory, I can copy the new data into the main QSPI memory and after a reboot Everything should works with new graphic assets..Is it right?

Does I need to change something else?

I need to stop Touchgfx task or LTDC int he main APP, while I will write in the second memory?

Are there others particular hints to apply.

Thanks a lot for your support and suggestions.

MarcoP.

0 REPLIES 0