Hello,
I am getting this warning report when I try to place variables in shared memory. I do this quite often and this is the first time this happened and I don't understand what the warning means, not to mention my exectuable still builds. It does not run properly but I am not sure if this is becuase of the warnings or a logical error. Could someone please comment on the situation?
Code Composer Studio Version: 5.1.0.09000
C6000 compilier
C6678 EVM
(PS - it was recommended I move the post from this link: http://e2e.ti.com/support/embedded/bios/f/355/p/184077/726160.aspx#726160)
Thanks,
Brandy
This is the configuration line in my .cfg:
Program.sectMap[".srioSharedMem"] = "MSMCSRAM";
Here is the code:
#ifdef __cplusplus
#pragma DATA_ALIGN (128)
#pragma DATA_SECTION(".srioSharedMem")
TrackerCfgStruct glTrackercfg;
#pragma DATA_ALIGN (128)
#pragma DATA_SECTION(".srioSharedMem")
unsigned int glAssocationStartFlag;
#pragma DATA_ALIGN (128)
#pragma DATA_SECTION(".srioSharedMem")
unsigned int glSolverStartFlag;
#else
Here are the warnings:
"./configPkg/linker.cmd", line 283: warning #10237-D: split placement (>>) ignored for ".srioSharedMem": split run placement for this section is not permitted
warning #10281-D: Section ".srioSharedMem" requires a STATIC_BASE relative relocation, but is located at 0x0c039c00, which is probably out of range of the STATIC_BASE. STATIC_BASE is located at 0x00867a00. Might be required to correct placement of ".srioSharedMem" so it lies within 0x8000 of the STATIC_BASE.
warning #10281-D: Section ".srioSharedMem" requires a STATIC_BASE relative relocation, but is located at 0x0c039c00, which is probably out of range of the STATIC_BASE. STATIC_BASE is located at 0x00867a00. Might be required to correct placement of ".srioSharedMem" so it lies within 0x8000 of the STATIC_BASE.
"C:/Users/brandy/Workspace/TI_Libraries/pdk_C6678_1_0_0_21/packages/ti/csl/csl_cacheAux.h", line 668: warning #17003-D: relocation from function "associationTask" to symbol "glAssocationStartFlag" overflowed; the 26-bit relocated address 0x2df7bb2 is too large to encode in the 15-bit unsigned field (type = 'R_C6000_SBR_U15_W' (13), file = "C:/Users/brandy/Workspace/PXMTracking/trunk/bin/pxm_tracking/MHTAssocate_MT.obj", offset = 0x00000160, section = ".text")
"C:/Users/brandy/Workspace/TI_Libraries/pdk_C6678_1_0_0_21/packages/ti/csl/csl_cacheAux.h", line 668: warning #17003-D: relocation from function "associationTask" to symbol "glAssocationStartFlag" overflowed; the 26-bit relocated address 0x2df7bb2 is too large to encode in the 15-bit unsigned field (type = 'R_C6000_SBR_U15_W' (13), file = "C:/Users/brandy/Workspace/PXMTracking/trunk/bin/pxm_tracking/MHTAssociate_MT.obj", offset = 0x0000016c, section = ".text")
"C:/Users/brandy/Workspace/TI_Libraries/pdk_C6678_1_0_0_21/packages/ti/csl/csl_cacheAux.h", line 668: warning #17003-D: relocation from function "associationTask" to symbol "glAssocationStartFlag" overflowed; the 26-bit relocated address 0x2df7bb2 is too large to encode in the 15-bit unsigned field (type = 'R_C6000_SBR_U15_W' (13), file = "C:/Users/brandy/Workspace/PXMTracking/trunk/bin/pxm_tracking/MHTAssociate_MT.obj", offset = 0x00000174, section = ".text")
"C:/Users/brandy/Workspace/TI_Libraries/pdk_C6678_1_0_0_21/packages/ti/csl/csl_cacheAux.h", line 668: warning #17003-D: relocation from function "associationTask" to symbol "glAssocationStartFlag" overflowed; the 26-bit relocated address 0x2df7bb2 is too large to encode in the 15-bit unsigned field (type = 'R_C6000_SBR_U15_W' (13), file ="C:/Users/brandy/Workspace/PXMTracking/trunk/bin/pxm_tracking/MHTAssociate_MT.obj", offset = 0x000001b4, section = ".text")
"C:/Users/brandy/Workspace/TI_Libraries/pdk_C6678_1_0_0_21/packages/ti/csl/csl_cacheAux.h", line 668: warning #17003-D: relocation from function "associationTask" to symbol "glAssocationStartFlag" overflowed; the 26-bit relocated address 0x2df7bb2 is too large to encode in the 15-bit unsigned field (type = 'R_C6000_SBR_U15_W' (13), file ="C:/Users/brandy/Workspace/PXMTracking/trunk/bin/pxm_tracking/MHTAssociate_MT.obj", offset = 0x000001c4, section = ".text")
"C:/Users/brandy/Workspace/TI_Libraries/pdk_C6678_1_0_0_21/packages/ti/csl/csl_cacheAux.h", line 668: warning #17003-D: relocation from function "associationTask" to symbol "glAssocationStartFlag" overflowed; the 26-bit relocated address 0x2df7bb2 is too large to encode in the 15-bit unsigned field (type = 'R_C6000_SBR_U15_W' (13), file = "C:/Users/brandy/Workspace/PXMTracking/trunk/bin/pxm_tracking/MHTAssociate_MT.obj", offset = 0x000001cc, section = ".text")
"C:/Users/brandy/Workspace/TI_Libraries/pdk_C6678_1_0_0_21/packages/ti/csl/csl_cacheAux.h", line 668: warning #17003-D: relocation from function "Execute" to symbol "glAssocationStartFlag" overflowed; the 26-bit relocated address 0x2df7bb2 is too large to encode in the 15-bit unsigned field (type = 'R_C6000_SBR_U15_W' (13), file ="C:/Users/brandy/Workspace/PXMTracking/trunk/bin/pxm_tracking/MHTAssociate_MT.obj", offset = 0x0000046c, section = ".text")
"C:/Users/brandy/Workspace/TI_Libraries/pdk_C6678_1_0_0_21/packages/ti/csl/csl_cacheAux.h", line 668: warning #17003-D: relocation from function "Execute" to symbol "glAssocationStartFlag" overflowed; the 26-bit relocated address 0x2df7bb2 is too large to encode in the 15-bit unsigned field (type = 'R_C6000_SBR_U15_W' (13), file ="C:/Users/brandy/Workspace/PXMTracking/trunk/bin/pxm_tracking/MHTAssociate_MT.obj", offset = 0x00000478, section = ".text")
"C:/Users/brandy/Workspace/TI_Libraries/pdk_C6678_1_0_0_21/packages/ti/csl/csl_cacheAux.h", line 668: warning #17003-D: relocation from function "Execute" to symbol "glAssocationStartFlag" overflowed; the 26-bit relocated address 0x2df7bb2 is too large to encode in the 15-bit unsigned field (type = 'R_C6000_SBR_U15_W' (13), file = "C:/Users/brandy/Workspace/PXMTracking/trunk/bin/pxm_tracking/MHTAssociate_MT.obj", offset = 0x00000484, section = ".text")
"C:/Users/brandy/Workspace/TI_Libraries/pdk_C6678_1_0_0_21/packages/ti/csl/csl_cacheAux.h", line 668: warning #17003-D:relocation from function "Execute" to symbol "glAssocationStartFlag" overflowed; the 26-bit relocated address 0x2df7bb2 is too large to encode in the 15-bit unsigned field (type = 'R_C6000_SBR_U15_W' (13), file = "C:/Users/brandy/Workspace/PXMTracking/trunk/bin/pxm_tracking/MHTAssociate_MT.obj", offset = 0x0000048c, section = ".text")
"C:/Users/brandy/Workspace/TI_Libraries/pdk_C6678_1_0_0_21/packages/ti/csl/csl_cacheAux.h", line 668: warning #17003-D: relocation from function "Execute" to symbol "glAssocationStartFlag" overflowed; the 26-bit relocated address 0x2df7bb2 is too large to encode in the 15-bit unsigned field (type = 'R_C6000_SBR_U15_W' (13), file = "C:/Users/brandy/Workspace/PXMTracking/trunk/bin/pxm_tracking/MHTAssociate_MT.obj", offset = 0x00000498, section = ".text")
"C:/Users/brandy/Workspace/TI_Libraries/pdk_C6678_1_0_0_21/packages/ti/csl/csl_cacheAux.h", line 668: warning #17003-D: relocation from function "Execute" to symbol "glAssocationStartFlag" overflowed; the 26-bit relocated address 0x2df7bb2 is too large to encode in the 15-bit unsigned field (type = 'R_C6000_SBR_U15_W' (13), file = "C:/Users/brandy/Workspace/PXMTracking/trunk/bin/pxm_tracking/MHTAssociate_MT.obj", offset = 0x000004a0, section = ".text")
warning #10015-D: output file "../../bin/pxm_tracking/PXMTracking.out" cannot be loaded and run on a target system
'Finished building target: ../../bin/pxm_tracking/PXMTracking.out'
Thanks, brandy