请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:TMS320F28388D 您好!
如果只在闪存中对 CPU1项目进行编程、则 CPU2看门狗会发生什么情况。 CPU2看门狗默认开启、应生成 CPU1 NMI 并进行复位。 对吧? 在我们的示例中、这将导致无限循环。
The NMI on the CPU1 lead into an endless loop. static void Interrupt_nmiHandler(void) { // // A non-maskable interrupt has occurred, indicating that a hardware error // has occurred in the system. You can use SysCtl_getNMIFlagStatus() to // to read the NMIFLG register and determine what caused the NMI. // ESTOP0; for(;;) { ; } }
这意味着您应该始终对 CPU1项目和处理看门狗的 CPU2项目进行编程。 对吧?
此致、Holger