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.

[参考译文] AM2634:AM2634 以太网中断停止

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1645728/am2634-am2634-ethernet-interrupt-is-getting-stopped

器件型号: AM2634

之前、我们根据 TI 以太网驱动程序的参考实施了自定义以太网驱动程序、然后我们在一段时间后面临以太网 TX 中断停止的问题、这不仅是中断、还包括以太网外设。 但内核的其余部分(例如 MAIN 和 UART 中的处理)都可以正常工作。

因此、我们参考了 TRM 和附录、并修改了以太网中的 TX 处理(如果标头不为零,则移至软件队列)。 然后、仅在前三帧中触发中断、然后中断不会被触发、但当我检查描述符时、它们将被清除。 因此、我们修改了实现、从而依赖于原始中断状态来回收 TX 描述符。 但在这一实现中、我们正在分阶段解决一个问题、即经过长期(1-2 天)、主处理以及其他外设暂停。 我们不确定其触发条件。

从一开始就使用原始中断状态来处理 RX。

您能帮助我们详细说明为什么停止 TX 中断、以及内核为何可能进入故障状态吗?

 

此致、

Srinivas