This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
Hello Everyone,
I am currently working on a project with a TMS320F28377D device. I want to share a block of constant data on CPU2 Flash with CPU1 and I am thinking of doing that through shared RAM. My idea is to copy this block to shared RAM so CPU1, can read it.
The problem I face is that the Flash block contains linked text tables:
So, even if I copy the Flash block to shared RAM, I bet the pointers will keep pointing to the same addresses in CPU2 Flash:
Is there any way to make the pointers point the right Shared RAM locations?
Many thanks in advance,
Andreu
Hi Andreu,
If you have copied the data from CPU2 flash into Shared RAM, then you should be able to access that data through CPU1.
Are you copying pointers or actual data to the shared memory? Can you please share the snapshot of the memory?
Regards,
Nirav
Hello Nirav,
Many thatnks for your quick answer.
The CPU2 Flash block I am copying contains data and pointers to data in the same block, so if CPU1 wants to read the data pointed by the pointers, it looks like, this pointer would take CPU1 to read the Flash on CPU2, what, as matter of fact, is not possible. Am I right? What do you think?
Concerning to the memory snapshot, what memory do you want to see? The CPU2 Flash block or the Shared RAM memory?
Best regards,
Andreu
Hi Andreau,
Yes, if your data also has pointers which still has address to CPU2 Flash, than CPU1 will read the CPU2 Flash.
Reason I asked for snapshot of the memory, was if the data did not have pointers, but if it does have pointers to CPU2 Flash, then it explains why its reading the CPU2 Flash.
Regards,
Nirav