Der Reset Pin wird bei Arduino nicht programmiert soweit ich weiß, er führt automatisch einen Reset aus, wenn er auf GND verbunden wird.
- - - Aktualisiert - - -
es gibt aber offenbar doch einen Trick: https://forum.arduino.cc/index.php?t...593#msg1793593
The Reset pin can be used as a digital pin with a fuse change.
From the 328P datasheet:
1.1.5 PC6/RESET
If the RSTDISBL Fuse is programmed, PC6 is used as an I/O pin. Note that the electrical characteristics of PC6 differ from those of the other pins of Port C.
If the RSTDISBL Fuse is unprogrammed, PC6 is used as a Reset input. A low level on this pin for longer than the minimum pulse length will generate a Reset, even if the clock is not running. The minimum pulse length is given in Table 29-16 on page 312. Shorter pulses are not guaranteed to generate a Reset.
Do some reading, see if those characteristics work for you.
If you do not have Reset tho, you will not be able to download programs via the serial port.
I think programming can only be done via ICSP at that point. Under Memory Programming, no mention is made of whether programming still works if Reset Disable fuse is changed. Maybe being held low is recognized differently than just a low pulse.







Zitieren

Lesezeichen