Skip to main content
Zlian.1
Associate II
May 28, 2021
Question

How to realize touchgfx display in stm32l4r9 using OSPI memory mapping mode?

  • May 28, 2021
  • 0 replies
  • 448 views
  1. The flash loader has been successfully made.
  2. The OSPI memory mapping mode has been verified successfully.

Question:

When touchgfx designer selects extflash, the screen is black, and it is normal to switch to intflash。。。。

I feel incredible,can't find out the cause of the problem:tired_face:

Do I need to modify any files of touchgfx?

***.sct​:

LR_IROM1 0x08000000 0x00200000 {  ; load region size_region

 ER_IROM1 0x08000000 0x00200000 { ; load address = execution address

  *.o (RESET, +First)

  *(InRoot$$Sections)

  .ANY (+RO)

 }

 RW_IRAM1 0x20000000 0x00040000 { ; RW data

  .ANY (+RW +ZI)

 }

 RW_FRAMEBUFFER 0x20040000 UNINIT 0x00060000 { ; RW data framebuffer

  ; Allocating region to framebuffer

 }  

}

LR_EROM1 0x90000000 0x4000000 {  ; load region size_region

 ER_EROM1 0x90000000 0x4000000 { ; load address = execution address

  *.o (ExtFlashSection)

  *.o (TextFlashSection)

  *.o (FontFlashSection)

 }

}

This topic has been closed for replies.