Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pi@fabscanpi:~ $ avrdude -c arduino -P /dev/ttyACM0 -b 115200 -p m328p -e -U flash:w:isp.hex:i
- avrdude: AVR device initialized and ready to accept instructions
- Reading | ################################################## | 100% 0.00s
- avrdude: Device signature = 0x1e950f (probably m328p)
- avrdude: erasing chip
- avrdude: reading input file "isp.hex"
- avrdude: writing flash (4420 bytes):
- Writing | ################################################## | 100% 0.86s
- avrdude: 4420 bytes of flash written
- avrdude: verifying flash memory against isp.hex:
- avrdude: load data flash data from input file isp.hex:
- avrdude: input file isp.hex contains 4420 bytes
- avrdude: reading on-chip flash data:
- Reading | ################################################## | 100% 0.62s
- avrdude: verifying ...
- avrdude: 4420 bytes of flash verified
- avrdude: safemode: Fuses OK (E:00, H:00, L:00)
- avrdude done. Thank you.
- pi@fabscanpi:~ $ avrdude -c stk500v1 -P /dev/ttyACM0 -b 19200 -p m328p -e -U flash:w:bloader.hex:i -U lfuse:w:0xFF:m -U hfuse:w:0xD6:m -U efuse:w:0x05:m -U lock:w:0x0F:m
- avrdude: AVR device initialized and ready to accept instructions
- Reading | ################################################## | 100% 0.02s
- avrdude: Device signature = 0x1e950f (probably m328p)
- avrdude: erasing chip
- avrdude: reading input file "bloader.hex"
- avrdude: writing flash (32748 bytes):
- Writing | ################################################## | 100% 0.00s
- avrdude: 32748 bytes of flash written
- avrdude: verifying flash memory against bloader.hex:
- avrdude: load data flash data from input file bloader.hex:
- avrdude: input file bloader.hex contains 32748 bytes
- avrdude: reading on-chip flash data:
- Reading | ################################################## | 100% 0.00s
- avrdude: verifying ...
- avrdude: 32748 bytes of flash verified
- avrdude: reading input file "0xFF"
- avrdude: writing lfuse (1 bytes):
- Writing | ################################################## | 100% 0.01s
- avrdude: 1 bytes of lfuse written
- avrdude: verifying lfuse memory against 0xFF:
- avrdude: load data lfuse data from input file 0xFF:
- avrdude: input file 0xFF contains 1 bytes
- avrdude: reading on-chip lfuse data:
- Reading | ################################################## | 100% 0.01s
- avrdude: verifying ...
- avrdude: 1 bytes of lfuse verified
- avrdude: reading input file "0xD6"
- avrdude: writing hfuse (1 bytes):
- Writing | ################################################## | 100% 0.01s
- avrdude: 1 bytes of hfuse written
- avrdude: verifying hfuse memory against 0xD6:
- avrdude: load data hfuse data from input file 0xD6:
- avrdude: input file 0xD6 contains 1 bytes
- avrdude: reading on-chip hfuse data:
- Reading | ################################################## | 100% 0.01s
- avrdude: verifying ...
- avrdude: 1 bytes of hfuse verified
- avrdude: reading input file "0x05"
- avrdude: writing efuse (1 bytes):
- Writing | | 0% 0.00s ***failed;
- Writing | ################################################## | 100% 0.06s
- avrdude: 1 bytes of efuse written
- avrdude: verifying efuse memory against 0x05:
- avrdude: load data efuse data from input file 0x05:
- avrdude: input file 0x05 contains 1 bytes
- avrdude: reading on-chip efuse data:
- Reading | ################################################## | 100% 0.01s
- avrdude: verifying ...
- avrdude: verification error, first mismatch at byte 0x0000
- 0xfd != 0x05
- avrdude: verification error; content mismatch
- avrdude: safemode: efuse changed! Was 5, and is now fd
- Would you like this fuse to be changed back? [y/n] n
- avrdude: safemode: Fuses OK (E:05, H:D6, L:FF)
- avrdude done. Thank you.
- pi@fabscanpi:~ $
Add Comment
Please, Sign In to add comment