Other Parts Discussed in Thread: OMAP-L137
部件号: CODECOMPOSER
主题中讨论的其他器件: OMAP-L137
您好:
我们的代码太大、无法配置 cmd 文件和 GEL 文件、下面的 CCS 中出现了错误、下面是 cmd 文件配置和随附 GEL 文件。 当我们尝试将.text 和.far 移动到 cmd 文件中的 EMIFBSDRAM 中时、当我们启动 CCS 时、调试器无法找到 main 来不再停止。 当我们尝试移动其他部分时、调试器出现验证错误。 有人能概括地解释一下我们如何将.text 和.far 段等 CCS 代码段移动到我们存储器映射中更大的存储器中、调试器仍然可以找到 main 函数(即某些段是否始终必须在同一存储器映射段中放在一起)? 这是否需要修改其他文件或 CCS 调试配置、以便 JTAG 可以单步执行代码? 再次感谢您。
(CCS 出错)
错误#10099-D:程序无法放入可用的内存中、或者段包含一个调用点、该调用点需要无法为该段生成蹦床函数、或者该段包含填充函数。 对于段“.far“大小 0x2082c、带对齐的运行放置失败。 可用存储器范围:
IRAM 大小:0x40000 未使用:0x18a0c 最大孔:0x18a0c
(CMD 文件配置)
移动数据
{
DSPL2ROM:org = 0x700000、len = 0x100000
DSPL2RAM:org = 0x800000、len = 0x40000
DSPL1PRAM : org = 0xe00000、len = 0x8000
DSPLDPRAM:org = 0xf00000、len = 0x8000
SHDSPL2ROM:org = 0x11700000、len = 0x100000
IRAM:org = 0x11800000、len = 0x40000
CACHE_L1P:org = 0x11e00000、len = 0x8000
CACHE_L1D:org = 0x11f00000、len = 0x8000
EMIFASSDRAM : org = 0x40000000、len = 0x8000000
EMIFACS2:org = 0x60000000、len = 0x2000000
EMIFACS3:org = 0x62000000、len = 0x2000000
EMIFACS4:org = 0x64000000、len = 0x2000000
EMIFACS5:org = 0x66000000、len = 0x2000000
L3_CBA_RAM_ID:org = 0x80000000、len = 0x1000
L3_CBA_RAM_bl:org = 0x80001000、len = 0xf000
L3_CBA_RAM:org = 0x80010000、len = 0x10000
EMIFBSDRAM:org = 0xC0000000、len = 0x10000000
}
很重要
{
.text:load > IRAM
.ti.decompress: load > IRAM
.stack:load > IRAM
组:LOAD > L3_CBA_RAM
{
.bss:
.neardata:
.rodata:
}
.cinit:LOAD > L3_CBA_RAM
.pinit:load > L3_CBA_RAM
.init_array:load > IRAM
.const:load > L3_CBA_RAM
.data:load > IRAM
.fardata:load > IRAM
.switch:load > L3_CBA_RAM
.sysmem:load > IRAM
.far:load > IRAM
.args:load > IRAM align = 0x4、fill = 0{_argsize = 0x0;}
.cio:LOAD > L3_CBA_RAM
.TI.handler_table:load > IRAM
.c6xabi.exidx:load > IRAM
.c6xabi.extab:load > IRAM
.id:load > L3_CBA_RAM_ID
.clk:load > IRAM
.prd:load > IRAM
.swi:load > IRAM
.IRAM:load > tsk
.idl:load > IRAM
.idlcal:load > IRAM
.hwi_vec:load > IRAM
.sysdata:load > IRAM
.dsm:load > IRAM
.mem:load > iramfreertosdsp.gel
.bios:加载> IRAM
.gio:load > IRAM
.sys:load > IRAM
.sysregs:LOAD > IRAM
.gblinit:load > IRAM
.sysinit:load > IRAM
.trcdata:load > IRAM
.hwi:load > IRAM
.RTDx_text:load > IRAM
.tsk_idle$stk:load > IRAM
.log_system$buf:load > IRAM
.RTDx_DATA:LOAD > IRAM
.hst1:load > IRAM
.hst0:load > IRAM
.trace:load > IRAM
.HST:LOAD > IRAM
.log:load > IRAM
.pip:load > IRAM
.sts:load > IRAM
.heap:load > L3_CBA_RAM
.L3_CBA_RAM_ID:LOAD > L3_CBA_RAM
.L3_CBA_ram_bl:load > L3_CBA_RAM_BL
.L3_CBA_RAM$heap:load > L3_CBA_RAM
.printf:load > L3_CBA_RAM
.ppinfo:load > IRAM
.ppdata:load > IRAM
.binit:load > IRAM
.vecs:load > IRAM
.obj:load > IRAM
}
再次感谢您。