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.

[参考译文] EP:锁步工作机制

Guru**** 2464570 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1469861/tms570lc4357-ep-lockstep-working-mechanism

器件型号:EP

工具与软件:

1、锁步可能触发 ESM 组1和组2的自检和比较错误、并且能够触发一个中断。 中断中建议的处理方式是什么? (复位还是指令回滚?)

如下图所示、应用软件需要确保两个 CPU 上的 CPU 寄存器在使用前使用相同的值进行初始化、包括将寄存器值压入堆栈的函数调用。

但用户不仅可以看到一个 CPU 吗? 如何以相同的值初始化两个 CPU?

3.处理功能是一个中断,处理完成后,堆栈指针应回到原来的位置执行先前未完成的操作,不应跳转到 mian 功能?

请帮助回答上述问题、非常感谢、向这里致敬。