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
K65P169M180SF5RMV2.pdf
Regards,
-Mike
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
Hi Daniel,
What about the rom size? Seems to be short by 1MB.
-Mike
Yes, you are right, the rom size can be set to 0x001FFBF0.
Regards
Daniel