尝试将 hello-world 程序上传到 micaz mote 时遇到问题。
我按照本教程在硬件上上传hello-world
程序,但是当我尝试运行命令时:
make hello-world.upload
我有这个错误信息:
using saved target 'micaz'
avr-objcopy -O srec hello-world.micaz hello-world.srec
uisp -dprog=mib510 -dserial=/dev/ttyS0 -dpart=ATmega128 --wr_fuse_h=0xd1--wr_fuse_e=ff --erase --upload if=hello-world.srec --verify
make: uisp: Command not found
make: *** [hello-world.upload] Error 127
rm hello-world.srec
我认为问题在于uisp
未安装命令,因此我尝试使用以下命令安装它:
sudo apt-get install uisp
然后我收到了这个错误信息:
Err http://us.archive.ubuntu.com/ubuntu/ precise/universe uisp i386 20050207-4ubuntu1
Could not connect to us.archive.ubuntu.com:80 (91.189.91.13). - connect (111: Connection refused) [IP: 91.189.91.13 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/u/uisp/uisp_20050207-4ubuntu1_i386.deb Could not connect to us.archive.ubuntu.com:80 (91.189.91.13). - connect (111: Connection refused) [IP: 91.189.91.13 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
有没有人成功上传了硬件程序(micaz mote)?
有什么帮助吗?