I have got the Linker error in the Build Window like this:
[Linking...] "C:\Program Files\Texas Instruments\C6000 Code Generation Tools 6.1.11\bin\cl6x" -@"DM643x.lkf"
<Linking>
"C:\\SVS_Projects\\MKS\\10_Application\\code\\own\\svc\\os\\D1175_Applicationcfg.cmd", line 600: error:
run placement fails for object ".far", size 0xac94fd (page 0). Available
ranges:
DDR2_VIDEO size: 0x1d00000 unused: 0xa61400 max hole: 0xa61400
error: errors encountered during linking;
"C:/SVS_Projects/MKS/10_Application/build/DM643x/d1175_dsp.out" not built
>> Compilation failure
I'm using the DM6437, custom made board with 32 MB of DDR2 memory.
The Linker error points me to the next line in the .cmd code:
.DDR2$heap: {
. += 0x100000;
} RUN_START(DDR2$B), RUN_START(_DDR2_base), RUN_SIZE(DDR2$L), RUN_SIZE(_DDR2_length) > DDR2
.far: {} > DDR2_VIDEO
but I have defined DDR2_VIDEO as :
/* MODULE MEM */
-stack 0x800
MEMORY {
DDR2 : origin = 0x80004000, len = 0x2fc000
L1D_RAM : origin = 0x10f04000, len = 0xc000
L2_RAM : origin = 0x10800000, len = 0x10000
DDR2_MSGQ32 : origin = 0x80000000, len = 0x4000
DDR2_VIDEO : origin = 0x80300000, len = 0x1d00000
L1D_CACHE : origin = 0x10f10000, len = 0x8000
L2_CACHE : origin = 0x10810000, len = 0x10000
L1P_CACHE : origin = 0x10e08000, len = 0x8000
}
Any help is appreciated.
Regards,
Marko