高级会员

- 积分
- 810
- 金钱
- 810
- 注册时间
- 2014-3-4
- 在线时间
- 11 小时
|
1金钱
本帖最后由 mande 于 2024-9-15 16:25 编辑
如题,原来调试OK的外部中断在加了Bootloader功能后失效,有进行中断向量表的拷贝和设置,串口的中断也是正常的void VectorTblInit(void)
{
#ifdef STM32F030
uint8 i;
for(i = 0; i < 48; i++)
{
VectorTable = *(volatile uint32*)(ApplicationAddress + (i<<2));
}
/* Enable the SYSCFG peripheral clock*/
RCC_APB2PeriphResetCmd(RCC_APB2Periph_SYSCFG, ENABLE);
/* Remap SRAM at 0x00000000 */
SYSCFG_MemoryRemapConfig(SYSCFG_MemoryRemap_SRAM);
#endif
}
请问有没有遇到这样问题的,急,感激不尽!
|
|