Hello,
I have a custum board with Delfino including 2 CPU (each core has a CLA). My software uses these 2 CPU and 2 CLA.
When I flash my board through the JTAG in Debug Session, processors and co-processors run without problem.
Here is approximately the process:
- CPU1 init
- CPU1.CLA1 init
- CPU1 sends boot command to the CPU2
- CPU2 init
- CPU2 sends boot OK to the CPU1, so CPU1 continues its process
- CPU2.CLA1 init
- CPU2 continues its process
However, after a power down, so standalone witout debug session, the CPU2.CLA1 won't start up (CPU1.CLA1 is ok). Thanks to a maintenance tool, I see that I can't write in the registers of the CLA. Init functions are called but no action is done.
Example: Cla1Regs.MCTL.bit.IACKE = 1 has no effect in the register MCTL
According to the topic "CLA of 28069 won't start up without emulator - John Bennett ", I checked if I had the following functions in my code
- memcpy(&RamfuncsRunStart, &RamfuncsLoadStart, (size_t)&RamfuncsLoadSize)
- memcpy((INT32U *)&ClafuncsRunStart, (INT32U *)&ClafuncsLoadStart, (INT32U)&ClafuncsLoadSize)
..they are called during the initialisation.
Could you help me please ? I don't understand why I can't set the CLA after a power down while in Debug Session everything is ok...
Regards,
Kevin
Tools: C2800 Compiler 6.4.6, Code Composer Studio v6
Hardware: custom board with F28377D
