jmgiacalone / sanguino1284p

Files for atmega 1284p to work with Arduino 0023
17 stars 9 forks source link

flashing bootloader :: avrdude:verification error. content mismatch #3

Open robertocabellon opened 6 years ago

robertocabellon commented 6 years ago

Trying to flash the bootloader with avrdude. Note that I've used the binary version already installed on the system (Linux Mint 18.3) with default conf.. (see attached the full flashing process log)

avrdude: verification error, first mismatch at byte 0xfc00
         0x1f != 0x0c
avrdude: verification error; content mismatch

If I use the avrdude binary included on the package I get the following error:

avrdude: Using SCK period of 10 usec
USB read error: expected 8, got 4
USB read error: expected 8, got 4
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.

And with the avrdude.conf file (through -C argument) I got the following error:

System wide configuration file is "tools/avrdude.conf"
avrdude: error at tools/avrdude.conf:313: programmer type must be written as "id_type"
avrdude: error reading system wide configuration file "tools/avrdude.conf"
vivi@vivi-note:~/rober/3d/sanguino1284p-master/arduino-0023/hardware$ avrdude -c usbtiny -p m1284p -v -U flash:w:Sanguino/bootloaders/atmega/ATmegaBOOT_168_atmega1284p.hex^C
vivi@vivi-note:~/rober/3d/sanguino1284p-master/arduino-0023/hardware$ tools/avrdude -c usbtiny -p m1284p -v -U flash:w:Sanguino/bootloaders/atmega/ATmegaBOOT_168_atmega1284p.hex -C tools/avrdude..^C
vivi@vivi-note:~/rober/3d/sanguino1284p-master/arduino-0023/hardware$ tools/avrdude -c usbtiny -p m1284p -v -U flash:w:Sanguino/bootloaders/atmega/ATmegaBOOT_168_atmega1284p.hex -Ctoo^C
vivi@vivi-note:~/rober/3d/sanguino1284p-master/arduino-0023/hardware$ tools/avrdude -c usbtiny -p m1284p -v -U flash:w:Sanguino/bootloaders/atmega/ATmegaBOOT_168_atmega1284p.hex -C tools/avrdude.conf

Full bootloader flashing process log: [sanguinololu bootloader.log](https://github.com/jmgiacalone/sanguino1284p/files/2539695/sanguinololu.bootloader.log)