Skip to main content
moredatalesscenter
Associate III
March 14, 2021
Question

External flash with IAR

  • March 14, 2021
  • 4 replies
  • 2178 views

Are there any examples how to move images to external flash using IAR? All the examples seem to be using STM32IDE .ld linker files.

This topic has been closed for replies.

4 replies

Tesla DeLorean
Guru
March 14, 2021

Look at the .ICF files, look at other examples and documentation.

STM32Cube_FW_H7_V1.5.0\Projects\STM32H743I-EVAL\Examples\QSPI\QSPI_ExecuteInPlace\EWARM\stm32h743xx_flash.icf

STM32Cube_FW_H7_V1.5.0\Projects\STM32H743I-EVAL\Applications\ExtMem_CodeExecution\ExtMem_Application\FreeRTOS\EWARM\QSPIflash_ExtrenalSDRAM.icf

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
moredatalesscenter
Associate III
March 16, 2021

Thanks, I have it working now, using non-addressable external flash and bitmap cache.

moredatalesscenter
Associate III
March 16, 2021

More of a general question now @Community member​ :-

Looking at forum posts related to external flash and the documentation, the focus in on reading the images / fonts / text data via a file system, rather than directly via addressable flash or non-addressable flash with a loader. Is it possible either way?

https://support.touchgfx.com/docs/development/ui-development/touchgfx-engine-features/using-binary-fonts

https://support.touchgfx.com/docs/development/ui-development/touchgfx-engine-features/font-cache

https://support.touchgfx.com/docs/development/ui-development/touchgfx-engine-features/using-binary-translations

Tesla DeLorean
Guru
March 16, 2021

Binary fonts want you to point at a mapped address (ie somewhere in the MCU's 4G addressable space), this could either be a QSPI address, Internal Flash, or a RAM address where you've pulled the data from a "file" or other non-mapped resource

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..