AVR One + ATTiny85: I can emulate but can't read/set fuses

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

I'm using AVR One with AS 6.2 to develop an ATTiny85 project. I'm able to download my code to the 85 and run it under emulation, but I'm unable to read or set my fuses, device info, or lock bits. When I try I get an Unable to Enter Programming Mode error. FWIW, the only interface option the programming dialog gives me is ISP; there's no debugWire, even though AVR One is selected as the tool, and this is what is used for emulation. I start/stop debugging using the associated buttons, so I assume I'm properly entering/exiting debug mode. Any suggestions on how to access the fuses? I'm currently running off the internal oscillator and want to enable an external clock. Thanks for your help.

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

You need to 'disable debugwire and close' under the debug menu to disable dW and enable isp.

:: Morten

 

(yes, I work for Atmel, yes, I do this in my spare time, now stop sending PMs)

 

The postings on this site are my own and do not represent Microchip’s positions, strategies, or opinions.

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

Ah, yes. Always forget that step. So lame that clicking the stop button doesn't do that automatically. Thanks.