Part Number: TMS320F28388D
Hello,
I've a problem related to running my program on CPU2 from Flash on a TMS320F28388D.
My project is a multicore project. And my program is running well when it's running from RAM. But when running from Flash, it's like I don't control the GPIO on CPU2.
The flow of CPU1 is:
- InitSysCtrl
- BootCPU2 from Flash
- Initialize CPU1 (PIE VECT, GPIO,...)
- Tell CPU2 to initialize using IPC and wait for CPU2 to end its initialization
The flow of CPU2 is:
- wait CPU1 notification to start initialization
- initialize (PIE VECT / CLA / DMA) and tell CPU1 that initialiszation is ended using IPC
When I run my program on CPU2 from RAM, I can see IO DEBUG 6 Blinking but when I run it from FLASH, it's not running as I don't see the LED Blinking. It's like I don't control the GPIO. But I correctly manage ownership of GPIO in the ConfigGpio() function.
Note that DMA is transferring datas from CLA.CPU2 memory to GS15. And datas are correct so this part of the program is running well from Flash.
I attach the two main.c of CPU1 & CPU2.
Any idea to solve my problem ? (I send you a message because I'm unable to post it on the forum).
Thank you,
Adrien