设 置 程 序 起 始 位 置 的 方 法 是 (keil uvision4 集 成 开
发 环 境 )在 工 程 的 “Option for Target… .”界 面 中 的
“Target”页里 将 “IROM”的 “Start”列 改 为 “程 序 起 始
位 置”。
IAP中断向量表设置如下:
void NVIC_SetVectorTable(u32NVIC_VectTab,u32
Offset);
void NVIC_SetVectorTable(0x8000000,0x00);//偏
移量0x00
APP中断向量表设置如下:
void NVIC_SetVectorTable(u32NVIC_VectTab,u32
Offset);
void NVIC_SetVectorTable(0x8000000,0x8000);//
偏移量0x8000
|