Hello everybody,
we are using the CLA of the CPUs excessively. We now need the full LSRAM for CLA-Data and CLA-Program.
This is why we needed to map the normal Program-Code into the GSRAM.
CPU1 uses GSRAM0-7 and CPU2 GSRAM8-15. I set up the Linker-Command-File accordingly. I am using a Launch-Configuration, which will load the CPU1/CLA-Project and the CPU2/CLA-Project onto the TMS320F28388D. If I don't use FLASH-Memory at all, the CPU2-application is now mapped into the GSRAM8-15 from the start.
I now have the problem, that the Launch-Config starts both CPUs. CPU1 has to allow CPU2 access to the GSRAMs, but CPU2 is running before that happens, this is why I always have to restart the CPU2 after loading the program.
As far as I understood CPU1 has to select a boot mode for CPU2 and bring CPU2 out of reset (see Device_bootCPU2 function from TIs "device.c" file). But I think this is bypassed when loading the CPU2-application via CCS.
How can I suspend CPU2 from running until CPU1 has set up the GSRAM-Rights?
Thanks and Regards,
Marcel.