|
export __vector_table
__vector_table
dcd g_pulStack + (STACK_SIZE * 4) // Offset 00: Initial stack pointer
#ifdef FLASH_PATCH_COMPATIBLE
dcd ResetISR - 0x1ffff000 // Offset 04: Reset handler
dcd NmiSR - 0x1ffff000 // Offset 08: NMI handler
dcd FaultISR - 0x1ffff000 // Offset 0C: Hard fault handler
#else
dcd ResetISR - 0x20000000 // Offset 04: Reset handler
dcd NmiSR - 0x20000000 // Offset 08: NMI handler
dcd FaultISR - 0x20000000 // Offset 0C: Hard fault handler
#endif
dcd IntDefaultHandler // Offset 10: MPU fault handler
dcd IntDefaultHandler // Offset 14: Bus fault handler
dcd IntDefaultHandler // Offset 18: Usage fault handler
......
单片机复位后按上面的定义应该跳到ResetISR - 0x20000000,按道理应该跳到ResetISR 才对啊? |
|