RstDisable Fuse

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

I'm using a Tiny13 device with 6 I/O. I need all 6 of these, but I also need to be able to do in system programming. I am using an STK500 development kit to program with a ribbon cable and pogo pins to go to my system. I successfully programmed the part and programmed the RSTDisable fuse so that I have PB5 available. Now I can't re-program. I just found in the datasheet that it requires high voltage programming to re-program once the reset line is disabled.

Can I do high voltage programming on my system using essentially the same electrical connections that I now have (other than I need to disconnect the PB5/reset line going to my other device since it will blow up with high voltage)? If so, do I just click onto the parallel/high voltage option? Or am I going to be forced to keep unsoldering/scrap resolder a new part in place every time as I enhance and debug my program?

Thanks a lot for your help.

John

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

Apparently we are both too lazy to check the STK-500 manual, step-by-step, to find the answer to your question.

My solution to this problem when using the Tiny12 is to use a socket and move the chip to a high voltage programmer to get the fuses reset, then back to the circuit board to program with the ISP.

--
"Why am I so soft in the middle when the rest of my life is so hard?"
-Paul Simon

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

I wish it was that easy. My part is a surface mount part. I normally use a DIP so I can go back and forth between plugging it into the STK-500 board for programming and my system to try out, but I need my final product to use a small package. When I heard that I could do ISP programming, I laid out my card for an SOIC.

I have read the manual and it is not clear. I believe the manual says that you can do high voltage ISP programming, but it is not clear. I can read and re-read and re-read to figure out how if I know that I can do it.

Does anyone know if you can do high voltage ISP programming with an STK-500 board?

Thanks,

John

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

JohnD wrote:

Does anyone know if you can do high voltage ISP programming with an STK-500 board?

Thanks,

John

Yes, you can!

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

To help you a bit further,

open AVR tools help

go to stk500 users guide

go to hardware description

open target socket section

read about serial high voltage programming

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

Thanks. My problem is in doing high voltage ISP programming onto my target system (which has an SOIC tiny13 soldered down--it cannot be removed and placed into a socket on the STK500 since it is not a DIP). According to the user's guide and help file, you can do high voltage serial programming with the stk500, but there is no mention of bringing the signals off the stk500 onto my system and doing high voltage programming this way.

Thanks

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

connect using wires 1 to 1 from the stk500 socket.

just make sure nothing on your application board get damaged or interferes with programming.

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

Note that "high voltage" only refers to a short 12 V pulse fed into
the /RESET pin. Obviously, any other circuitry connected to that
pin has to tolerate that. All other pins operate at normal voltage
level.

Jörg Wunsch

Please don't send me PMs, use email if you want to approach me personally.

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

...so on a tiny, a circuit capable of being ISP programmed is likely to be able to be HV programmed as well. Guess I will have to build a ISP connector to HV adapter for my next tiny project(I have not used the reset pin for IO yet, to avoid these complications).

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

> ...so on a tiny,

s/tiny/8-pin tiny/

The larger ATtiny devices are programmed using parallel high-voltage
programming, not serial (aka. HVSP).

Jörg Wunsch

Please don't send me PMs, use email if you want to approach me personally.