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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

3,538 次查看
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 项奖励
回复
1 回复

3,519 次查看
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 项奖励
回复