User Tools

Site Tools


rc:hw:esc:rcx6a_simonk

Flash RCX 6A with SimonK firmware

Steps

$ avrdude -c usbtiny -p m8
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e9307

avrdude: safemode: Fuses OK (E:FF, H:DF, L:A4)

avrdude done.  Thank you.

Then, flash firmware

$ avrdude -c usbtiny -p m8 -U flash:w:./tgy.hex:i

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e9307
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
     To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "./tgy.hex"
avrdude: writing flash (8192 bytes):

Writing | ################################################## | 100% 4.93s

avrdude: 8192 bytes of flash written
avrdude: verifying flash memory against ./tgy.hex:
avrdude: load data flash data from input file ./tgy.hex:
avrdude: input file ./tgy.hex contains 8192 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 7.10s

avrdude: verifying ...
avrdude: 8192 bytes of flash verified

avrdude: safemode: Fuses OK (E:FF, H:DF, L:A4)

avrdude done.  Thank you.

Then, flash fuses

$ avrdude -c usbtiny -p m8 -U lfuse:w:0x24:m -U hfuse:w:0xda:m

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e9307
avrdude: reading input file "0x24"
avrdude: writing lfuse (1 bytes):

Writing | ################################################## | 100% 0.00s

avrdude: 1 bytes of lfuse written
avrdude: verifying lfuse memory against 0x24:
avrdude: load data lfuse data from input file 0x24:
avrdude: input file 0x24 contains 1 bytes
avrdude: reading on-chip lfuse data:

Reading | ################################################## | 100% 0.00s

avrdude: verifying ...
avrdude: 1 bytes of lfuse verified
avrdude: reading input file "0xda"
avrdude: writing hfuse (1 bytes):

Writing | ################################################## | 100% 0.00s

avrdude: 1 bytes of hfuse written
avrdude: verifying hfuse memory against 0xda:
avrdude: load data hfuse data from input file 0xda:
avrdude: input file 0xda contains 1 bytes
avrdude: reading on-chip hfuse data:

Reading | ################################################## | 100% 0.00s

avrdude: verifying ...
avrdude: 1 bytes of hfuse verified

avrdude: safemode: Fuses OK (E:FF, H:DA, L:24)

avrdude done.  Thank you.
/home/share/www/redox.ws/wiki/data/pages/rc/hw/esc/rcx6a_simonk.txt · Last modified: 2019/12/25 15:40 (external edit)