iMXRT1176 Linker Script issue

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

iMXRT1176 Linker Script issue

846 次查看
KAVIN_M
Contributor II

I have modified the Linker, with MCU Settings just Board_flash start address as 30040000
While doing this, below line of code went missing

KAVIN_M_0-1739769966074.png


When I debug the code, it not coming to main ().
Please guide me in this issue.

0 项奖励
回复
2 回复数

835 次查看
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @KAVIN_M ,

Thanks for your interest in NXP MIMXRT series!

Please refer to this document, which mentions, MCUXpresso's link script generation mechanism:

Gavin_Jia_0-1739779364905.png

Therefore, this is an expected issue.

For your application scenario, we suggest you to verify the default flash start address first, and after verification, you can burn image in serial download mode by "MCUXpresso Secure Provisioning Tool".

Gavin_Jia_1-1739779514824.pngGavin_Jia_2-1739779533157.png

 

 

Best regards,
Gavin

 

0 项奖励
回复

807 次查看
KAVIN_M
Contributor II

Hi @Gavin_Jia 
Thanks For your response,
What is the next step after building the image?

Also, Here I have attached my linker file, which is not part the abovementioned process. This (refer image) is what happens when I debug. Modified the memory address in MCU Settings and unchecked the Mange linker script option and added boot_hdr part manually. 
Please check why it is not coming to the main function

KAVIN_M_0-1739853590505.png

 

Regards
Kavin.

0 项奖励
回复