0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

HIDaspxライターの使い方

Posted at

HIDaspxライターとは

瓶詰堂さんが作成されたAVRライター

ドライバーが不要でMac/Winどちらで動作可能で、
回路図が公開されているため安価で自作できる

HIDaspx.png

ライター接続

AVR(ATmega328P)とHIDaspxライターをつなぐ

	HIDasxp		ATmega328P
	1 Reset	---	1  Reset
	2 Vcc	---	7  Vcc
	3 GND	---	8  GND
	4 MISO	---	18 MISO
	5 MOSI	---	17 MOSI
	6 SCK	---	19 SCK 

コマンド

ターゲットのAVRデバイスの情報を読みとる

$ hidspx -r

fuse情報を読み出す

$ hidspx -rf

プログラムを読み出す

$ hidspx -rp

プログラムを書き込む

$ hidspx filename.hex

プログラムを照合する。 

& hidspx -v filename.hex

fuseを書き換える

$ hidspx -fL0xXX -fH0xXX -fx0xXX(XXは16進数)

ヒューズの設定に関してはArduino Fuse 一覧を参考に.
https://qiita.com/__S/items/c8b1ae7c7d83a94c27ba

EEPROMを読み出す

$ hidspx -re

EEPROMに書き込

$ hidspx filename.eep

プログラムを消去する 

$ hidspx -e

Arduinoファームウェアの種類

Arduino Uno, ProMini, Duemilanoveとか

ATmegaBOOT_168_atmega328.hex

Arduino Leonardo用

Leonardo-prod-firmware-2012-04-26.hex

参考

https://www.binzume.net/library/avr_hidasp.html
http://hp.vector.co.jp/authors/VA000177/html/A3C8A3C9A3C4A3E1A3F3A3F0A3F8.html
http://psp.dip.jp/web/cgi-bin/note/index.cgi?%b7%c7%bc%a8%c8%c4

0
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?