本帖最后由 blues_more 于 2015-4-13 16:29 编辑
使用的是28335,CCS5.3,仿真器为XDS100-V2.情况是对其他程序的编译仿真都没问题,但是对一个例程,编译提示无错,但是download out文件时,提示No source available for "main() at C:\Documents and Settings\Administrator\workspace_v5_3\myfft\Debug/../main.c:37 0x3f8dec" 。但是绿色箭头指向main函数的第一行代码InitSysCtrl()。点运行时候,就提示No source available for "0x3ff626"。请问是什么原因,请问是CMD文件配置有问题吗,我使用的是别人的CMD,跟例程中的CMD相差挺多,下面是我使用的CMD,这里贴出来给大家看一下,希望得到大家的解答。
MEMORY
{
PAGE 0 : PROG(R) : origin = 0x3D8000, length = 0x20000
PAGE 0 : BOOT(R) : origin = 0x3FF000, length = 0xFC0
PAGE 0 : RESET(R) : origin = 0x3FFFC0, length = 0x2
PAGE 0 : VECS(R) : origin = 0x3FFFC2, length = 0x3E
PAGE 0 : PIEVECS(R) : origin = 0x000D00, length = 0xFF
PAGE 0 : H0RAM(RW) : origin = 0x3F8000, length = 0x2000
PAGE 1 : M0RAM(RW) : origin = 0x000000, length = 0x400
PAGE 1 : M1RAM(RW) : origin = 0x000400, length = 0x400
PAGE 1 : L0L1RAM(RW) : origin = 0x008000, length = 0x2000
}
SECTIONS
{
/* 22-bit program sections */
.reset : > RESET, PAGE = 0
vectors : > VECS, PAGE = 0
.pinit : > H0RAM, PAGE = 0
.cinit : > H0RAM, PAGE = 0
.text : > H0RAM, PAGE = 0
FFTtf > H0RAM, PAGE = 0
DLOG > H0RAM, PAGE = 0
FFTipcb ALIGN(4096) : { } > L0L1RAM PAGE 1
FFTmag > L0L1RAM PAGE 1
SINTBL : > L0L1RAM, PAGE = 1
/* 16-Bit data sections */
.const : > L0L1RAM, PAGE = 1
.bss : > L0L1RAM, PAGE = 1
.stack : > M1RAM, PAGE = 1
.sysmem : > M0RAM, PAGE = 1
/* 32-bit data sections */
.ebss : > L0L1RAM, PAGE = 1
.econst : > L0L1RAM, PAGE = 1
.esysmem : > L0L1RAM, PAGE = 1
}
|