This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Multiple Images on C6678

Other Parts Discussed in Thread: SYSBIOS

I'm new to multicore processing and SYSBIOS.  What is the best way to create individual images for each core with CCS? I've seen and run examples where the same image is built into a .out file and loaded on all or some of the cores at once.  Haven't found one where the image on different cores is different.

Using a C6678 and CCSv6 for my application.  Plan to use IPC, SharedRegion, MultiProc to communicate between the processors.  The application can be divided into sequential operations, e.g. data in, data process, data out.  I need to overlap these, and expect the data in and out to run on 1 core each, and the data process to run on 4 cores.  They all need to share DDR3 to access the data.

What is the recommended way to do this?  Do I need 3 separate projects? Would 3 separate build configurations in a single project work?  If so, I assume one would use #if BUILD_VAR (e.g.) to select which core you compile for, but how do you customize the .cfg file for each build config?  Eventually I will need to deploy this application in flash and use the boot loader to initialize it, so that may influence the best method to use.

Is there an example that illustrates this scenario somewhere?


Thanks in advance.

Mike

  • Hi Mike,

    Yes. Your understanding is  correct. You shall use difference out files to load individual core.

    From my understanding,  creating single or multiple project is depends on the target application complexity. If only one project is created, you shall use DNUM to execute the portion code on a selected core.

    Thank you.