Hi all
Following is my code.
Now the program can run correctly, Buf if comment the two System_printf statement in the main function of PD_master, Then the program will generate a strange program, will automatic disconnect the Core0. I use evm6678.
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.
Hi all
Following is my code.
Now the program can run correctly, Buf if comment the two System_printf statement in the main function of PD_master, Then the program will generate a strange program, will automatic disconnect the Core0. I use evm6678.
Eric,
I looked at the main_master.c file and see that you are calling Task_sleep() within the main() function.
Task_sleep() is only callable within a Task thread. Calling it from main() will result in undefined and probably fatal behavior.
I suggest you implement a simple non-blocking delay loop if you want to wait a while between Ipc_attach() calls.
Alan
Is the program getting to the BIOS_start() call in main()?
Is Ipc_start() failing?
The comment above the Ipc_start() call indicates that Ipc_attach() will be invoked for each core within the Ipc_start() call.
So the subsequent calls to Ipc_attach() for each core seem unnecessary to me.
Alan
Eric,
I think this is the same issue as your other post. You have both programs linked at the same DDR3 address.
Judah
I move all the section from DDR3 to L2SRAM, now can run correctly.
I try to change the platform, But seems the problem remains. I compile the *.map file of the two platforms, 'ti.sdo.ipc.examples.platforms.evm6678.core0' and "ti.platforms.evm6678" ,the two map files is same. so I think just change the platform can't fix the problem.