1

我买了一些 redwire econotags r3 以便将它们与 Instant Contiki 一起使用。作为一个新手,我遵循了手册: http: //www.contiki-os.org/start.html。但是,当我尝试将程序上传到 motes 时,我收到一个错误。例如对于你好世界:

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 Player 中的虚拟机菜单看到 mote 已正确连接到 USB 端口。有任何想法吗?

4

1 回答 1

0

加载 econotags 的工具当前未与 Contiki 的“make upload”命令集成。

要将代码加载到 econotags,请参阅libmc1322x 文档。具体来说:

https://github.com/malvira/libmc1322x/wiki/libmc1322x  

通常,您使用mc1322x-load通过 UART 1 引导加载程序(通常是 /dev/ttyUSB1)将代码加载到 RAM 中。如:

mc1322x-load -f rftest-tx_redbee-econotag.bin -t /dev/ttyUSB1

然后重置 econotag 以激活引导加载程序。

要对闪存进行编程,您需要flasher.binlibmc1322x 。然后你做:

mc1322x-load -f flasher_redbee-econotag.bin -s blink-red_redbee-econotag.bin -t /dev/ttyUSB1

您还可以使用bbmc命令行来重置和擦除 econotag。见https://github.com/malvira/libmc1322x/wiki/bbmc

于 2013-04-09T17:27:25.660 回答