E45-420 · Communication and Bus · Communication Module · ★★★
A specific operating condition triggers a firmware hang in the slave; communication is permanently unresponsive and a power cycle is needed to reset it
[Mechanism] The firmware does not handle an exception branch, causing an infinite loop or runaway; the watchdog does not cover it and the communication task stalls.
[Calculation] A specific data combination triggers a null-pointer infinite loop; the watchdog is not fed and the node goes offline and loses data.
[Design Deficiency] The firmware was not fully tested and the watchdog was misconfigured.
① Watchdog: fit an independent hardware watchdog with full coverage → self-reset
② Exception protection: add exception-branch handling in the firmware → prevent runaway
③ Version upgrade: replace with a more robust firmware version → eliminate the bug
④ Watchdog service rules: the communication task feeds the watchdog periodically → keep alive
⑤ Offline monitoring: monitor node heartbeat and alarm → early detection
⑥ Stress testing: stress-test the firmware with boundary data → expose early
⑦ Hang verification: inject the trigger condition and test the reset → data confirmation
⑧ Selection standardization: write firmware reliability into the factory spec → control at the source
GB/T 19582.1-2008 Modbus protocol-based industrial automation network specification