正如图片所示,对于dsp中flash的CMD文件,我们是把程序只放在一个RamFuncs 空间里面,还是如图
RamFuncs : LOAD = FLASH_GH,PAGE = 0 /* Used by InitFlash() in SysCtrl.c */
RUN = H0SARAM, PAGE = 0
LOAD_START(_RamFuncs_LoadStart),
LOAD_END(_RamFuncs_LoadEnd),
RUN_START(_RamFuncs_RunStart)
DspFuncs : LOAD = FLASH_GH,PAGE = 0
RUN = H0SARAM, PAGE = 0
LOAD_START(_DspFuncs_LoadStart),
LOAD_END(_DspFuncs_LoadEnd),
RUN_START(_DspFuncs_RunStart)
DspFuncsRAM : LOAD = FLASH_GH,PAGE = 0
RUN = H0SARAM, PAGE = 0
LOAD_START(_DspFuncsRAM_LoadStart),
LOAD_END(_DspFuncsRAM_LoadEnd),
RUN_START(_DspFuncsRAM_RunStart)
MainLoopFuncs : LOAD = FLASH_GH,PAGE = 0
RUN = L1SARAM, PAGE = 0
LOAD_START(_MainLoopFuncs_LoadStart),
LOAD_END(_MainLoopFuncs_LoadEnd),
RUN_START(_MainLoopFuncs_RunStart)
分很多类,分别放入各种的空间中呢?他俩有什么区别吗?还有就是我把程序在" FLASH_GH" 运行和放在“ FLASH_AB”运行有区别吗?
|