MQX K65 Linker File

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

MQX K65 Linker File

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

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

915件の閲覧回数
Mike_d
Contributor IV

Hi Daniel,

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

-Mike

0 件の賞賛
返信

915件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

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

Regards

Daniel