cancel
Showing results for 
Search instead for 
Did you mean: 

External flash with IAR

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

4 REPLIES 4

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
Up vote any posts that you find helpful, it shows what's working..

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

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

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
Up vote any posts that you find helpful, it shows what's working..