Other Parts Discussed in Thread: OMAPL138, OMAP-L138
Tool/software: Code Composer Studio
Hi all,
Presently I downloaded the new compiler version TI 16.9.0 LTS for my OMAPL138 project build.
I had felt an issue with global variable initialization. To be specific,
- My global variable initialized to a defined value are not properly assigned to any variables. But, all variables are assigned with some junk values. Below is my initialization sequence in top of my C file and it also declared as extern for global visibility in a include file.
//Global Variable Defines
int32 gint32_PostReportEMIFFPGA = 0, gint32_PostReportDB = 0;
uint32 guint32_POSTReportStartCount = 0;
VIData VIData_Healthdata;
int poolCounter = 0;
- This issue is clearly seen only on TI 16.9.0 LTS, which i was initially tested with. To sort out the problem i went back to TI v5.2.8 and it works as expected with initialization. I tried with --zero_init=off and --zero_init=on linker commands for both compilers. But TI 16.9.0 LTS is in same state as i mentioned above.
Is there anything to be specifically changed for new compiler version in the above case ?
Hope someone can help.
Regards,