Tool/software: Code Composer Studio
Hello everyone,
I'm working on the controlCARD TMS320F28379D. I have some questions regarding the Global Shared RAM. As I see in C2000 Ware examples "RAM_management" the data arrays are assigned to Global Shared RAM by the command #pragma DATA_SECTION(). In the cpu1 source code file, cpu1_arr is defined and #pragma(cpu1_arr,"SHARERAMGS0") is called. Then, in cpu2 code file,<#pragma DATA_SECTION(cpu2_arr,"SHARERAMGS0") is called, and cpu2_arr would be identical to cpu1_arr. Is this correct ?
However, in my program, I only need to share some variables ( 5 or 6), whose size is "unsigned int", so it should takes a very small amount of a global shared RAM block. How should I modify the linker file, or anything related, to assign only a section of RAMGS0 for example, to store the shared variables ?
Regards,
An.