MQX K65 Linker File

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

MQX K65 Linker File

1,081 次查看
Mike_d
Contributor IV

Hello,

I was looking at the K65 linker file that MQX 4.2 uses and was wondering if the rom entry and cfmprotrom have the correct parameters.  Should it be like this instead?

cfmprotrom (R): ORIGIN = 0x00000400, LENGTH = 0x00000010
rom (RX): ORIGIN = 0x00000410, LENGTH = 0x001FFBF0 /* Code + Const data */

The part on the board is a MK65FN2M0VMI18.

C:\Freescale\Freescale_MQX_4_2\mqx\source\bsp\twrk65f180m\gcc_cw\intflash.ld
pastedImage_2.png

K65P169M180SF5RMV2.pdf

pastedImage_3.png

Regards,

-Mike

0 项奖励
回复
3 回复数

916 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi Mike

I think 'cfmprotrom (R): ORIGIN = 0x00000400, LENGTH = 0x00000010' is also OK, it is enough to hold the 16-byte flash configuration field . You can edit this file according to your requirement.

Regards

Daniel

0 项奖励
回复

916 次查看
Mike_d
Contributor IV

Hi Daniel,

What about the rom size?  Seems to be short by 1MB.

-Mike

0 项奖励
回复

916 次查看
danielchen
NXP TechSupport
NXP TechSupport

Yes, you are right, the rom size can be set to 0x001FFBF0.

Regards

Daniel