|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
本帖最后由 cjsb37 于 2013-4-29 09:06 编辑
我将cmd配置成外部ram形式,编译和下载都没有错误,可是单步调试时一点go main就出现Trouble Removing Breakpoint with the Action "Terminate GEL_Go()" at 0x8028d: Error 0x00000008/-1076 Error during: Break Point, Cannot set/verify breakpoint at 0x0008028D
请有经验的人给我讲讲,这个问题困扰我好几天了,查来查去也没有个好的说法。下面是我写的cmd,请高手看看有什么不对的吗?
谢谢各位大侠 | MEMORY
{
PAGE 0 :
/* For this example, H0 is split between PAGE 0 and PAGE 1 */
/* BEGIN is used for the "boot to HO" bootloader mode */
/* RESET is loaded with the reset vector only if */
/* the boot is from XINTF Zone 7. Otherwise reset vector */
/* is fetched from boot ROM. See .reset section below */
RAMM0 : origin = 0x000000, length = 0x000400
BEGIN : origin = 0x3F8000, length = 0x000002
PRAMH0 : origin = 0x3F8086, length = 0x000F79
RESET : origin = 0x3FFFC0, length = 0x000002 /* part of boot ROM (MP/MCn=0) or XINTF zone 7 (MP/MCn=1) */
VECTORS : origin = 0x3FFFC2, length = 0x00003E /* part of boot ROM (MP/MCn=0) or XINTF zone 7 (MP/MCn=1) */
EXTRAM : origin = 0x080000, length = 0x008FFF
PAGE 1 :
/* For this example, H0 is split between PAGE 0 and PAGE 1 */
RAMM1 : origin = 0x000400, length = 0x000400
DRAMH0 : origin = 0x3F9000, length = 0x001000
EXTRAM : origin = 0x08FFFF, length = 0x008000
}
SECTIONS
{
/* Setup for "boot to H0" mode:
The codestart section (found in DSP28_CodeStartBranch.asm)
re-directs execution to the start of user code.
Place this section at the start of H0 */
codestart : > BEGIN, PAGE = 0
ramfuncs : > EXTRAM,
LOAD_START(_RamfuncsLoadStart),
LOAD_END(_RamfuncsLoadEnd),
RUN_START(_RamfuncsRunStart),
PAGE = 0
.text : > EXTRAM, PAGE = 0
.cinit : > PRAMH0, PAGE = 0
.pinit : > PRAMH0, PAGE = 0
.switch : > RAMM0, PAGE = 0
.reset : > RESET, PAGE = 0, TYPE = DSECT /* not used, */
.stack : > RAMM1, PAGE = 1
.ebss : > EXTRAM, PAGE = 1
.econst : > EXTRAM, PAGE = 1
.esysmem : > DRAMH0, PAGE = 1
.const : > EXTRAM, PAGE = 1
.sysmem : > DRAMH0, PAGE = 1
.cio : > DRAMH0, PAGE = 1
}
|
|