How We Used AT1032S to Hunt Down a HardFault in a Factory Network

We were working on a CANopen-to-Modbus converter for a factory project when the firmware decided to develop a personality.
Every now and then, the converter would crash with a HardFault. Not every hour. Not every test cycle. Not even every shift. More like once every one or two days, just often enough to be a serious problem and just rarely enough to be deeply annoying.
And of course, the bug only showed up in the real installation.
In a factory, that is a terrible place to play "let's try stuff and see what happens." The environment is mission-critical, the system has to keep doing its job, and nobody is excited about an engineer showing up with a cable and a chaotic debugging plan.
So we needed a different approach: bring the factory home.




