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.
您好!
如果只在闪存中对 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
您好、Holger、
默认情况下、CPU2看门狗处于禁用状态、因此不应导致任何复位。
此致、
Vivek Singh
您好、Vivek、
其中记录了默认情况下禁用 CPU2看门狗。 从 CPU2引导流程图(5-4)中、应启用它。
此致、Holger
Holger、
你是对的。 根据引导流程、也在 CPU2上启用 WD。 我正在与我们的软件团队讨论此问题、并将在1-2天内回复您。
此致、
Vivek Singh
Holger、
在原始查询上-
[~ userid="8038" URL"/support/microrims/C2000-microset-group/C2000/f/C2000-microriers-forum/1121613/tms320f28388d-CPU2-watchd"]如果我只在闪存中对 CPU1项目进行编程、CPU2看门狗会发生什么情况。在此器件上、CPU2复位仅由 CPU1应用程序代码释放。 因此、如果您不想加载 CPU2闪存、则不要在复位后释放 CPU2。 在 CCS 中、CPU1 GEL 文件将释放 CPU2复位。 您可以编辑 CPU1 GEL 文件以删除该代码、也可以同时连接 CPU2、这将使 CPU2 WD 保持暂停状态。
此致、
Vivek Singh