ATtiny13A RSTDISBL ?

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

Guys,

 

Is there any ways to reset RSTDISBL on ATtiny13A ? I tried with slow clock programming on USBASP ...it didn't give any responses ? may be I put something wrongly ?

The programmer I have only USBASP....

 

Thanks

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

In Atmelstudio goto Tool -> Device programming -> Fuses -> Enable RSTDISBL

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

To bring a little clarity hear, what are you asking exactly ?

Is it how to disable the reset function of the pin in order to use it as an I/O ? Then LevenEigenaar answer is correct.

But if your question is how to restore the reset function of the pin, then the datasheet section 17.2 page 104 says :

When programming the RSTDISBL fuse, High-voltage Serial programming has to be used to change fuses to perform further programming.

I don't know if USBASP is capable of doing high-voltage programming.

Have a nice day,
Kraal

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

The only way to clear the RSTDISBL fuse is by HVSP.    It is easier and cheaper to just buy another ATtiny13 instead of buying STK500, STK600 or Dragon.   Even making a HVSP programmer will cost you more than a new AVR.

In fact,  choose an ATtiny85.    It is far better endowed.

 

Now that I see who is posting,    I am not surprised.   

 

David.

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

Thanks David,

Here's what I got from AVRDUDE

 

C:\WinAVR-20100110\bin>avrdude -p t13 -v -c usbasp

avrdude: Version 5.10, compiled on Jan 19 2010 at 10:45:23
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\WinAVR-20100110\bin\avrdude.conf"

         Using Port                    : lpt1
         Using Programmer              : usbasp
         AVR Part                      : ATtiny13
         Chip Erase delay              : 4000 us
         PAGEL                         : P00
         BS2                           : P00
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page
      Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  Max
W   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ---
-- ---------
           eeprom        65     5     4    0 no         64    4      0  4000  40
00 0xff 0xff
           flash         65     6    32    0 yes      1024   32     32  4500  45
00 0xff 0xff
           signature      0     0     0    0 no          3    0      0     0
 0 0x00 0x00
           lock           0     0     0    0 no          1    0      0  4500  45
00 0x00 0x00
           calibration    0     0     0    0 no          2    0      0     0
 0 0x00 0x00
           lfuse          0     0     0    0 no          1    0      0  4500  45
00 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0  4500  45
00 0x00 0x00

         Programmer Type : usbasp
         Description     : USBasp, http://www.fischl.de/usbasp/

avrdude: auto set sck period (because given equals null)
avrdude: warning: cannot set sck period. please check for usbasp firmware update
.
avrdude: error: programm enable: target doesn't answer. 1
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.

avrdude done.  Thank you.

 

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

@David

Ok then I will use another ATTiny13A, it's another experiment....I want to turn on PB5 but forget about Reset disable....my mistake...