Follow-up Comment #2, patch #7165 (project avrdude):
Hi,
a lot of embedded devices offer GPIO lines that can conveniently be used as an
interface to a uC. This allows to build cheap, Ethernet-capable programmers
from routers and such (for instance the Fonera or the Raspberry Pi). I
refreshed the patches of Radoslav Kolev to compile with the latest SVN (1126).
The patched version was tested on a Fonera device running OpenWrt, but it
should work with every recent Linux flavor:
#free the GPIO lines!
root@OpenWrt:~# echo "leds-gpio" >
/sys/devices/platform/leds-gpio/leds/gpio1/device/driver/unbind
[...]
root@OpenWrt:~# avrdude -E noreset -p m1284p -c gpio -U
flash:w:/tmp/tmp.hex:i
avrdude: WARNING: -E option not supported by this programmer type
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.03s
avrdude: Device signature = 0x1e9705
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/tmp.hex"
avrdude: writing flash (125620 bytes):
Writing | ################################################## | 100% 5.85s
avrdude: 125620 bytes of flash written
avrdude: verifying flash memory against /tmp/tmp.hex:
avrdude: load data flash data from input file /tmp/tmp.hex:
avrdude: input file /tmp/tmp.hex contains 125620 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 5.78s
avrdude: verifying ...
avrdude: 125620 bytes of flash verified
avrdude done. Thank you.
So please merge this patch.
Thanks,
Richard
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?7165>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
avrdude-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev