本人前期完成基于TMS320F28377S的板级调试,可以将程序写入到片上RAM或片上FLASH进行调试,均正常,片上FLASH时掉电重启后也能按照预期运行程序(有指示灯);但是当将配置部分更改为芯片TMS320F28377D时,片上RAM模式下程序可以正常运行,片上FLASH时程序编译没有错误,具体有如下警告:
但是当复位芯片,将指针指向初始时即指向了main()内第一行代码InitDSP()。点击运行后程序自动停,显示如下:
只是在具体的cmd配置中均没有涉及到该地址区域的啊,请指点。cmd文件分为两个,分别为:F2837xS_Headers_nonBIOS.cmd和WLServo_F28377S_FLASH.cmd。其中F2837xS_Headers_nonBIOS.cmd和ControlSuit中样例一样,不曾有改动,附件为WLServo_F28377S_FLASH.cmd。
关键的配置如下,万请指教.
CLA_SCRATCHPAD_SIZE = 0x400;
–undef_sym=__cla_scratchpad_end
–undef_sym=__cla_scratchpad_start
/*#endif //CLA_C*/
MEMORY
{
PAGE 0 :
/* BEGIN is used for the "boot to SARAM" bootloader mode */
BEGIN : origin = 0x080000, length = 0x000002
RAMM0 : origin = 0x000122, length = 0x0002DE
RAMD0 : origin = 0x00B000, length = 0x000800
RAMLS0 : origin = 0x008000, length = 0x000800
RAMLS1 : origin = 0x008800, length = 0x000800
RAMLS2 : origin = 0x009000, length = 0x000800
RESET : origin = 0x3FFFC0, length = 0x000002
RAMGS0 : origin = 0x00C000, length = 0x001000
RAMGS1 : origin = 0x00D000, length = 0x001000
RAMGS2 : origin = 0x00E000, length = 0x001000
RAMGS3 : origin = 0x00F000, length = 0x001000
/* Flash sectors */
/* FLASHA : origin = 0x080002, length = 0x001FFE*/ /* on-chip Flash */
FLASHABC : origin = 0x080002, length = 0x005FFE /* on-chip Flash */
/* FLASHC : origin = 0x084000, length = 0x002000 on-chip Flash */
FLASHD : origin = 0x086000, length = 0x002000 /* on-chip Flash */
FLASHE : origin = 0x088000, length = 0x008000 /* on-chip Flash */
FLASHF : origin = 0x090000, length = 0x008000 /* on-chip Flash */
FLASHG : origin = 0x098000, length = 0x008000 /* on-chip Flash */
FLASHH : origin = 0x0A0000, length = 0x008000 /* on-chip Flash */
FLASHI : origin = 0x0A8000, length = 0x008000 /* on-chip Flash */
FLASHJ : origin = 0x0B0000, length = 0x008000 /* on-chip Flash */
FLASHK : origin = 0x0B8000, length = 0x002000 /* on-chip Flash */
FLASHL : origin = 0x0BA000, length = 0x002000 /* on-chip Flash */
FLASHM : origin = 0x0BC000, length = 0x002000 /* on-chip Flash */
FLASHN : origin = 0x0BE000, length = 0x002000 /* on-chip Flash */
PAGE 1 :
BOOT_RSVD : origin = 0x000002, length = 0x000120 /* Part of M0, BOOT rom will use this for stack */
RAMM1 : origin = 0x000400, length = 0x000400 /* on-chip RAM block M1 */
RAMLS3 : origin = 0x009800, length = 0x000800
RAMLS4 : origin = 0x00A000, length = 0x000800
RAMLS5 : origin = 0x00A800, length = 0x000800
RAMGS45 : origin = 0x010000, length = 0x002000
/* RAMGS5 : origin = 0x011000, length = 0x001000*/
RAMGS6 : origin = 0x012000, length = 0x001000
RAMGS7 : origin = 0x013000, length = 0x001000
RAMGS8 : origin = 0x014000, length = 0x001000
RAMGS9 : origin = 0x015000, length = 0x001000
RAMGS10 : origin = 0x016000, length = 0x001000
RAMGS11 : origin = 0x017000, length = 0x001000
RAMGS12 : origin = 0x018000, length = 0x001000
RAMGS13 : origin = 0x019000, length = 0x001000
RAMGS14 : origin = 0x01A000, length = 0x001000
RAMGS15 : origin = 0x01B000, length = 0x001000
CLA1_MSGRAMLOW : origin = 0x001480, length = 0x000080
CLA1_MSGRAMHIGH : origin = 0x001500, length = 0x000080
}
SECTIONS
{
/* Allocate program areas: */
.cinit : > FLASHABC PAGE = 0, ALIGN(4)
.pinit : > FLASHABC, PAGE = 0, ALIGN(4)
.text : > FLASHABC PAGE = 0, ALIGN(4)
codestart : > BEGIN PAGE = 0, ALIGN(4)
RamFuncs : LOAD = FLASHD,
RUN = RAMGS0,
LOAD_START(_RamFuncsLoadStart),
LOAD_SIZE(_RamFuncsLoadSize),
LOAD_END(_RamFuncsLoadEnd),
RUN_START(_RamFuncsRunStart),
RUN_SIZE(_RamFuncsRunSize),
RUN_END(_RamFuncsRunEnd),
PAGE = 0, ALIGN(4)
/* Allocate uninitalized data sections: */
.stack : > RAMM1 PAGE = 1
.ebss : > RAMGS45 PAGE = 1
.esysmem : > RAMGS45 PAGE = 1
/* Initalized sections go in Flash */
.econst : > FLASHABC PAGE = 0, ALIGN(4)
.switch : > FLASHABC PAGE = 0, ALIGN(4)
.reset : > RESET, PAGE = 0, TYPE = DSECT /* not used, */
IQmath : > FLASHE, PAGE = 0
IQmathTables : > FLASHE, PAGE = 0
IQmathTablesRam : > FLASHE, PAGE = 0
/* FPUmathTables : > RAMGS8, PAGE = 0*/
DATABUFFERAREA : > RAMGS6, PAGE = 1
/* CLA specific sections */
Cla1Prog : LOAD = FLASHD,
RUN = RAMLS0,
LOAD_START(_Cla1funcsLoadStart),
LOAD_END(_Cla1funcsLoadEnd),
RUN_START(_Cla1funcsRunStart),
LOAD_SIZE(_Cla1funcsLoadSize),
PAGE = 0, ALIGN(4)
CLA1mathTables : > RAMLS3, PAGE = 1
CLADataLS5 : > RAMLS5, PAGE = 1
Cla1ToCpuMsgRAM : > CLA1_MSGRAMLOW, PAGE = 1
CpuToCla1MsgRAM : > CLA1_MSGRAMHIGH, PAGE = 1
#ifdef __TI_COMPILER_VERSION
#if __TI_COMPILER_VERSION >= 15009000
.TI.ramfunc : {} LOAD = FLASHE,
RUN = RAMLS2,
LOAD_START(_RamFuncsLoadStart),
LOAD_SIZE(_RamFuncsLoadSize),
LOAD_END(_RamFuncsLoadEnd),
RUN_START(_RamFuncsRunStart),
RUN_SIZE(_RamFuncsRunSize),
RUN_END(_RamFuncsRunEnd),
PAGE = 0, ALIGN(4)
#endif
#endif
Filter_RegsFile : > RAMGS10, PAGE = 1
/* The following section definition are for SDFM examples */ Filter1_RegsFile : > RAMGS11, PAGE = 1, fill=0x1111
Filter2_RegsFile : > RAMGS12, PAGE = 1, fill=0x2222
Filter3_RegsFile : > RAMGS13, PAGE = 1, fill=0x3333
Filter4_RegsFile : > RAMGS14, PAGE = 1, fill=0x4444
/*#ifdef CLA_C*/
/* CLA C compiler sections */
//
// Must be allocated to memory the CLA has write access to
//
CLAscratch :
{ *.obj(CLAscratch)
. += CLA_SCRATCHPAD_SIZE;
*.obj(CLAscratch_end) } > RAMLS1, PAGE = 0
.scratchpad : > RAMLS1, PAGE = 0
.bss_cla : > RAMLS1, PAGE = 0
.const_cla : LOAD = FLASHABC,
RUN = RAMLS1,
RUN_START(_Cla1ConstRunStart),
LOAD_START(_Cla1ConstLoadStart),
LOAD_SIZE(_Cla1ConstLoadSize),
PAGE = 0
/*#endif //CLA_C*/
}
kafei zhang:
下载程序的时候也有报错如下:
C28xx_CPU1: GEL Output: Memory Map Initialization CompleteC28xx_CPU1: Loader: One or more sections of your program falls into a memory region that is not writable. These regions will not actually be written to the target. Check your linker configuration and/or memory map.C28xx_CPU1: File Loader: Verification failed: Values at address 0x81B08@Program do not match Please verify target memory and memory map.C28xx_CPU1: GEL: File: G:\SVNReport\CCS\Demo_F28377D\CPU1_FLASH\Demo_F28377D.out: a data verification error occurred, file load failed.
本人前期完成基于TMS320F28377S的板级调试,可以将程序写入到片上RAM或片上FLASH进行调试,均正常,片上FLASH时掉电重启后也能按照预期运行程序(有指示灯);但是当将配置部分更改为芯片TMS320F28377D时,片上RAM模式下程序可以正常运行,片上FLASH时程序编译没有错误,具体有如下警告:
但是当复位芯片,将指针指向初始时即指向了main()内第一行代码InitDSP()。点击运行后程序自动停,显示如下:
只是在具体的cmd配置中均没有涉及到该地址区域的啊,请指点。cmd文件分为两个,分别为:F2837xS_Headers_nonBIOS.cmd和WLServo_F28377S_FLASH.cmd。其中F2837xS_Headers_nonBIOS.cmd和ControlSuit中样例一样,不曾有改动,附件为WLServo_F28377S_FLASH.cmd。
关键的配置如下,万请指教.
CLA_SCRATCHPAD_SIZE = 0x400;
–undef_sym=__cla_scratchpad_end
–undef_sym=__cla_scratchpad_start
/*#endif //CLA_C*/
MEMORY
{
PAGE 0 :
/* BEGIN is used for the "boot to SARAM" bootloader mode */
BEGIN : origin = 0x080000, length = 0x000002
RAMM0 : origin = 0x000122, length = 0x0002DE
RAMD0 : origin = 0x00B000, length = 0x000800
RAMLS0 : origin = 0x008000, length = 0x000800
RAMLS1 : origin = 0x008800, length = 0x000800
RAMLS2 : origin = 0x009000, length = 0x000800
RESET : origin = 0x3FFFC0, length = 0x000002
RAMGS0 : origin = 0x00C000, length = 0x001000
RAMGS1 : origin = 0x00D000, length = 0x001000
RAMGS2 : origin = 0x00E000, length = 0x001000
RAMGS3 : origin = 0x00F000, length = 0x001000
/* Flash sectors */
/* FLASHA : origin = 0x080002, length = 0x001FFE*/ /* on-chip Flash */
FLASHABC : origin = 0x080002, length = 0x005FFE /* on-chip Flash */
/* FLASHC : origin = 0x084000, length = 0x002000 on-chip Flash */
FLASHD : origin = 0x086000, length = 0x002000 /* on-chip Flash */
FLASHE : origin = 0x088000, length = 0x008000 /* on-chip Flash */
FLASHF : origin = 0x090000, length = 0x008000 /* on-chip Flash */
FLASHG : origin = 0x098000, length = 0x008000 /* on-chip Flash */
FLASHH : origin = 0x0A0000, length = 0x008000 /* on-chip Flash */
FLASHI : origin = 0x0A8000, length = 0x008000 /* on-chip Flash */
FLASHJ : origin = 0x0B0000, length = 0x008000 /* on-chip Flash */
FLASHK : origin = 0x0B8000, length = 0x002000 /* on-chip Flash */
FLASHL : origin = 0x0BA000, length = 0x002000 /* on-chip Flash */
FLASHM : origin = 0x0BC000, length = 0x002000 /* on-chip Flash */
FLASHN : origin = 0x0BE000, length = 0x002000 /* on-chip Flash */
PAGE 1 :
BOOT_RSVD : origin = 0x000002, length = 0x000120 /* Part of M0, BOOT rom will use this for stack */
RAMM1 : origin = 0x000400, length = 0x000400 /* on-chip RAM block M1 */
RAMLS3 : origin = 0x009800, length = 0x000800
RAMLS4 : origin = 0x00A000, length = 0x000800
RAMLS5 : origin = 0x00A800, length = 0x000800
RAMGS45 : origin = 0x010000, length = 0x002000
/* RAMGS5 : origin = 0x011000, length = 0x001000*/
RAMGS6 : origin = 0x012000, length = 0x001000
RAMGS7 : origin = 0x013000, length = 0x001000
RAMGS8 : origin = 0x014000, length = 0x001000
RAMGS9 : origin = 0x015000, length = 0x001000
RAMGS10 : origin = 0x016000, length = 0x001000
RAMGS11 : origin = 0x017000, length = 0x001000
RAMGS12 : origin = 0x018000, length = 0x001000
RAMGS13 : origin = 0x019000, length = 0x001000
RAMGS14 : origin = 0x01A000, length = 0x001000
RAMGS15 : origin = 0x01B000, length = 0x001000
CLA1_MSGRAMLOW : origin = 0x001480, length = 0x000080
CLA1_MSGRAMHIGH : origin = 0x001500, length = 0x000080
}
SECTIONS
{
/* Allocate program areas: */
.cinit : > FLASHABC PAGE = 0, ALIGN(4)
.pinit : > FLASHABC, PAGE = 0, ALIGN(4)
.text : > FLASHABC PAGE = 0, ALIGN(4)
codestart : > BEGIN PAGE = 0, ALIGN(4)
RamFuncs : LOAD = FLASHD,
RUN = RAMGS0,
LOAD_START(_RamFuncsLoadStart),
LOAD_SIZE(_RamFuncsLoadSize),
LOAD_END(_RamFuncsLoadEnd),
RUN_START(_RamFuncsRunStart),
RUN_SIZE(_RamFuncsRunSize),
RUN_END(_RamFuncsRunEnd),
PAGE = 0, ALIGN(4)
/* Allocate uninitalized data sections: */
.stack : > RAMM1 PAGE = 1
.ebss : > RAMGS45 PAGE = 1
.esysmem : > RAMGS45 PAGE = 1
/* Initalized sections go in Flash */
.econst : > FLASHABC PAGE = 0, ALIGN(4)
.switch : > FLASHABC PAGE = 0, ALIGN(4)
.reset : > RESET, PAGE = 0, TYPE = DSECT /* not used, */
IQmath : > FLASHE, PAGE = 0
IQmathTables : > FLASHE, PAGE = 0
IQmathTablesRam : > FLASHE, PAGE = 0
/* FPUmathTables : > RAMGS8, PAGE = 0*/
DATABUFFERAREA : > RAMGS6, PAGE = 1
/* CLA specific sections */
Cla1Prog : LOAD = FLASHD,
RUN = RAMLS0,
LOAD_START(_Cla1funcsLoadStart),
LOAD_END(_Cla1funcsLoadEnd),
RUN_START(_Cla1funcsRunStart),
LOAD_SIZE(_Cla1funcsLoadSize),
PAGE = 0, ALIGN(4)
CLA1mathTables : > RAMLS3, PAGE = 1
CLADataLS5 : > RAMLS5, PAGE = 1
Cla1ToCpuMsgRAM : > CLA1_MSGRAMLOW, PAGE = 1
CpuToCla1MsgRAM : > CLA1_MSGRAMHIGH, PAGE = 1
#ifdef __TI_COMPILER_VERSION
#if __TI_COMPILER_VERSION >= 15009000
.TI.ramfunc : {} LOAD = FLASHE,
RUN = RAMLS2,
LOAD_START(_RamFuncsLoadStart),
LOAD_SIZE(_RamFuncsLoadSize),
LOAD_END(_RamFuncsLoadEnd),
RUN_START(_RamFuncsRunStart),
RUN_SIZE(_RamFuncsRunSize),
RUN_END(_RamFuncsRunEnd),
PAGE = 0, ALIGN(4)
#endif
#endif
Filter_RegsFile : > RAMGS10, PAGE = 1
/* The following section definition are for SDFM examples */ Filter1_RegsFile : > RAMGS11, PAGE = 1, fill=0x1111
Filter2_RegsFile : > RAMGS12, PAGE = 1, fill=0x2222
Filter3_RegsFile : > RAMGS13, PAGE = 1, fill=0x3333
Filter4_RegsFile : > RAMGS14, PAGE = 1, fill=0x4444
/*#ifdef CLA_C*/
/* CLA C compiler sections */
//
// Must be allocated to memory the CLA has write access to
//
CLAscratch :
{ *.obj(CLAscratch)
. += CLA_SCRATCHPAD_SIZE;
*.obj(CLAscratch_end) } > RAMLS1, PAGE = 0
.scratchpad : > RAMLS1, PAGE = 0
.bss_cla : > RAMLS1, PAGE = 0
.const_cla : LOAD = FLASHABC,
RUN = RAMLS1,
RUN_START(_Cla1ConstRunStart),
LOAD_START(_Cla1ConstLoadStart),
LOAD_SIZE(_Cla1ConstLoadSize),
PAGE = 0
/*#endif //CLA_C*/
}
Seven Han:
回复 kafei zhang:
那你已经通过view -> target configuration 将.ccxml配置文件改成了f28377D的?ram是可以运行的,你的仿真器和芯片是正常连接的?你的ccs版本是?
本人前期完成基于TMS320F28377S的板级调试,可以将程序写入到片上RAM或片上FLASH进行调试,均正常,片上FLASH时掉电重启后也能按照预期运行程序(有指示灯);但是当将配置部分更改为芯片TMS320F28377D时,片上RAM模式下程序可以正常运行,片上FLASH时程序编译没有错误,具体有如下警告:
但是当复位芯片,将指针指向初始时即指向了main()内第一行代码InitDSP()。点击运行后程序自动停,显示如下:
只是在具体的cmd配置中均没有涉及到该地址区域的啊,请指点。cmd文件分为两个,分别为:F2837xS_Headers_nonBIOS.cmd和WLServo_F28377S_FLASH.cmd。其中F2837xS_Headers_nonBIOS.cmd和ControlSuit中样例一样,不曾有改动,附件为WLServo_F28377S_FLASH.cmd。
关键的配置如下,万请指教.
CLA_SCRATCHPAD_SIZE = 0x400;
–undef_sym=__cla_scratchpad_end
–undef_sym=__cla_scratchpad_start
/*#endif //CLA_C*/
MEMORY
{
PAGE 0 :
/* BEGIN is used for the "boot to SARAM" bootloader mode */
BEGIN : origin = 0x080000, length = 0x000002
RAMM0 : origin = 0x000122, length = 0x0002DE
RAMD0 : origin = 0x00B000, length = 0x000800
RAMLS0 : origin = 0x008000, length = 0x000800
RAMLS1 : origin = 0x008800, length = 0x000800
RAMLS2 : origin = 0x009000, length = 0x000800
RESET : origin = 0x3FFFC0, length = 0x000002
RAMGS0 : origin = 0x00C000, length = 0x001000
RAMGS1 : origin = 0x00D000, length = 0x001000
RAMGS2 : origin = 0x00E000, length = 0x001000
RAMGS3 : origin = 0x00F000, length = 0x001000
/* Flash sectors */
/* FLASHA : origin = 0x080002, length = 0x001FFE*/ /* on-chip Flash */
FLASHABC : origin = 0x080002, length = 0x005FFE /* on-chip Flash */
/* FLASHC : origin = 0x084000, length = 0x002000 on-chip Flash */
FLASHD : origin = 0x086000, length = 0x002000 /* on-chip Flash */
FLASHE : origin = 0x088000, length = 0x008000 /* on-chip Flash */
FLASHF : origin = 0x090000, length = 0x008000 /* on-chip Flash */
FLASHG : origin = 0x098000, length = 0x008000 /* on-chip Flash */
FLASHH : origin = 0x0A0000, length = 0x008000 /* on-chip Flash */
FLASHI : origin = 0x0A8000, length = 0x008000 /* on-chip Flash */
FLASHJ : origin = 0x0B0000, length = 0x008000 /* on-chip Flash */
FLASHK : origin = 0x0B8000, length = 0x002000 /* on-chip Flash */
FLASHL : origin = 0x0BA000, length = 0x002000 /* on-chip Flash */
FLASHM : origin = 0x0BC000, length = 0x002000 /* on-chip Flash */
FLASHN : origin = 0x0BE000, length = 0x002000 /* on-chip Flash */
PAGE 1 :
BOOT_RSVD : origin = 0x000002, length = 0x000120 /* Part of M0, BOOT rom will use this for stack */
RAMM1 : origin = 0x000400, length = 0x000400 /* on-chip RAM block M1 */
RAMLS3 : origin = 0x009800, length = 0x000800
RAMLS4 : origin = 0x00A000, length = 0x000800
RAMLS5 : origin = 0x00A800, length = 0x000800
RAMGS45 : origin = 0x010000, length = 0x002000
/* RAMGS5 : origin = 0x011000, length = 0x001000*/
RAMGS6 : origin = 0x012000, length = 0x001000
RAMGS7 : origin = 0x013000, length = 0x001000
RAMGS8 : origin = 0x014000, length = 0x001000
RAMGS9 : origin = 0x015000, length = 0x001000
RAMGS10 : origin = 0x016000, length = 0x001000
RAMGS11 : origin = 0x017000, length = 0x001000
RAMGS12 : origin = 0x018000, length = 0x001000
RAMGS13 : origin = 0x019000, length = 0x001000
RAMGS14 : origin = 0x01A000, length = 0x001000
RAMGS15 : origin = 0x01B000, length = 0x001000
CLA1_MSGRAMLOW : origin = 0x001480, length = 0x000080
CLA1_MSGRAMHIGH : origin = 0x001500, length = 0x000080
}
SECTIONS
{
/* Allocate program areas: */
.cinit : > FLASHABC PAGE = 0, ALIGN(4)
.pinit : > FLASHABC, PAGE = 0, ALIGN(4)
.text : > FLASHABC PAGE = 0, ALIGN(4)
codestart : > BEGIN PAGE = 0, ALIGN(4)
RamFuncs : LOAD = FLASHD,
RUN = RAMGS0,
LOAD_START(_RamFuncsLoadStart),
LOAD_SIZE(_RamFuncsLoadSize),
LOAD_END(_RamFuncsLoadEnd),
RUN_START(_RamFuncsRunStart),
RUN_SIZE(_RamFuncsRunSize),
RUN_END(_RamFuncsRunEnd),
PAGE = 0, ALIGN(4)
/* Allocate uninitalized data sections: */
.stack : > RAMM1 PAGE = 1
.ebss : > RAMGS45 PAGE = 1
.esysmem : > RAMGS45 PAGE = 1
/* Initalized sections go in Flash */
.econst : > FLASHABC PAGE = 0, ALIGN(4)
.switch : > FLASHABC PAGE = 0, ALIGN(4)
.reset : > RESET, PAGE = 0, TYPE = DSECT /* not used, */
IQmath : > FLASHE, PAGE = 0
IQmathTables : > FLASHE, PAGE = 0
IQmathTablesRam : > FLASHE, PAGE = 0
/* FPUmathTables : > RAMGS8, PAGE = 0*/
DATABUFFERAREA : > RAMGS6, PAGE = 1
/* CLA specific sections */
Cla1Prog : LOAD = FLASHD,
RUN = RAMLS0,
LOAD_START(_Cla1funcsLoadStart),
LOAD_END(_Cla1funcsLoadEnd),
RUN_START(_Cla1funcsRunStart),
LOAD_SIZE(_Cla1funcsLoadSize),
PAGE = 0, ALIGN(4)
CLA1mathTables : > RAMLS3, PAGE = 1
CLADataLS5 : > RAMLS5, PAGE = 1
Cla1ToCpuMsgRAM : > CLA1_MSGRAMLOW, PAGE = 1
CpuToCla1MsgRAM : > CLA1_MSGRAMHIGH, PAGE = 1
#ifdef __TI_COMPILER_VERSION
#if __TI_COMPILER_VERSION >= 15009000
.TI.ramfunc : {} LOAD = FLASHE,
RUN = RAMLS2,
LOAD_START(_RamFuncsLoadStart),
LOAD_SIZE(_RamFuncsLoadSize),
LOAD_END(_RamFuncsLoadEnd),
RUN_START(_RamFuncsRunStart),
RUN_SIZE(_RamFuncsRunSize),
RUN_END(_RamFuncsRunEnd),
PAGE = 0, ALIGN(4)
#endif
#endif
Filter_RegsFile : > RAMGS10, PAGE = 1
/* The following section definition are for SDFM examples */ Filter1_RegsFile : > RAMGS11, PAGE = 1, fill=0x1111
Filter2_RegsFile : > RAMGS12, PAGE = 1, fill=0x2222
Filter3_RegsFile : > RAMGS13, PAGE = 1, fill=0x3333
Filter4_RegsFile : > RAMGS14, PAGE = 1, fill=0x4444
/*#ifdef CLA_C*/
/* CLA C compiler sections */
//
// Must be allocated to memory the CLA has write access to
//
CLAscratch :
{ *.obj(CLAscratch)
. += CLA_SCRATCHPAD_SIZE;
*.obj(CLAscratch_end) } > RAMLS1, PAGE = 0
.scratchpad : > RAMLS1, PAGE = 0
.bss_cla : > RAMLS1, PAGE = 0
.const_cla : LOAD = FLASHABC,
RUN = RAMLS1,
RUN_START(_Cla1ConstRunStart),
LOAD_START(_Cla1ConstLoadStart),
LOAD_SIZE(_Cla1ConstLoadSize),
PAGE = 0
/*#endif //CLA_C*/
}
kafei zhang:
回复 Seven Han:
原因找到了,就是两块板子外部晶振不一样,377S为10MHz,乘以20后到200MHz系统主频,377D为20MHz,不能乘以20,应该乘以10后才是200MHz的主频.