Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
dbrateris
PostPosted: Feb 22, 2012 - 06:47 PM
Hangaround


Joined: Jan 16, 2007
Posts: 131


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!
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
Simon Loell
PostPosted: Feb 23, 2012 - 07:51 AM
Hangaround


Joined: Jan 26, 2004
Posts: 120
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.
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
jabram
PostPosted: Feb 26, 2012 - 02:30 AM
Hangaround


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.
 
 View user's profile Send private message  
Reply with quote Back to top
sikolymester
PostPosted: Mar 03, 2012 - 05:35 PM
Hangaround


Joined: Nov 22, 2008
Posts: 133
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
 
 View user's profile Send private message  
Reply with quote Back to top
soundararajan
PostPosted: Mar 03, 2012 - 07:27 PM
Hangaround


Joined: Jan 03, 2011
Posts: 136
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. Smile
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits