MQX on M4 of Vybrid VF61 - how to code linker icf file

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MQX on M4 of Vybrid VF61 - how to code linker icf file

1,257 Views
kwerder
Contributor I

Trying to run MQX 4.2 on the M4 core of a VF61 module from Toradex, with no success.

Using IAR Embedded Workbench 7.70.2 and its compiler.

This uses the .icf files to tell the linker (iLink) where to place things in memory.

I have run FreeRtos on this core OK, using Toradex examples.

FreeRtos uses .LD files because the GCC compiler is in use.

I have tried to mimic what the .LD file does in the .icf file, but I think I have not done it right.

Maybe a complicating factor is that MQX memory is divided in two,

and the code to run at boot must be in the upper half.

I am using the RemoteProc method to get the A core to start the M core.

Does anyone have an example .icf file that can do this?

Labels (2)
0 Kudos
Reply
1 Reply

1,225 Views
kef2
Senior Contributor V

MQX supported VF61 autoevb, did you just search in MQX files. v4.1 had it here:

Freescale_MQX_4_1\mqx\source\bsp\vybrid_autoevb_m4\iar\ram.icf"