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.

[FAQ] 【FAQ】MSP430F5xx / 6xx重定位中断向量

Other Parts Discussed in Thread: MSP430F5438A

在5xx / 6xx系列设备上,可以通过设置SYSCTL寄存器的SYSRIVECT将中断向量重新分配给RAM。通过将中断向量重新定位到RAM,BSL代码能够使用中断,其中BSL的中断向量不会与应用程序的中断发生冲突。

以下示例代码显示了如何在MSP430F5438A上执行此操作:

 

1 CCS v5.x (compile option: --code_model==small): 工程文件下载

2 IAR:工程文件下载