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
slow_rider
PostPosted: Apr 27, 2012 - 03:34 PM
Resident


Joined: Feb 16, 2007
Posts: 698
Location: Israel

Until a few hours ago everything worked fine (more or less). Now when I try to read device ID or fuses or program I get an error saying can't enter programming mode. Setting ISP speed works fine however.

Exact error:
Unable to enter programming mode. Verify interface settings, target power and connections to the target device. ComponentID: 20100. Modulename: TCF(TCF commandL DevicestartSession failed). Failed to enter programming mode. ispEnterProgMode: Error status received: Got 0xx0, expected 0x00.
 
 View user's profile Send private message  
Reply with quote Back to top
clawson
PostPosted: Apr 27, 2012 - 04:05 PM
10k+ Postman


Joined: Jul 18, 2005
Posts: 62230
Location: (using avr-gcc in) Finchingfield, Essex, England

Quote:

Got 0xx0, expected 0x00.

What a very curious number 0xx0 is !

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
david.prentice
PostPosted: Apr 27, 2012 - 04:07 PM
10k+ Postman


Joined: Feb 12, 2005
Posts: 16271
Location: Wormshill, England

Have you selected Tool-> Debug/Programmer ?

Which Atmel Programmer are you using ?

David.
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
slow_rider
PostPosted: Apr 27, 2012 - 06:15 PM
Resident


Joined: Feb 16, 2007
Posts: 698
Location: Israel

clawson wrote:
Quote:

Got 0xx0, expected 0x00.

What a very curious number 0xx0 is !


Corrected.
Got 0xc0, expected 0x00

david.prentice: Under tools->AVR Programming, Tool: JTAGICE mkII
 
 View user's profile Send private message  
Reply with quote Back to top
slow_rider
PostPosted: Apr 28, 2012 - 09:56 PM
Resident


Joined: Feb 16, 2007
Posts: 698
Location: Israel

OK so after a few more attempts I think I know what is happening here.
When trying to start a debug session (using debugWire) under AS5 it will give me an error msg saying he could not set the dW fuse. After this ISP is no longer possible so I had a feeling the fuse was indeed set. Under AS4 I was able to enter the debug session right away and clear the fuse.

What I don't get it how come everything worked fine until two days ago and now it won't start a debugging session. I removed AS5 and re-installed and nothing seemed to change. I also did the same with Visual Studio.
 
 View user's profile Send private message  
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