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.

MSP430F5529: IAP开发问题

Part Number: MSP430F5529
  1. 请问使用CCS V10.0的开发环境做MSP430F5529单片机的Bootload和APP的程序下可以共用同一个中断吗?我现在在Bootload和APP下使用同一个uart中断的话,一旦从Bootload程序跳转到APP的话程序就会重启,只有当我在Bootload的串口中断服务函数里面写uart中断重映射后,在APP的功能才会正常。
  • 如果运行没问题的话,那就是可以了。感谢分享。

  • 您好,当前在APP的运行功能是正常的,但是这样子在BOOT就无法使用那个串口中断,我现在是想BOOT和APO都可以使用那个串口中断的功能,想看看有没有其他更好的方法,谢谢。

  • 我咨询下相关工程师后回复您。

  • 参考下工程师的回复:

    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.