"Unable to enter programming mode."

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

I'm running AS6.2 and Atnel-ICE on Win7 Pro x64, targeting an ATTiny841 via debugWire.  Everything was working fine yesterday (I could program and emulate), and I was careful to let AS6.2 terminate the session, but today when I try to connect to the target for programming or emulation I get the above error.  The whole dialog is below.  I get the same error if I swap an AVR-One or AVRISP MkII for the Atmel-ICE.  I haven't tried connecting to another target yet.  I've tried slowing the ISP clock down to 8 kHz, closing AS6.2, rebooting, but no dice.  The Device Programming dialog can read the Target Voltage but nothing from the device proper like signature or fuses.  Any suggestions?

 

 

 

Last Edited: Sat. Jun 20, 2015 - 12:52 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Can you start a debug session?  If yes, then go into the debugging menu and try disabling debugwire there and see what happens

 

JIm

 

Also, by chance the debug connector is on backwards, or the little connector at the ends of the cable are not seated properly(bit me in the bumm a few times)

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB, RSLogix user

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

> try disabling debugwire there and see what happens

 

Aah, that did it.  Thanks.

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

Fantastic!

Jim

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB, RSLogix user

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

Hi, how do you dis able debugwire when the debug option menu is grey out?