I'm trying to talk communicate with the ATMega328P Xplained via Atmel Studio and it keeps failing. I've managed to talk to it using an older version of AS on a workmates PC, so I don't think it's the hardware. When I did this it also updated the firmware on the 32U4 controller. The virtual COM port works fine.
The error I get when I try to connect using the "Device Programming" tool:
Timestamp: 2017-08-11 11:18:14.553
Severity: ERROR
ComponentId: 20000
StatusCode: 0
Failed to set-up tool (no context id returned).
I've soldered on a ISP header and talked to the ATmega328P with a JTAGICE3. This worked fine and I made sure DebugWire was disabled and external clock was enabled. Has anyone else been having trouble with the latest AS version and the Xplained boards?
I'd really like to be able to use the mEDBG interface because I'm using the SPI bus for something so I won't be able to debug using the JTAGICE3.