|
From: | Ned Konz |
Subject: | Re: [avr-gcc-list] Stuckness with ATTiny15 program and avr-gcc |
Date: | Sat, 8 Jan 2005 15:41:15 -0800 |
On Jan 8, 2005, at 3:25 PM, Bob Paddock wrote:
Did he say why he was encouraging you to keep it as a reset line?Some of the parts in this class, especially the early engineering samples, once the rest line was programmed to be some other function you could nolonger program the part, because reset is used as part of the program algorithm.
The way it works (at least according to the data sheet and the programmer S/W) is that you can't reprogram the part *using SPI* (low-voltage serial). But you can do so using the HV serial (which the STK500, for instance, also does).
So I set my circuit up so that it can handle the 12V on the RESET pin for HV programming. I've had no problem reprogramming it.
See if you can get your part to reprogram into a simple LED blinker on someother pin to determine if this is really the case for you.
I've successfully driven the LED on the RESET line from earlier versions of the program. Unfortunately, the earlier versions had other problems. But I will do a sanity check with a simpler program driving the LED on the RESET line again, or something driving another pin.
Thanks, Ned
[Prev in Thread] | Current Thread | [Next in Thread] |