dsp2808軟件模擬仿真編譯不通過
新手 用dsp2808時,ccs3.1軟件模擬仿真ti自帶程序,編譯時系統提示; [Example_280xCpuTimer.c] "C:\CCStudio_v3.1\C2000\cgtools\bin\cl2000" -g -q -pdr -fr"C:/tidcs/c28/DSP280x/v110/DSP280x_examples/cpu_timer/Debug" -fs"C:/tidcs/c28/DSP280x/v110/DSP280x_examples/cpu_timer/Debug" -i"../../DSP280x_headers/include" -i"../../DSP280x_common/include" -d"_DEBUG" -d"LARGE_MODEL" -ml -mt -v28 -@"Debug.lkf" "Example_280xCpuTimer.c"
[Linking...] "C:\CCStudio_v3.1\C2000\cgtools\bin\cl2000" -@"Debug.lkf" <Linking> >> warning: entry point other than _c_int00 specified
Build Complete, 0 Errors, 1 Warnings, 0 Remarks.
在 file\load program掉用Example_280xCpuTimer.out時,系統提示信息,不能調適,運行, 系統提示; 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. Can't Set Breakpoint at 0x3fa06a: Cannot access memory address 0x3FA06A An error was encountered attempting to set a breakpoint used for end of program detection.
懷疑是TI 的cmd文件在軟件模擬仿真時需要修改 ,請大家指教
MEMORY { PAGE 0 : /* For this example, H0 is split between PAGE 0 and PAGE 1 */ /* BEGIN is used for the "boot to SARAM" bootloader mode */ BEGIN : origin = 0x000000, length = 0x000002 RAMM0 : origin = 0x000002, length = 0x0003FE  RAMH0 : origin = 0x3FA000, length = 0x004000 /*3FA000*/ RESET : origin = 0x3FFFC0, length = 0x000002 BOOTROM : origin = 0x3FF000, length = 0x000FC0
PAGE 1 :
/* For this example, H0 is split between PAGE 0 and PAGE 1 */
RAMM1 : origin = 0x000400, length = 0x000400 DRAMH0 : origin = 0x3FB000, length = 0x004000 /*0x3FB000 */ }
SECTIONS { /* Setup for "boot to SARAM" mode: The codestart section (found in DSP28_CodeStartBranch.asm) re-directs execution to the start of user code. */ codestart : > BEGIN,  AGE = 0 ramfuncs : > RAMM0 PAGE = 0 .text : > PRAMH0,  AGE = 0 .cinit : > RAMM0,  AGE = 0 .pinit : > RAMM0,  AGE = 0 .switch : > RAMM0,  AGE = 0 .reset : > RESET,  AGE = 0, TYPE = DSECT /* not used, */ .stack : > RAMM1,  AGE = 1 .ebss : > DRAMH0,  AGE = 1 .econst : > DRAMH0,  AGE = 1 .esysmem : > RAMM1, PAGE = 1
IQmath : > PRAMH0, PAGE = 0 IQmathTables : > BOOTROM, type = NOLOAD, PAGE = 0
} 請大家指教,謝謝!
|