bootloader x caricare sketch da SD?

leo72:

lesto:
edit: come non detto, ho controllato ed a 0 ci sta la prima istruzione del programma... l'unica pare essere il watchdog o un minimo di circuiteria, anche se un tizo dice che con un PWM a low sul reset riesce a fare un reset senza problemi: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1250663814/

L'auto-reset è stato detto più volte che può non funzionare correttamente, il segnale di reset deve essere tenuto basso per un certo periodo altrimenti il reset non funziona correttamente. Nel momento in cui arriva il segnale low sul pin di reset parte il reset ma ciò interrompe il segnale Pwm. Atmel suggerisce sempre di usare un circuito esterno per il reset. Anche nel link da te citato viene riferito questo.

mai detto che non possa dare problemi, ma c'è da indagare per chi avesse un oscilloscopio

Hi,
Quote:
I found by tying a PWM pin to the reset pin, you can just do an analogWrite(RESET, LOW); where RESET is your PWM pin. It's been doing a hard reset for me, working great.

Fine it works for you, but others may be warned:
Atmel the maker of the ATMega's discourages this. Because of timing issues it can lead to situations where the ATMega goes into an endless reset-loop.

Eberhard