Linker file configuration(.ICF) to allow code execution from RAM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Linker file configuration(.ICF) to allow code execution from RAM

3,523 Views
ganeshvaka2
Contributor II

Hi,

I am using S32K142 in my design. I am implementing the bootloader using CAN communication. I could get CAN communication up and running. I would like to use the same flash bank for bootloader and application code. I want to copy the code responsible for erasing and flashing the memory to RAM so that I can erase the required sectors on the flash and program the application. 

MCU:S32K142
COMPLIER:IAR

Is there any user guide available for linker configuration (.icf) such that it creates the symbols for required sections of code and it allows to me to copy the code?? 

Note: If you have example linker configuration (.icf) file please share to us 

 Many thanks in advance.

 

Best regards,

Ganesh Babu Vaka

0 Kudos
Reply
1 Reply

3,504 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

this is a question rather for IAR, we do not support IAR directly.

But maybe this thread could be helpful:

https://community.nxp.com/t5/Kinetis-Microcontrollers/running-application-in-RAM-with-IAR/m-p/723855

Regards,

Lukas

0 Kudos
Reply