Hello,
We are trying to create an RT1176 multi-core application where both cores execute code directly from flash (XiP), at least during the image startup phase. According to the RT1170 refman, the M4 should access the flash through the shadow address window 0x0800_0000 - 0x17FF_FFFF in order to take advantage of the M4 ICACHE (NXP proprietary). To achieve this, I have to link the M4 image (LMA) to the mirror address. If I do that and start a debug session from the IDE then j-link seems not to be able to flash the image.
To illustrate the problem, I tried to program the .hex file using JFlash.exe and get an error message:
"Selected Data (0x8100000 - 0x8100715) does not fit into selected flash sectors. Relocating it..."
regardless whether I select MIMXRT1176XXXA_M4 or MIMXRT1176XXXA_M7.
How can I load and debug an M4 image that's linked to the 0x0800_0000 address range?
I'm working with the NXP eval board MIMXRT1170-EVK.
Thanks
Udo
We are trying to create an RT1176 multi-core application where both cores execute code directly from flash (XiP), at least during the image startup phase. According to the RT1170 refman, the M4 should access the flash through the shadow address window 0x0800_0000 - 0x17FF_FFFF in order to take advantage of the M4 ICACHE (NXP proprietary). To achieve this, I have to link the M4 image (LMA) to the mirror address. If I do that and start a debug session from the IDE then j-link seems not to be able to flash the image.
To illustrate the problem, I tried to program the .hex file using JFlash.exe and get an error message:
"Selected Data (0x8100000 - 0x8100715) does not fit into selected flash sectors. Relocating it..."
regardless whether I select MIMXRT1176XXXA_M4 or MIMXRT1176XXXA_M7.
How can I load and debug an M4 image that's linked to the 0x0800_0000 address range?
I'm working with the NXP eval board MIMXRT1170-EVK.
Thanks
Udo