Skip to content

GD_REL-1.3.0

Compare
Choose a tag to compare
@changtengfei changtengfei released this 04 Jul 14:43
· 259 commits to develop since this release

This is the release of Golden Image for Plugtests Interoperability Events: GD_REL-1.3.0.

Highlights

Two golden images are provide by this release:

Gold Image/ROOT

To compile and download the golden image/ROOT source code on the OpenMote-CC2538, you need plugin the OpenMote-CC2538 node to your computer and find out its serial port assigned by your OS, then use:

scons board=OpenMote-CC2538 toolchain=armgcc goldenImage=root bootload=[port name] oos_openwsn

Golden Image/SNIFFER

To compile and download the golden image/ROOT source code on the OpenMote-CC2538, use:

scons board=OpenMote-CC2538 toolchain=armgcc goldenImage=sniffer bootload=[port name] oos_sniffer

To configure the golden image, run the following command first at the directory of opewsn-sw/software/openvisualizer/:

scons runcli

Then use set command to configure the golden image. Following are the command supported:

  • set ebPeriod to “param” seconds
set [port name] gd_root ebPeriod [param] 
  • set transmitting channel to “param”
set [port name [gd_root|gd_sniffer] channel [param]
  • set dioPeriod to “param” mili-seconds
set [port name gd_root dioPeriod [param]
  • set daoPeriod to “param” mili-seconds
set [port name gd_root daoPeriod [param]
  • set node dagrank to “param”
set [port name gd_root dagrank [param]
  • set frame length to “param”
set [port name gd_root frameLength [param]
  • enable/disable ackReply. Enabled when “param” is 1, Disabled when “param” is 0
set [port name gd_root ackReply [param]
  • issue a 6p add command to add slot1,slot2 and slot3. For this command, the param requires to be put in between "[" and "]". For example, set COM4 gd_root 6pAdd [6,7]
set [port name gd_root 6pAdd [slot1,slot2,slot3]
  • issue a 6p delete command to delete slot1,slot2 and slot3. For this command, the param requires to be put in between "[" and "]". For example, set COM4 gd_root 6pDelete [6,7]
set [port name gd_root 6pDelete [slot1,slot2,slot3]
  • issue a 6p count command to get the number of slots of its neighbor. For this command, the param is not useless, put any number as param to process the command. For example, set COM4 gd_root 6pCount 0
set [port name gd_root 6pCount [param]
  • issue a 6p list command to list all slots of its neighbor. For this command, the param is not useless, put any number as param to process the command. For example, set COM4 gd_root 6pList 0
set [port name gd_root 6pList [param]
  • issue a 6p reset command to remove all slots of its neighbor. For this command, the param is not useless, put any number as param to process the command. For example, set COM4 gd_root 6pReset 0
set [port name gd_root 6pReset [param]
  • set slot duration to “param”(ticks, 30.5us)`
set [port name gd_root slotDuration [param]
  • enable/disable 6p repsonse. Enabled when “param” is 1, Disabled when “param” is 0
set [port name gd_root response [param]
  • set outgoing bandwidth of mote for sf0 to calculate the number of cells to be reserve/removed. The bandwidth unit is packet/slotframe. For example, set COM4 gd_root sf0Bandwidth 2
set [port name gd_root s0fBandwidth [param]

Two parts of Golden Images

The golden image contains two parts: firmware + software. And the this is the firmware release pages. To access the software pages, please visit: https://github.com/openwsn-berkeley/openwsn-fw/releases/tag/GD_REL-1.3.0

Pre-Compiled Images

There are two pre-compiled images you can download:

You can use the following the images with bootload scripts using following command:

\openwsn-fw>bootloader\OpenMote-CC2538\cc2538-bsl.py -e -w -b 115200 -p [port name] --bsl 03oos_openwsn_prog.bin

and

\openwsn-fw>bootloader\OpenMote-CC2538\cc2538-bsl.py -e -w -b 115200 -p [port name] --bsl 03oos_sniffer_prog.bin

Hardware Platforms and Toolchains

The OpenMote-CC2538 (www.openmote.com) is chosen to play the role of golden device. armgcc is the toolchain we used for compiling.

About

The OpenWSN project is to to provide open-source implementations of a complete protocol stack based on Internet of Things standards, on a variety of software and hardware platforms.

This implementation will provide a source code of golden image for the 6TiSCH-3-Plugtests Interoperability Event, which will be held at Berlin, Germany, July 15-17 2016.