请教DSP6713如何使程序在外部SDRAM上运行呢

2019-07-17 13:22发布

我是DSP初级菜鸟一枚,最近在用6713。遇见各种问题,各种不懂啊,求大侠们指教,感激不尽!
1 将程序烧录到外部FLASH之后在内部RAM里面运行是成功的。但是烧写后如何程序在外部SDRAM运行呢?
2 我试着用DATA_SECTION将部分数据放在外部SDRAM,编译也报错,是什么问题呢?
3 我将CMD文件修改,想将程序放在外部SDRAM里面仿真调试也不成功。仿真调试的时候只能将程序放在内部RAM里面吗?
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
14条回答
eagle200203
2019-07-19 12:36
blacksword 发表于 2013-3-8 12:50
http://www.ti.com/dsp/docs/litabsmultiplefilelist.tsp?sectionId=3&tabId=409&literatureNumber=spra999 ...

SECTIONS贴错了,是下面这样的

SECTIONS
{
/*When using the hex converter to generate the copy table, the load
address as well as the LOAD_START, RUN_START, AND SIZE linker options
do not need to be specified. Only the run address must be specified */
.boot_load : LOAD = FLASH_BOOT, RUN = BOOT_RAM
.text : LOAD = FLASH_REST, RUN = IRAM
LOAD_START(_text_ld_start),
RUN_START(_text_rn_start),
SIZE(_text_size)
/*LOAD_START, RUN_START, AND SIZE are only required when using the linker
options to generate the copy table */
.cinit > FLASH_REST

.const > IRAM
.stack > IRAM
.bss > IRAM
.data > IRAM
.far > IRAM
.switch > IRAM
.sysmem > IRAM
.cio > IRAM
}

一周热门 更多>