Other Parts Discussed in Thread: SYSCONFIG, C2000WARE
Tool/software:
Hi champs,
I am asking this for our customer.
The user wants to use LS8/LS9 for CLA program in Sysconfig below.

However, the code for memory-copy generated by Sysconfig below is not correct.

They are supposed to be like below because LS8 is on 0x14000 rather than 0x4000 from CPU perspective.
memcpy((uint32_t *)((uint32_t)&Cla1ProgRunStart + (0x10000U)), (uint32_t *)&Cla1ProgLoadStart,
(uint32_t)&Cla1ProgLoadSize);
Therefore, we found the CLA could not run if the code is generated from Sysconfig.
1. Is this a Sysconfig bug?
If not, would you please show us how to do it in Sysconfig?
2. What if the CLA program code is larger than LS8+LS9 (32KB)?
That is, how does the user move codes when the user's code needs to move onto RAM from LS8 to LS0?
memcpy((uint32_t *)((uint32_t)&Cla1ProgRunStart + (0x10000U)), (uint32_t *)&Cla1ProgLoadStart,
(uint32_t)&Cla1ProgLoadSize);
That is, from CPU 0x14000/CLA 0x4000 to CPU 0x8000 (LS0).
There is such a discontinuity from CPU perspective at end of LS9 (0x17FFF) and start of LS0 (0x8000).
