你在这里面多定义了一个中断矢量。把最后一个去掉就可以啦。
void (* const _vect[])() @0xFFDC = { // Interrupt vector table isrINT_TBM, /* Int.no. 0 INT_TBM (at FFDC) Used*/ UNASSIGNED_ISR, /* Int.no. 1 INT_SPITransmit (at FFDE) Unassigned*/ UNASSIGNED_ISR, /* Int.no. 2 INT_SPIReceive (at FFE0) Unassigned*/ UNASSIGNED_ISR, /* Int.no. 3 INT_ADC (at FFE2) Unassigned */ UNASSIGNED_ISR, /* Int.no. 4 INT_KBI (at FFE4) Unassigned */ UNASSIGNED_ISR, /* Int.no. 5 INT_SCITransmit (at FFE6) Unassigned */ UNASSIGNED_ISR, /* Int.no. 6 INT_SCIReceive (at FFE8) Unassigned */ UNASSIGNED_ISR, /* Int.no. 7 INT_SCIError (at FFEA) Unassigned */ UNASSIGNED_ISR, /* Int.no. 8 INT_TIMBOvr (at FFEC) Unassigned */ UNASSIGNED_ISR, /* Int.no. 9 INT_TIMBCH1 (at FFEE) Unassigned */ UNASSIGNED_ISR, /* Int.no. 10 INT_TIMBCH0 (at FFF0) Unassigned */ UNASSIGNED_ISR, /* Int.no. 11 INT_TIMAOvr (at FFF2) Unassigned */ UNASSIGNED_ISR, /* Int.no. 12 INT_TIMACH1 (at FFF4) Unassigned */ UNASSIGNED_ISR, /* Int.no. 13 INT_TIMACH0 (at FFF6) Unassigned */ UNASSIGNED_ISR, /* Int.no. 14 INT_ICG (at FFF8) Unassigned */ UNASSIGNED_ISR, /* Int.no. 15 INT_IRQ1 (at FFFA) Unassigned */ UNASSIGNED_ISR, /* Int.no. 16 INT_SWI (at FFFC) Unassigned */ //UNASSIGNED_ISR /* Int.no. 17 INT_RESET (at FFFE) Reset vector */ };
[此贴子已经被strongchen于2007-4-28 10:44:09编辑过] |