cancel
Showing results for 
Search instead for 
Did you mean: 

How to compile for devided using of MCU RAM and external memory

shinjinoji
Associate II
Posted on December 06, 2013 at 05:35

Our team is applying MCU STM32F207 to 800x480 touch LCD. We have connected external flash memories both NAND and NOR to our board for huge image data. We want to use MCU RAM for program codes and external memories for the image data.

Can we get the information about how to compile with IAR EWARM compiler for this?

Thanks and Regards

Shin-Young Kwon

</p>

</span>

#external-memory
2 REPLIES 2
francescatodiego
Associate II
Posted on December 06, 2013 at 09:59

for

information

on how to configure

the .icf file you can read the template included in ST standard library package

(I have the STM32F4 library I don't know the STM32F2 serie but I think you can found  the template also for  this micro)

The readme file included in template directory say:

 

 - project .ewd/.eww/.ewp: A pre-configured project file with the provided library

 

                           structure that produces an executable image with IAR

 

                           Embedded Workbench.

 

                

 

 - stm32f4xx_flash.icf : This file is the IAR Linker configuration file used to

 

                         place program code (readonly) in internal FLASH and data

 

                         (readwrite, Stack and Heap)in internal SRAM.

 

                         You can customize this file to your need.                                                                                

 

 

 - stm32f4xx_flash_extsram.icf: This file is the IAR Linker configuration file

 

                                used to place program code (readonly) in internal

 

                                FLASH and data (readwrite, Stack and Heap)in

 

                                external SRAM. You can customize this file to your need.  

 

 

 

 - stm32f4xx_flash_extsdram.icf: This file is the IAR Linker configuration file

 

                                 used to place program code (readonly) in internal

 

                                 FLASH and data (readwrite, Stack and Heap)in

 

                                 external SDRAM. You can customize this file to your need.  

 

                                                              

 

 - stm32f4xx_ram.icf:  This file is the IAR Linker configuration file used to

 

                       place program code (readonly) and data (readwrite, Stack

 

                       and Heap)in internal SRAM.

 

                       You can customize this file to your need.                    

 

shinjinoji
Associate II
Posted on December 09, 2013 at 01:26

Thank you so much for your help. We will try to find that template!