Memory Configuration and Linker Script

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Memory Configuration and Linker Script

1,163件の閲覧回数
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 返答(返信)

1,126件の閲覧回数
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 件の賞賛
返信

1,117件の閲覧回数
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 件の賞賛
返信