| Author |
Message |
|
|
Posted: Apr 27, 2012 - 03:34 PM |
|

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. |
|
|
| |
|
|
|
|
|
Posted: Apr 27, 2012 - 04:05 PM |
|


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 ! |
_________________
|
| |
|
|
|
|
|
Posted: Apr 27, 2012 - 04:07 PM |
|

Joined: Feb 12, 2005
Posts: 16271
Location: Wormshill, England
|
|
Have you selected Tool-> Debug/Programmer ?
Which Atmel Programmer are you using ?
David. |
|
|
| |
|
|
|
|
|
Posted: Apr 27, 2012 - 06:15 PM |
|

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 |
|
|
| |
|
|
|
|
|
Posted: Apr 28, 2012 - 09:56 PM |
|

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. |
|
|
| |
|
|
|
|
|