我买了几个redwire econotags r3,以便与Instant Contiki一起使用。作为一个新手,我遵循了手册:http://www.contiki-os.org/start.html。然而,当我试图上传一个程序到微尘时,我收到了一个错误。例如,hello-world:
cd contiki/examples/hello-world
make TARGET=redbee-econotag hello-world
make TARGET=redbee-econotag hello-world.upload 我收到了:
make: *** No rule to make target `hello-world.upload'. Stop.前两天我一直在找,但我不明白出了什么问题。我可以通过VMWare播放器中的虚拟机菜单看到微尘已正确连接到USB口。有什么想法吗?
发布于 2013-04-10 01:27:26
加载econotags的工具目前没有与Contiki的“make upload”命令集成。
要将代码加载到econotags上,请参阅libmc1322x documentation。具体地说:
https://github.com/malvira/libmc1322x/wiki/libmc1322x 通常,您使用mc1322x-load通过UART1引导加载程序(通常是/dev/ttyUSB1)将代码加载到RAM中。例如:
mc1322x-load -f rftest-tx_redbee-econotag.bin -t /dev/ttyUSB1然后重置econotag以激活引导加载程序。
要对闪存进行编程,您需要使用libmc1322x的flasher.bin。然后你会这样做:
mc1322x-load -f flasher_redbee-econotag.bin -s blink-red_redbee-econotag.bin -t /dev/ttyUSB1您还可以使用bbmc从命令行重置和擦除经济标签。请参阅https://github.com/malvira/libmc1322x/wiki/bbmc
https://stackoverflow.com/questions/15851150
复制相似问题