TI IOT: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 23: | Line 23: | ||
* Install gcc-arm-none-eabi and libnewlib-arm-none-eabi (this allows to compile the contiki code) | * Install gcc-arm-none-eabi and libnewlib-arm-none-eabi (this allows to compile the contiki code) | ||
* if system complains about "Could not find the cc2538-bsl script", | * if system complains about "Could not find the cc2538-bsl script", | ||
To get uniflash running on a 64bits Unix machine, i had to install the following 32 bits packages: | |||
* libgnomevfs2-0:i386 | |||
* liborbit-2-0:i386 | |||
* libusb-0.1-4:i386 |
Revision as of 13:41, 17 February 2016
The idea is to build a network of sensortags communicating over IPv6 (6LoWPAN).
TI Sensortags (CC2650SDK) will be used a nodes TI CC2538 will be configured as a 802.15.4 sniffer
Creating a 802.15.4 sniffer
- you need firmware that could act as a sniffer run on that mote (cc2538): the firmware, you could find on example on contiki folder ($CONTIKI_HOME/examples/cc2538dk/sniffer)
- need software what forward the packet from sniffer to wireshark (available here)
- setup wireshark to read those packet
To build a firmware, one need to install the proper toolchain first. Instructions are available here
Flashing the CC2538
The goal is to create a new firmware and flash it to the cc2538DK
To create the new firmware, let's use a Contiki example (examples/cc2538dk/cc2538-demo.c)
Instructions are available here
On LinuxMint 17.3, I had to do the following:
- Install gcc-arm-none-eabi and libnewlib-arm-none-eabi (this allows to compile the contiki code)
- if system complains about "Could not find the cc2538-bsl script",
To get uniflash running on a 64bits Unix machine, i had to install the following 32 bits packages:
- libgnomevfs2-0:i386
- liborbit-2-0:i386
- libusb-0.1-4:i386