Hello, All
I am looking for basic information about working on dual core project, I see some examples, but cannot figure out following:
1. how to set two core projects as master and slave project, how to make them link to each other?
2. Why some cm4 example project are configured as "Link application to RAM" in Managed Link Script properties? where the cm4 image should be kept after compiling normally? can it use flash?
I am new to dual core.
Thank you!
Ping
Hello
I hope you are well.
1. In MCUXpresso, in the option you can create a project for different core:
In the next window, you can link an slave project:
Another option is using the existing multicore project as base and start your application from them.
2. They are placed in RAM, specifically in the shared RAM space. More details are in this application note: i.MX RT1170 Dual Core Application (nxp.com)
Best regards,
Omar
Hi, Omar
Thanks for reply.
1. is it possible to modify project setting to become linked project after it is created? I tried to create two projects, but not running.
2. Thanks for the document, so, the slave image has to run from RAM, is it merged together with the master one after compiling? and they all stay in flash before running?
Regards!
Ping
1. Yes, in the multicore settings of MCULinker. You can base on the multicore examples, e.g.:
2. Yes, M4 is loaded to RAM through the M7 project.
Best regards,
Omar
Hi, Omar,
Thanks for reply!
1. Must be more information needed to change a project to be a master one and working, right? any special configuration for memory? I noticed hello_world master example is configured differently, but not sure why, and also more components needs to be include like multicore related ones, tried and so far, still not be able to run, I am using my own application which is based on freeRTOS, not sure that is a issue or not, anyway, no success so far.
2. Good, thanks.
Regards!
Ping