Hello everyone,
We're working on IMX1176 multicore M4/M7 Mcu. And we have .o file M4 slave project. How can we link this .o file M4 slave project with our master M7 project.
Could you help me please?
Thank you.
Hi @nxf77486 ,
Thanks for your reply. But I wanna link slave and master project with only .o slave file but master project is not allow this. Master project says I will compile slave project and I will start. but we dont want this. we want to compile slave project then we want to give this compiled slave project to master project. Master project start all core with pre-compiled slave project. How can we do that.
Thanks for all.
Have a nice day
Hello,
In this case the solution we currently offer is the one I previously send, so we recommend to use this procedure and see if this works for your project. They require a compile procedure to assign the memory map between the two cores.
Hi @DanielRuvalcaba ,
Thanks for your answer and interest on subject.
We are two teams working on IMX1176. one team is working on M7 processor and the other team is working on M4 processor. we are working on M4 and we will give the other team the M4 project compiled as object file. how can the other team link this object file to their project? is there any tool to do this? Should the M7 project be opened as master before linking with the M4 project? Should the M4 project be opened as slave?
Have a nice day
Hello,
I would recommend o this case to create a project on the CM4 core as a "slave" project this can be configured on the MCUXpresso and the CM7 project as a "master" (see image attached).
Also on the MCUXpresso User Guide on the chapter 20. Multi core Projects is explain how to link this project in order to make them work.
Please let me know if you have any question.
Hi,
We have some guides like AN13264 where we show how to create a dual core application.
I’d also recommend you to take a look to these threads:
How to create multi core project with MCUXpresso IDE form scratch?
Linking additional Object Files with GNU Linker
Position-Independent Code with GCC for ARM Cortex-M
I hope this helps.
Regards,
Daniel.