SL:CM motes: Unterschied zwischen den Versionen
imported>Arne.bochem |
imported>Arne.bochem |
||
Zeile 8: | Zeile 8: | ||
To install a TinyOS 2.x application, the following commands can be used: |
To install a TinyOS 2.x application, the following commands can be used: |
||
<nowiki>make telosb |
<nowiki>make telosb |
||
− | make telosb reinstall.0x0001 bsl,/dev/ |
+ | make telosb reinstall.0x0001 bsl,/dev/ttyUSB0</nowiki> |
Here 0x0001 refers to the mote id in hex (1 in this case). The following way works too: |
Here 0x0001 refers to the mote id in hex (1 in this case). The following way works too: |
||
− | <nowiki>make telosb install,1 bsl,/dev/ |
+ | <nowiki>make telosb install,1 bsl,/dev/ttyUSB0</nowiki> |
As usual, the motelist command can be used to determine the correct device name. Example output: |
As usual, the motelist command can be used to determine the correct device name. Example output: |
||
Zeile 16: | Zeile 16: | ||
Reference Device Description |
Reference Device Description |
||
---------- ---------------- --------------------------------------------- |
---------- ---------------- --------------------------------------------- |
||
− | MFVKE0IE /dev/ |
+ | MFVKE0IE /dev/ttyUSB0 FTDI MTM-CM5000MSP</nowiki> |
An example for the command to display data received by the base station is: |
An example for the command to display data received by the base station is: |
||
− | <nowiki>java net.tinyos.tools.Listen -comm serial@/dev/ |
+ | <nowiki>java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB0:telosb</nowiki> |
== Links == |
== Links == |
Version vom 9. Dezember 2015, 14:40 Uhr
Hardware
These motes are TelosB compatible.
Usage
MTM-CM5000MSP motes can be connected to the PC via USB directly. For MTM-CM3300MSP and MTM-CM3000MSP, the MTI-USB1000 board has to be connected to the mote, which provides an USB connector.
To install a TinyOS 2.x application, the following commands can be used:
make telosb make telosb reinstall.0x0001 bsl,/dev/ttyUSB0
Here 0x0001 refers to the mote id in hex (1 in this case). The following way works too:
make telosb install,1 bsl,/dev/ttyUSB0
As usual, the motelist command can be used to determine the correct device name. Example output:
sensorlab@pc01:~$ motelist Reference Device Description ---------- ---------------- --------------------------------------------- MFVKE0IE /dev/ttyUSB0 FTDI MTM-CM5000MSP
An example for the command to display data received by the base station is:
java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB0:telosb
Links
http://www.advanticsys.com/shop/stkit-p-29.html
http://www.advanticsys.com/wiki/index.php?title=CM5000
http://www.advanticsys.com/wiki/index.php?title=CM3300
http://www.advanticsys.com/wiki/index.php?title=CM3000
http://www.advanticsys.com/wiki/index.php?title=SG1000
http://www.advanticsys.com/wiki/index.php?title=DS1000