Shared data on Multiple cores - Tricore TC275X
Posted: Wed Jan 24, 2018 3:00 pm
Hello,
I am trying to store the global data (accessed by multiple cores) of my application in different RAM locations available on TC275X to analyse the memory access overhead during runtime.
I have used "#pragma section" directives to create an input section. When I looked for the global sections in the Erika linker description files. I could see 3 global sections "ee_mcglobalt", "ee_mcglobalc", "ee_mcglobald". As per comments provided the only section that can be used for global data is "ee_mcglobald" this will store the data in LMU and the other two sections "ee_mcglobalt", "ee_mcglobalc" are used only for sharing code symbols(this will go to PMI_PSPR), constant data (in DMI_DSPR) respectively.
I don't see any section that allows me to store global shared data in DMI_DSPR scratch pad RAM of any core, if I go with the description mentioned in comments. Could someone please let me know if I have to create a custom linker script to create the output section for global shared data on DMI_DSPR ? Please help me understand this.
Thanks in advance!
Regards,
Mohan
I am trying to store the global data (accessed by multiple cores) of my application in different RAM locations available on TC275X to analyse the memory access overhead during runtime.
I have used "#pragma section" directives to create an input section. When I looked for the global sections in the Erika linker description files. I could see 3 global sections "ee_mcglobalt", "ee_mcglobalc", "ee_mcglobald". As per comments provided the only section that can be used for global data is "ee_mcglobald" this will store the data in LMU and the other two sections "ee_mcglobalt", "ee_mcglobalc" are used only for sharing code symbols(this will go to PMI_PSPR), constant data (in DMI_DSPR) respectively.
I don't see any section that allows me to store global shared data in DMI_DSPR scratch pad RAM of any core, if I go with the description mentioned in comments. Could someone please let me know if I have to create a custom linker script to create the output section for global shared data on DMI_DSPR ? Please help me understand this.
Thanks in advance!
Regards,
Mohan