I’ve got a difficult debug problem with my Q2687 on a custom AVL board using ADL. The board is in its 3rd version and has worked well for the last two versions.
But recently I’ve been getting increasing cases of the application hanging. It doesn’t respond “OK” to any command, and only responds to wopen=0 (thank goodness). So one could expect a software bug, but it seems to be happening across SW versions and hardware versions.
WC has an 8 second WD timer that resets the CPU if something causes it to “hang”, but somehow, whatever is causing my problem is outside of the influence of this timer. It feels like power supply, I could also suspect some memory allocation problem, I2C hanging or even noisy CTS/RTS. Tracing doesn’t seem to produce any clues, it just stops where-ever.
I’ve recently subscribed to the error handler to see if anything pops up there. All memGets seem to be properly released and I stopped I2C processing and still see the problem.
Any ideas on how to catch this thing? What else could cause the processor to “hang”?