Saturday, July 23, 2016

Run OpenThread on CC2538DK

Since Thread Protocol is discussed more and more recently and we see open source OpenThread is release, I try to test OpenThread.The following steps shows you how to run OpenThread on CC2538DK

To save your time to setup GCC for building this example, you can use InstantContiki 3.0 running on VMPlayer.

1. git clone --recursive https://github.com/openthread/openthread
2. cd openthread
3. run "./bootstrap"
4. do "make -f examples/Makefile-cc2538" and you will get arm-none-eabi-ot-cli.bin under /output/bin
5. Download arm-none-eabi-ot-cli.bin to two CC2538DK using Flash Programmer 2.
6. On one of CC2538DK, you can run Cli command "start" to create OpenThread network
   > start
   start
   Done
   > state
   state
   leader
   Done

7.  On another CC2538DK, you can run Cli command "start" to start OpenThread router when there is a OpenThread network existed.
   > start
   start
   Done
   > state
   router
   Done
 
8. On leader node, you can use "scan" to see get the router node and use "ping" to ping the router.
 9. On router node, you can use "scan" to see get the leader node and use "ping" to ping the leader.

1 comment:

  1. 192.168.1.1 login is the management panel address for the ADSL modem. Worldwide provider of modem devices uses

    ReplyDelete