Uhm, AVRdude ist im Repo des OpenWRT für den WR703N nicht drin. Was wird in dem USB Strom gesendet, damit Ardu in den Programmiermode geht? Man könnte den Stream als erstes senden und gleich danach das Hexfile. Könnte...
AVRdude ist drinnen. Danke Tobias.
Ok, jetzt noch Interface hinbauen lol.
heh
:/# avrdude -p m328p -P /dev/ttyACM0 -c arduino -b 115200 -C /etc/avrdude.conf -U flash:w:/tmp/Blink.cpp.hex
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x1e950f
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 "/tmp/Blink.cpp.hex"
avrdude: input file /tmp/Blink.cpp.hex auto detected as Intel Hex
avrdude: writing flash (1018 bytes):
Writing | ################################################## | 100% 0.17s
avrdude: 1018 bytes of flash written
avrdude: verifying flash memory against /tmp/Blink.cpp.hex:
avrdude: load data flash data from input file /tmp/Blink.cpp.hex:
avrdude: input file /tmp/Blink.cpp.hex auto detected as Intel Hex
avrdude: input file /tmp/Blink.cpp.hex contains 1018 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.13s
avrdude: verifying ...
avrdude: 1018 bytes of flash verified
avrdude: safemode: Fuses OK
avrdude done. Thank you.
und
:/# avrdude -p m328p -P /dev/ttyACM0 -c arduino -b 115200 -C /etc/avrdude.conf -U flash:w:/tmp/_433MHzThermometer
_startarray_dewpoint_TR703N.cpp.hex
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e950f
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 "/tmp/_433MHzThermometer_startarray_dewpoint_TR703N.cpp.hex"
avrdude: input file /tmp/_433MHzThermometer_startarray_dewpoint_TR703N.cpp.hex auto detected as Intel Hex
avrdude: writing flash (7032 bytes):
Writing | ################################################## | 100% 1.15s
avrdude: 7032 bytes of flash written
avrdude: verifying flash memory against /tmp/_433MHzThermometer_startarray_dewpoint_TR703N.cpp.hex:
avrdude: load data flash data from input file /tmp/_433MHzThermometer_startarray_dewpoint_TR703N.cpp.hex:
avrdude: input file /tmp/_433MHzThermometer_startarray_dewpoint_TR703N.cpp.hex auto detected as Intel Hex
avrdude: input file /tmp/_433MHzThermometer_startarray_dewpoint_TR703N.cpp.hex contains 7032 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.91s
avrdude: verifying ...
avrdude: 7032 bytes of flash verified
avrdude: safemode: Fuses OK
avrdude done. Thank you.
Würd' sagen: rennt (noch manuell).
Daaaaaaaaaaaaanke, Tobias!