关于stm32f030增加bootloader后外部中断不响应的问题

在对STM32F030进行Bootloader开发时,遇到一个问题:增加Bootloader后,尽管能正常跳转到应用程序并运行,但DMA中断与外部中断无法正常响应。博主在排查过程中对源码进行了详细分析,试图找出问题所在。
摘要由CSDN通过智能技术生成



问题描述:

   最近在调试stm32f030芯片,增加bootloader后,可以正常跳转到应用程序,程序能够正常跑起来,但是却不进DMA中断,外部中断无法响应,这个问题找了好久....


源码:

void NVIC_Configuration(void)
{	
	uint32_t i = 0;

	/* Relocate by software the vector table to the internal SRAM at 0x20000000 ***/  
	/* Copy the vector table from the Flash (mapped at the base of the application
	 load address 0x08001000) to the base address of the SRAM at 0x20000000. */

	for(i = 0; i < 48; i++)
	{
		VectorTable[i] = *(__IO uint32_t*)(APPLICATION_ADDRESS + (i<<2));
	}

	/* En
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值