我正在尝试用 avrdude 对我的 ATTiny 2313 进行编程。这是我的命令行和输出(第一行是我输入的命令,其他是输出):
utnmac:firmware utn$ make flash
avrdude -c avrispmkII -p attiny2313 -U flash:w:main.hex:i
avrdude: stk500v2_recv_mk2: error in USB receive
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0xffffff (retrying)
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0xffffff (retrying)
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0xffffff
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.
avrdude done. Thank you.
make: *** [flash] Error 1
更新:我的接线似乎有问题,但我找不到关于我的接线需要去哪里的好教程。现在我正在使用这个: