I have been able to successfuly debug my Meshnetics BitCloud application on the MeshBean development board using AVR studio with the Jungo driver for the jtagice mkII. But, I would prefer to use avarice with eclipse instead. So I uninstalled the Jungo driver and installed the winavr-20080610 mkII usb driver and was able to succesfully load an image and read/write fuses. I was also able to start avarice as a debug server on TCP port 2525, but I can't get much farther than that.
I can connet avr-gdb to remote target localhost:2525. But then as soon as I enter "continue" I get the following error:
cannot read program counter
Watchdog has expired. Target detached.
I have googled for potential problems and the only idea I have is that the BitCloud stack may be sleeping and waking periodically. In fact, When debugging under AVR studio I remember seeing continuous messages like "target is sleeping" "target is waking". Could it be that the AVR studio Jungo driver can handle this constant sleeping and waking, but avarice can not?