2013-04-06 68 views
1

我已經買了一些redwire econotags r3,以便與Instant Contiki一起使用它們。作爲新手我遵循手冊:http://www.contiki-os.org/start.html。但是,當我試圖上傳一個程序到motes時,我收到一個錯誤。例如,對於你好世界:Contiki與redwire econotags:make:***沒有規則使目標`hello-world.upload'。 Stop

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端口。有任何想法嗎?

回答

0

加載econotags的工具當前未與Contiki的「make upload」命令集成。

要將代碼加載到econotags,請參閱libmc1322x documentation。具體做法是:

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

通常使用mc1322x-load經由UART 1 bootloader加載代碼到RAM(通常的/ dev/ttyUSB1)。如:

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

然後您重置econotag以激活引導加載程序。

要編程閃存,您需要的flasher.bin。然後你做:

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

相關問題