ATTINY 13 RE-PROGRAMMING

HI ALL,

I HAVE USED ALL THE PINS ON ATTINY 13, INCLUDING THE PIN NO.1 (USED RESET PIN AS A PORT). THE PROGRAM RUNS WITHOUT ANY PROBLEM. BUT WHEN I TRY TO RE-PROGRAM IT DOES NOT PROGRAM AGAIN. PLEASE HELP ME OUT.

I AM USING AVR STUDIO.
MY PROGRAMMER IS STK 500.

The only way to reprogram it now is to use a high voltage serial programmer (at least to unset RSTDSBL). There are plans and code online for devices to unbrick AVRs that have had RSTDSBL set. I think one is called atmega fuse doctor.

Once you set RSTDSBL fuse, the reset pin no longer acts as a reset pin. The reset pin is required for ISP programming, so you've rendered it unprogrammable via ISP.

You should not set the RSTDSBL fuse if you plan to reprogram the chip and do not have a high voltage serial programmer..

No need to build anything to reset the RSTDSBL fuse since the OP has an STK 500 which already has that capability built in.

@OP

Just follow very carefully on how to do it from your STK 500 manual. You should have it in AVR Studio.

Oh, I did not realize the STK500 could do HVSP, I thought was just ISP.