Wednesday, January 11, 2017

Build 6lbr running on CC2650DK or CC1310DK

The following steps show how to build 6lbr running CC2650DK or CC1310DK

1. Refer to http://sunmaysky.blogspot.tw/2016/03/running-6lbr-on-cc2538dk-with-enc28j60.html which shows you how to connect ENC28J60 to SmartRF06EB.

2. git clone --recursive https://github.com/cetic/6lbr

3. Change "#define CETIC_6LBR_NVM_DEFAULT_CHANNEL 26" in \6lbr\examples\6lbr\6lbrnvm-data.h to "#define CETIC_6LBR_NVM_DEFAULT_CHANNEL 25"

4.  Add "#define RF_CORE_CONF_CHANNEL 25" into common configuration in \6lbr\examples\6lbr\project-conf.h

5. Change directory to \6lbr\examples\6lbr

6. Run "make TARGET=srf06-cc26xx BOARD=srf06/cc26xx all" for CC2650DK or "make TARGET=srf06-cc26xx BOARD=srf06/cc13xx all" for CC1310DK.

7. Download cetic_6lbr_router.bin under \6lbr\examples\6lbr\bin_srf06-cc26xx to CC2650DK or CC1310DK with Flash Programmer 2.

8. You should see the following outputs on UART of CC1310DK.



9. You can access to [bbbb::100] now.