| Author |
Message |
|
|
Posted: Feb 22, 2012 - 06:47 PM |
|

Joined: Jan 16, 2007
Posts: 124
|
|
Hi All,
I'm working with an AVR ONE with the latest firmware and AVR Studio 5.1 downloaded this morning.
I ran the self test on the AVR One and it passed.
I cannot program a device or read the signature of a device over JTAG. I have tried 2 known working boards and a brand new Xplain board with connectors in both orientations. No luck on any of them.
Here is the error I get when i try to read the device ID from the AVR Programming window:
Quote:
Unable to enter programming mode. Verify interface settings, target power and connections to the target device.
Timestamp: 2012-02-22 10:45:06.213
Severity: ERROR
ComponentId: 20100
StatusCode: 1
ModuleName: TCF (TCF command: Device:startSession failed.)
Communication error. Try with a lower clock speed. Debugger command setEmulatorMode failed.
# Error <Short packet received (size=6.)> in AvrOneEventListener::readAndDispatchEvents
10:45:06: [ERROR] Communication error. Try with a lower clock speed. Debugger command setEmulatorMode failed., ModuleName: TCF (TCF command: Device:startSession failed.)
# AvrOneProtocol::assertResponse(): Communication error. Try with a lower clock speed. Debugger command setEmulatorMode failed.
# Communication error. Try with a lower clock speed. Debugger command setEmulatorMode failed.
10:45:06: [ERROR] Communication error. Try with a lower clock speed. Debugger command setEmulatorMode failed., ModuleName: TCF (TCF command: Device:startSession failed.)
Any ideas?...
Thank you! |
|
|
| |
|
|
|
|
|
Posted: Feb 23, 2012 - 07:51 AM |
|

Joined: Jan 26, 2004
Posts: 119
Location: Hjallerup, Denmark
|
|
I can only confirm your problem.
I tried to connect an AVR ONE! Made a firmware upgrade and afterwards to erase target (ATmega644P in Daisy chain (1,0,4,0) setup).
It gave me following error:
Code:
Timestamp: 2012-02-23 08:48:57.784
Severity: ERROR
ComponentId: 20100
StatusCode: 1
ModuleName: TCF (TCF command: Device:startSession failed.)
An unknown emulator error occured. Debugger command setEmulatorMode failed.
|
|
|
| |
|
|
|
|
|
Posted: Feb 26, 2012 - 02:30 AM |
|

Joined: Jul 21, 2005
Posts: 119
Location: Australia
|
|
| Check JTAG Clock is within specs, usually needs slowing down, disconnect AVR ONE and your target board, power cycle AVR ONE and your target then try again. |
|
|
| |
|
|
|
|
|
Posted: Mar 03, 2012 - 05:35 PM |
|

Joined: Nov 22, 2008
Posts: 130
Location: Budapest, Hungary
|
|
If nothing works, install studio 6, update AVR ONE firmware from studio 6. Then try to use it in studio 5.1. Works for me, see attached picture for AVR ONE fw. version.
My studio 5.1 version is 5.1.208
Studio 6 version is 6.0.1703 - beta |
|
|
| |
|
|
|
|
|
Posted: Mar 03, 2012 - 07:27 PM |
|


Joined: Jan 03, 2011
Posts: 127
Location: East coast, India
|
|
The error message says "try with a lower clock speed". Am not sure if that's the problem. But giving it a try is also an option.  |
|
|
| |
|
|
|
|
|