Other Parts Discussed in Thread: TMS570LS3137
We are using TMS570ls3137 in our project and development tool is Code Composer Studio Version: 10.2.0.00009, compiler version is TI v29.2.4 LTS.
Problem scenario:
Test.cmd:
-----------------------
Temp= 0x00008000;
Temp.h:
-----------------------
typedef struct
{
int a;
int b;
}Temp_Struct;
extern const Temp_Struct* const Temp;
Temp.c
------------
int x,y;
extern const Temp_Struct* const Local_Temp;
Local_Temp = Temp;
x = Temp->a;
y = Local_Temp->a;
In above code, when I try to explore structure "Temp" via expression window it fails load data and it showing "Temp" data type as (void*). If I type cast explicitly in the expression window also it fails to fetch the data. However local instance "Local_Temp" working as expected. could you please clarify me the doubt.