Am trying to get a new JTAGICE3 working with an Arduino board via the 6-pin SPI connector. The JTAGICE3 pinouts for that connector match up to pins on the Arduino Uno schematic. Looks like it should work for both debugWIRE and ISP programming. But debug sessions fail with this error:
Failed to launch session with debugWIRE. This could be caused by reset line circuitry or disabled debugWIRE interface. Make sure the reset line is free before continuing. Do you want to use the SPI to enable the DWEN fuse?
So I cut the Uno's RESET-EN trace, verified that the reset line was free (10k pullup to 5v), and then said "Yes" to enabling DWEN after which debug sessions still fail. When I used AS5's AVR Programming tool command with the JTAGICE3, it cannot read fuses, memory, or lock bits from the chip. Reading attempts give this error:
Programming session setup failed: TCF command: Device:startSession failed: Code:1 ,Service: ,Message from peer:Failed to enter programming mode. ispEnterProgMode: Error status received: Got 0xc0, expected 0x00
The Uno won't bootload now but I'm pretty sure that's because the RESET-EN trace is cut (which I can jumper again when needed).
Anyone with Arduino Uno and JTAGICE3 experience?
Thanks (and yes I've read thru the 328p and JTAGICE3 manuals).