Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, a web toolkit designed to help citizens, conservation practitioners, municipal decision-makers, researchers, educators, and students advance knowledge and stewardship of fresh water. New to EnviroDIY?Start here
Has anybody seen a Mayfly freeze or got any thoughts on debugging it when frozen, or used the JTAG/Mayfly.
I’ve got an occurrence of a Mayfly frozen, and its about the 4th captured occurrence of it.
In each of the 4 cases I’ve had the FTDI connector on it, with the terminal capture program providing a time stamp, and latest is:
In the past a reset has started it. Also pressing the User button once started it again. There is only one opportunity to debug the root cause.
One thought is to attempt to query the state of the processor through the JTAG.
I’ve used JTAG with Atmel Studio and mega2560 board I designed, but not with the mega1284 and PlatformIo.
The JTAG is available on digital header J4, pins D18/TCK D19/TMS D20/TDD D21/TDI.
@shicks wonder if you’ve used the JTAG/Mayfly at all?