ATmega328P Xplained and Atmel Studio 7.0.1417

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

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.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi trevorg,

 

Is the device properly detected by AS?

How did you test Virtual Com?

--TintuVayalattu

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

TintuVayalattu wrote:

Hi trevorg,

 

Is the device properly detected by AS?

How did you test Virtual Com?

 

Yes AS detects the board controller but refuses to connect to it. Like I said, an older version of AS can use it fine.

I've been using the virtual com port in TeraTerm and Python scripts and haven't had any trouble with this.