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.
I am using code composer 5.1.0.201104171800 for linux.
i'm creating empty SYS/BIOS project and i want add section SDRAM in linker.cmd, but this file is autogenerated and modifications dropped after rebuild.
linker.cmd content:
"/home/lexa/workspace/debug_program/Debug/configPkg/package/cfg/debug_program.p64P.obj"
"/home/lexa/workspace/debug_program/Debug/configPkg/package/cfg/debug_program_p64P_x.xdl"
debug_program_p64P_x.xdl:
-l"/home/lexa/CCS51/ipc_1_22_03_23/packages/ti/sdo/utils/lib/whole_program_debug/ti.sdo.utils.a64P"
-l"/home/lexa/CCS51/bios_6_31_04_27/packages/ti/sysbios/heaps/lib/whole_program_debug/ti.sysbios.heaps.a64P"
-l"/home/lexa/CCS51/bios_6_31_04_27/packages/ti/sysbios/gates/lib/whole_program_debug/ti.sysbios.gates.a64P"
-l"/home/lexa/CCS51/bios_6_31_04_27/packages/ti/sysbios/knl/lib/whole_program_debug/ti.sysbios.knl.a64P"
-l"/home/lexa/CCS51/bios_6_31_04_27/packages/ti/sysbios/timers/timer64/lib/whole_program_debug/ti.sysbios.timers.timer64.a64P"
-l"/home/lexa/CCS51/bios_6_31_04_27/packages/ti/sysbios/hal/lib/whole_program_debug/ti.sysbios.hal.a64P"
-l"/home/lexa/CCS51/bios_6_31_04_27/packages/ti/sysbios/family/c64p/lib/whole_program_debug/ti.sysbios.family.c64p.a64P"
-l"/home/lexa/CCS51/bios_6_31_04_27/packages/ti/sysbios/xdcruntime/lib/whole_program_debug/ti.sysbios.xdcruntime.a64P"
-l"/home/lexa/CCS51/bios_6_31_04_27/packages/ti/sysbios/lib/whole_program_debug/ti.sysbios.a64P"
-l"/home/lexa/CCS51/bios_6_31_04_27/packages/ti/sysbios/family/c62/lib/whole_program_debug/ti.sysbios.family.c62.a64P"
-l"/home/lexa/CCS51/bios_6_31_04_27/packages/ti/sysbios/family/c64p/dm6437/lib/whole_program_debug/ti.sysbios.family.c64p.dm6437.a64P"
-l"/home/lexa/CCS51/xdctools_3_20_08_88/packages/ti/targets/rts6000/lib/ti.targets.rts6000.a64P"
-l"/home/lexa/CCS51/xdctools_3_20_08_88/packages/ti/targets/rts6000/lib/boot.a64P"
/* Elf symbols */
--symbol_map ___TI_STACK_BASE=__stack
--symbol_map ___TI_STACK_SIZE=__STACK_SIZE
--symbol_map ___TI_STATIC_BASE=___bss__
--symbol_map __c_int00=_c_int00
--args 0x200
-heap 0x0
-stack 0x1000
MEMORY
{
IRAM (RWX) : org = 0x10800000, len = 0x20000
L1DSRAM (RW) : org = 0x10f04000, len = 0xc000
DDR2 : org = 0x80000000, len = 0x8000000
SRAM : org = 0x42000000, len = 0x200000
}
_xdc_runtime_Startup__EXECFXN__C = 1;
_xdc_runtime_Startup__RESETFXN__C = 1;
_TSK_idle = _ti_sysbios_knl_Task_Object__table__V + 68;
SECTIONS
{
.text: load >> DDR2
.switch: load >> DDR2
.stack: load > DDR2
.vecs: load >> DDR2
.taskStackSection: load >> DDR2
.args: load > DDR2 align = 0x4, fill = 0 {_argsize = 0x200; }
.sysmem: load > DDR2
.far: load >> DDR2
.data: load >> DDR2
.cinit: load > DDR2
.bss: load > DDR2
.const: load > DDR2 START(const_start) SIZE(const_size)
.pinit: load > DDR2
.cio: load >> DDR2
xdc.meta: load >> DDR2, type = COPY
}
i'm add section
FORDATA: load > DDR2
by hand, and set read-only permission for this file, but this is wrong way.
How can i do this right way?
Hello,
Check out Section 5.3 of the SYS/BIOS User's Guide:
http://focus.ti.com/lit/ug/spruex3h/spruex3h.pdf
Thanks
ki
it's helpful,thank you.
if i create two or more heaps (for example HeapStd and HeapMin). How can i place them in separate sections ?