2016年9月20日火曜日

格安AVR書き込み機 (その5) : 中華製USBASPはどうだ

前回はFT232RLモジュールを使ったけど
今回は一応専用書き込み機の話

またまた到着のこちら
おまけ基板ケーブルつきで$2.74 安いね


ネットで調べるとかつてaitendoで販売してたこれにそっくり


usbasp manual なんてググるとこんなのみつかった


usbaspオリジナルに近そう オリジナルはこちら


早速avrdudeで書き込んでみる ウォーニングでてるけど書けたみたいだ

$ sudo avrdude -P usb -c usbasp -p m328p -U flash:w:test_uart.hex

avrdude: warning: cannot set sck period. please check for usbasp firmware update.
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: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: reading input file "test_uart.hex"
avrdude: input file test_uart.hex auto detected as Intel Hex
avrdude: writing flash (4726 bytes):

Writing | ################################################## | 100% 3.37s

avrdude: 4726 bytes of flash written
avrdude: verifying flash memory against test_uart.hex:
avrdude: load data flash data from input file test_uart.hex:
avrdude: input file test_uart.hex auto detected as Intel Hex
avrdude: input file test_uart.hex contains 4726 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 2.41s

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

avrdude: safemode: Fuses OK (E:07, H:D9, L:E2)

avrdude done.  Thank you.

0 件のコメント:

コメントを投稿