|
中断表写了
.title "vectors.asm"
.ref _c_int0,_nothing,_cap3int
.sect ".vectors"
reset: b _c_int0 ;00h 复位中断
int1: b _nothing ;02h 串口中断
int2: b _nothing ;04h 定时器1中断
int3: b _nothing ;06h
int4: b _cap3int ;08h
int5: b _nothing ;0Ah
int6: b _nothing ;0Ch
我的CMD文件是不是有问题啊:
MEMORY
{
PAGE 0 : VECS : origin = 0h , length = 40h /* 程序复位 */
PVECS : origin = 40h , length = 70h /* 外围模块中断向量 */
PROG : origin = 0b0h , length = 7F50h /* 在片FLASH */
PAGE 1 : MMRS : origin = 0h , length = 05Fh /* MMRS */
B2 : origin = 0060h , length = 020h /* DARAM B2 块 */
B0 : origin = 0200h , length = 100h /* DARAM B0 块 */
B1 : origin = 0300h , length = 400h /* DARAM B1 块 */
SARAM : origin = 0800h , length = 0800h /* SARAM 块 */
EXT : origin = 8000h , length = 8000h /* 外部存储器 */
当写这个CMD时告诉我
data verification failed at 0X00。
是怎么回事啊? |
|