これまで、Ubuntuでこの作業を行っていました。しかしその後、私は11.10にアップグレードしました。今、そのような運がない。AVR ISP MKII、avrdude、Ubuntu 11.10
注:まだEclipseで動作するようになっているのであれば、このコマンドラインのものを試してみてください。ここで動作しないと、Eclipseで動作しません。
私はこのエラーがあります:
avrdude: stk500v2_command(): command failed
avrdude: stk500v2_command(): unknown status 0xc9
avrdude: stk500v2_program_enable(): cannot get connection status
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
私はすべての異なる構成で試してみました。 ie:-B 1、10、1000、
-Fは、000000などのシリアル番号を取得するだけで役立ちません。 また、以下の出力から明らかに、プログラマやターゲットボードまで到達し、電圧を読み取ることがわかります。 ターゲットチップのリセットも表示されます。 (例:私はDB101をincludeingデバイスの数でテストしていると、それはリセット時にあなたが見ることができる)
フル出力は次のようである:
> avrdude -c avrispmkII -P usb -p m1281 -B 100 -v
avrdude: Version 5.10, compiled on Jun 29 2010 at 03:44:14
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "/etc/avrdude.conf"
User configuration file is "/home/david/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : usb
Using Programmer : avrispmkII
Setting bit clk period : 100.0
avrdude: usbdev_open(): Found AVRISP mkII, serno: 000200037289
AVR Part : ATMEGA1281
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 10 8 0 no 4096 8 0 9000 9000 0x00 0x00
flash 65 10 256 0 yes 131072 256 512 4500 4500 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : STK500V2
Description : Atmel AVR ISP mkII
Programmer Model: AVRISP mkII
Hardware Version: 1
Firmware Version Master : 1.13
Vtarget : 5.1 V
SCK period : 100.37 us
avrdude: stk500v2_command(): command failed
avrdude: stk500v2_command(): unknown status 0xc9
avrdude: stk500v2_program_enable(): cannot get connection status
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude done. Thank you.
私はすでにudevのものが設定されている: をすなわち:
cat /etc/udev/rules.d/60-avrisp.rules SUBSYSTEM!="usb_device", ACTION!="add", GOTO="avrisp_end"
# Atmel Corp. JTAG ICE mkII
ATTR{idVendor}=="03eb", SYSFS{idProduct}=="2103", MODE="660", GROUP="dialout"
# Atmel Corp. AVRISP mkII
ATTR{idVendor}=="03eb", SYSFS{idProduct}=="2104", MODE="660", GROUP="dialout"
# Atmel Corp. Dragon
ATTR{idVendor}=="03eb", SYSFS{idProduct}=="2107", MODE="660", GROUP="dialout"
LABEL="avrisp_end"
ボードと別のマシン上のAVRスタジオとプログラマの仕事。 明らかに、多くの人がLinuxでこの問題を抱えています。 :( はいけない、本当にwinblowsボックスを掘るする必要がありますする必要。
ありがとう...しかし、1年後でも私はまだアボリオンmkiiと闘っています。 Ubuntu上では本当に面倒です。それはうまくいくでしょうし、ボードを交換してもそれは変わりません。私を狂わせます。私は今Arduino UNOでプログラムする傾向があります。その方が安く、より信頼できるようです。しかし、それだけでプログラムするのがずっと遅いです。 – SpiRail