OpenSprinkler Forums OpenSprinkler Unified Firmware avrdude on linux terminal Reply To: avrdude on linux terminal

#38706

ottorino
Participant

It seems that I’m missing a “-F” here.

What I sent
sudo avrdude -c usbasp -p m644p -U flash:w:firmware2.1.5.hex

what I’m supposed to send

sudo avrdude -c usbasp -p -F m644p -U flash:w:firmware2.1.5.hex

I suspected this since an answer was;

> Double check chip, or use -F to override this check.

Should I “force” the command ?

@ cuteboi I already wrote the lsusb outcome in my first post

From avrdude masnual

-F      Normally, avrdude tries to verify that the device signature
                   read from the part is reasonable before continuing.  Since
                   it can happen from time to time that a device has a broken
                   (erased or overwritten) device signature but is otherwise
                   operating normally, this options is provided to override
                   the check.  Also, for programmers like the Atmel STK500 and
                   STK600 which can adjust parameters local to the programming
                   tool (independent of an actual connection to a target con‐
                   troller), this option can be used together with -t to con‐
                   tinue in terminal mode.