Part Number: TMS320F28388D
Hello,
I have a structure with pointers initialized to point on some elements of this structure.
Here *p_in (0x0000B0A8) is pointing id (0x0000B084) and *p_set (0x0000B0AA) is pointing idRef (0x0000B0A4).
The structure is running on CPU1 and has to be shared with CM core.
For the moment the structure is located in LS6 RAM and when necessary, I copy the content of the structure into CPUTOCMRAM. Everything works well but it takes time to transfer the structure.
To improve this, I locate the structure directly into CPUTOCMRAM using #pragma DATA_SECTION macro as the memory is READ/WRITE accessible from CPU1.
When I debug, the main structure is well located in CPUTOCMRAM memory (0x39000) however the pointers are still pointing on LS6 zone instead of pointing elements in CPUTOCMRAM.
Now *p_in (0x000390A8) is pointing id@0x0000B084 instead of (0x00038084) and *p_set (0x000390AA) is pointing idRef@0x000B0A4 instead of (0x000390A4).
How can I correct this issue?
Sincerely.
Jérôme