The “reason: error recovery” means that the watchdog timer has fired. This is nothing that Squirrel code can cause directly, and usually indicates either a bug in the improm firmware itself, or a hardware issue causing something to stall. I don’t think we’ve previously heard of imp005 uart2 issues causing watchdogs – that stuff is quite solidly system-tested. What improm version are you using? (
imp.getsoftwareversion) Could you let me know your device ID (
hardware.getdeviceid), by private message if you’d prefer, so that I can go and look in our crash logs to see if there’s anything there that sheds any more light on it? What’s the hardware – is it an imp005-breakout or a board of your own design?