Hello,
Apologies, I don't know if this is a device problem or CCS problem. I'm using controlCARD for F2837xD.
The problem is that I cannot reliably non-zero initialise variables in GSRAM from CPU2.
I have:
- Declared a non-zero initialized variable in CPU2 in a COFF project. I have no choice but to use COFF due to the use of Vector CANape with CCP. It’s a long story.
- Linked it to GSRAM2.
After clicking Restart (required a few times for some reason) and then reaching main(), the variable is often not initialized in CPU2. It’s as though pinit does not work. Occasionally I have seen it work.

If anybody has any ideas, I'd be grateful.
Some specific questions:
Question 1)
Is it possible in theory to have non-zero initialized variables in the CPU2 project located in GSRAM?
Question 2)
If not, it all makes sense. If so, pinit runs before main() in CPU2 so how is it possible that CPU2 has write access to GSRAM in order to initialise at this time?
Thank you.







