Memory Configuration and Linker Script

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

Memory Configuration and Linker Script

793 次查看
KAVIN_M
Contributor II

I'm working on the iMXRT1176 using MCUXpresso IDE, need to add 2 new parts with existing Board Flash.
For example, Memory A (0x30000000), Board Flash (0x30040000), Memory C (0x30080000) it is done within the MCU settings (properties).

Question:
     Now My code's text section needs to map to Board Flash. How to do it?

0 项奖励
回复
2 回复数

756 次查看
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @KAVIN_M ,

Thanks for your interest in NXP MIMXRT series!

We recommend you to check this post first, he will help you in your application scenario: https://mcuoneclipse.com/2021/05/26/placing-code-in-sections-with-managed-gnu-linker-scripts/

Best regards,
Gavin

0 项奖励
回复

747 次查看
KAVIN_M
Contributor II

Hi @Gavin_Jia 
Thanks for your response

I read it and shifted my section from Flash 1 to Flash 2 (refer the img).
But in debug.ld still the content in the Flash 1 remains the same. Then the %age used in clear
Is it ok to accept this as correct change ?

KAVIN_M_0-1739355618317.png

KAVIN_M_1-1739355669644.png

 

 

标记 (1)
0 项奖励
回复