如果多次不能燒寫,可以重新插一下USBASP線。
[octopus@pc3 7SegDisp]$ make run
sudo avrdude -p m16 -c usbasp -e -U flash:w:main.hex
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: error: programm enable: target doesn't answer. 1
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude done. Thank you.
Makefile:8: recipe for target 'run' failed
make: *** [run] Error 1