Hi Rahul,
Is there any example of a multicore boot program for NOR or NAND? I have got the idea of SRIO hello world program but I can't use SRIO boot for my application. Can you please elaborate on what should I do to make this program boot from flash (NAND or NOR)?
I am aware of the following methods for multi-core programming but I have few queries:
1. From various TI posts, I got to know that one way is to create a single .out file which can be loaded in all the cores and in that .out file, as per the CPU core number, we can have different cores doing different tasks. Well, I have used BIOS/MCSDK to create such a single .out file which uses a simple "CSL_chipReadReg()" function to determine the coreID and then in different "if nested loops" I do different tasks according to the core number. This works well on emulator by loading the program on all the cores by CCS. But when I tried to flash this .out file on NAND or NOR by default only core 0 tasks got executed stating the fact that the program got loaded on core 0 only.
So apart from MAD utility, is there any other way of loading a single .out file (having different sections of tasks defined for different cores) on flash memory (NAND or NOR)?
2. We can also have a separate .out files for each of the cores and hence each core doing its own operation. Again apart from MAD utility, how does one approach this method?
3. I successfully tested the OpenMP helloworld example on emulator which prints hello world from different threads. But again it requires to load the program on all cores. How do I upload such a program (single .out file) on NAND or NOR and ensure that all cores run the same program. On the wiki page of OpenMP, there is no mention of any step for uploading an OpenMP program on flash memory (NAND or NOR). Please elaborate on this.
Thanks.
Hardik