This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DSP c6657 CCS 5.2



I get the following warning about memory location  saying the below capture (partial). 

Ignoring warning when I ran the code, it crashes at random places. I found that 

81366268 __TI_STACK_END
00002000 __TI_STACK_SIZE
8000a580 __TI_STATIC_BASE

And another variable are in the same segment. Looks like whenvever these memory locations are accessed it crashes. 

8000a580 __TI_STATIC_BASE
8000a580 bootloaderflag
8000a584 core1_started
8000a588 intr_dsp_num

What should be done there are several warnings whenever I use the above three variables. 

MEMORY CONFIGURATION

name origin length used unused attr fill
---------------------- -------- --------- -------- -------- ---- --------
L2SRAM 00800000 00080000 00003a04 0007c5fc RW X
MSMCSRAM 0c000000 00100000 00000000 00100000 RW X
DDR3_no_Cache 80000000 01000000 0000a58c 00ff5a74 RW X
DDR3 81000000 07000000 00370c6e 06c8f392 RW X

Console Capture:

"C:/projects/projects/Baker/st_Media/ms_svr2.c", line 321: warning #17003-D:
relocation from function "InitMediaQ" to symbol "jitter_verbose" overflowed;
the 23-bit relocated address 0x4d7bd7 is too large to encode in the 15-bit
unsigned field (type = 'R_C6000_SBR_U15_W' (13), file =
"C:/projects/projects/Baker/DSP/gen5/lib/media.lib<ms_svr2.obj>", offset =
0x00008a50, section = ".text")
"C:/projects/projects/Baker/st_Media/ms_svr2.c", line 321: warning #17003-D:
relocation from function "InitMediaQ" to symbol "JitterUpdateInterval"
overflowed; the 23-bit relocated address 0x4d7bdd is too large to encode in
the 15-bit unsigned field (type = 'R_C6000_SBR_U15_W' (13), file =
"C:/projects/projects/Baker/DSP/gen5/lib/media.lib<ms_svr2.obj>", offset =
0x00008aa4, section = ".text")
"C:/projects/projects/Baker/st_Media/ms_svr2.c", line 321: warning #17003-D:
relocation from function "InitMediaQ" to symbol
"LongTermJitterDecreaseMinTimeout" overflowed; the 23-bit relocated address
0x4d7bde is too large to encode in the 15-bit unsigned field (type =
'R_C6000_SBR_U15_W' (13), file =
"C:/projects/projects/Baker/DSP/gen5/lib/media.lib<ms_svr2.obj>", offset =
0x00008ab0, section = ".text")
"C:/projects/projects/Baker/st_Media/ms_svr2.c", line 321: warning #17003-D:
relocation from function "SnapshotNRP" to symbol "nrplog" overflowed; the
23-bit relocated address 0x4d7a70 is too large to encode in the 15-bit
unsigned field (type = 'R_C6000_SBR_U15_W' (13), file =
"C:/projects/projects/Baker/DSP/gen5/lib/media.lib<ms_svr2.obj>", offset =
0x00008be0, section = ".text")
"C:/projects/projects/Baker/st_Media/ms_svr2.c", line 321: warning #17003-D:
relocation from function "SnapshotNRP" to symbol "nrplog" overflowed; the
23-bit relocated address 0x4d7a70 is too large to encode in the 15-bit
unsigned field (type = 'R_C6000_SBR_U15_W' (13), file =
"C:/projects/projects/Baker/DSP/gen5/lib/media.lib<ms_svr2.obj>", offset =
0x00008bec, section = ".text")
"C:/projects/projects/Baker/st_Media/ms_svr2.c", line 321: warning #17003-D:
relocation from function "SnapshotNSP" to symbol "nsplog" overflowed; the
23-bit relocated address 0x4d7a71 is too large to encode in the 15-bit
unsigned field (type = 'R_C6000_SBR_U15_W' (13), file =
"C:/projects/projects/Baker/DSP/gen5/lib/media.lib<ms_svr2.obj>", offset =
0x00008c0c, section = ".text")
"C:/projects/projects/Baker/st_Media/ms_svr2.c", line 321: warning #17003-D:
relocation from function "SnapshotNSP" to symbol "nsplog" overflowed; the
23-bit relocated address 0x4d7a71 is too large to encode in the 15-bit
unsigned field (type = 'R_C6000_SBR_U15_W' (13), file =