Wednesday, September 9, 2015

How to build Contiki 6lbr Slip Radio on CC2650 SensorTag or SmartRF06EB+CC2650EM

Do the following steps to build Contiki 6lbr Slip Radio for CC2650 SensorTag+CC-DEVPACK-DEBUGGER.

1. Change "#if BOARD_CONF_DEBUGGER_DEVPACK" to "#if 1" in \contiki\platform\srf06-cc26xx\sensortag\cc2650\board.h.

2. do "make clean".

3. do "make TARGET=srf06-cc26xx BOARD=sensortag/cc2650 slip-radio.bin".

4. Download slip-radio.bin to CC2650 SensorTag and connect CC2650 SensorTag+CC-DEVPACK-DEBUGGER to 6lbr router (could be Raspberry Pi or BeagleBone Black).

5. On 6lbr router, do "sudo vi /etc/6lbr/6lbr.conf" and make sure "DEV_RADIO=/dev/ttyACM0".

6. On 6lbr router, start 6lbr with "sudo service 6lbr start"


Do the following steps to build Contiki 6lbr Slip Radio for SmartRF06EB+CC2650EM.

1. do "make clean".

2. do "make TARGET=srf06-cc26xx BOARD=srf06/cc26xx slip-radio.bin".

3. Download slip-radio.bin to SmartRF06EB+CC2650EM and connect FT232 Serial-to-USB dongle to P412 on SmartRF06EB. Connect FT232 to 6lbr router (could be Raspberry Pi or BeagleBone Black).

4. On 6lbr router, do "sudo vi /etc/6lbr/6lbr.conf" and make sure "DEV_RADIO=/dev/ttyUSB0".

5. On 6lbr router, start 6lbr with "sudo service 6lbr start"


6 comments:

  1. this article really helped me a lot, thank you!

    ReplyDelete
  2. Hi, I tried using make but it resulted in the error "No rule to make target". The Makefile has an extension Makefile.cc2650. I tried without the extension but then it had an error with the Makefile.sensortag in the directory before that. I m not sure how to solve this?

    ReplyDelete
  3. So I actually found an alternative solution to my problem. I used this directory instead contiki/examples/ipv6/slip-radio of step 1.

    ReplyDelete
  4. This comment has been removed by a blog administrator.

    ReplyDelete
  5. I'm using Tmote Sky instead CC2650 Sensortags, what changes should I do to follow above steps?

    Instead of the BeagleBone with Debian I am using InstantContiki 3.0 (Ubuntu 14.04) within a virtual machine (VMware) in Windows.

    The Tmote sky is used as Slip-Radio. I also generated the Slip-Radio-Firmware within InstantContiki. (Based on the description here: http://morschi.com/2017/03/28/setting-up-a-6lowpan-border-router-6lbr-using-a-vm-and-slip-radio/

    ReplyDelete
  6. Cant we use a cc2650DK board to make a 6lbr router ? If someone has used it, could you please share the study materials you used?

    ReplyDelete