- 请问使用CCS V10.0的开发环境做MSP430F5529单片机的Bootload和APP的程序下可以共用同一个中断吗?我现在在Bootload和APP下使用同一个uart中断的话,一旦从Bootload程序跳转到APP的话程序就会重启,只有当我在Bootload的串口中断服务函数里面写uart中断重映射后,在APP的功能才会正常。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
参考下工程师的回复:
This should be possible, sharing functions or interrupts between a custom boot loader and application is possible as long as the address is known to both. What is happening in the application when the UART interrupt should be firing instead?
Is your UART interrupt able to function for your application without the use of variables that are local to your boot loader?
If you want to look at another potential implementation, in MSP_BOOT, the application vector table is redirected to from the vector table in the boot loader memory space.