Pages: 1 2 [3]   Go Down
Author Topic: Programming an ATtiny85 with Arduino Code and Arduino Uno as Programmer  (Read 3960 times)
0 Members and 1 Guest are viewing this topic.
Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 197
Posts: 12736
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


There are two possibilities left...

1. There is a mistake in your wiring.

2. RESET has been disabled.

What happens to the target when you connect a low value resistor (like 220 ohms) from RESET to GND?  Does the target reset?
Logged

Offline Offline
Jr. Member
**
Karma: 1
Posts: 85
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The setup works with another single ATtiny.
Connecting a 470 resistor between Reset and GND has no effect.
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 197
Posts: 12736
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


Assuming the processor's Vcc is 5 volts, if the pull-up resistor on RESET is 10 KΩ then a 470 Ω resistor from RESET to ground should bring the voltage on RESET to 0.22 volts.  0.1Vcc is the guaranteed low threshold which is 0.50 volts.  In this scenario the 470 Ω resistor is guaranteed to reset the processor.

If the pull-up resistor on RESET is 4.7 KΩ then a 470 Ω resistor from RESET to ground should bring the voltage to 0.45 volts.  Still below the threshold.

If the pull-up resistor on RESET is 4230 Ω the voltage is 0.5 volts.  The lowest value that still guarantees a reset.

It seems very likely that RESET has been disabled.  To eliminate all doubt, you could try a lower value resistor.  Were I in your shoes, I wouldn't bother.
Logged

Leeds, UK
Offline Offline
Edison Member
*
Karma: 78
Posts: 1719
Once the magic blue smoke is released, it won't go back in!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

If the reset is disabled you might want to look at this:
http://www.rickety.us/2010/03/arduino-avr-high-voltage-serial-programmer/

It is an arduino based programmer that allows you to reset the fuse bytes even if the reset pin has been disabled.
Logged

~Tom~

Pages: 1 2 [3]   Go Up
Jump to: