User guide

10 / 13
Flashing iSense Devices Wirelessly User Guide
coalesenses
research to innovate
4. Using the Over-the-air Programming plugin in iShell
Change to the “Over the Air Programming” tab in iShell.
Click on the file selector button (3), and choose the binary file to be transferred to the devices. Be sure
to choose a file that was compiled for the correct chip revision (in most cases that will be JN5139R1
for CM10X devices, and JN5148 for CM20X devices), and that all devices that you want to program
wirelessly feature the same chip revision. For details on how to determine your chip revision, please
refer to the Core Module User Guide [4].
Now choose the channel on which the devices you want to flash communicate. By default, devices use
channel 18.
In case your devices use radio encryption (note that radio encryption is only available when using 64
bit extended addressing, and must be manually enabled by calling
os().radio().hardware_radio().set_security(true, key);), enter the
appropriate key into the “Default Radio Key” input. The key must be input in hexadecimal format,
without any deviding characters, and must have a length of 16 bytes (i.e. 32 digits). Then click on “Set
radio rey” (6). To unset the radio key, completely delete the key, and click on “Set radio key”
In case your devices use an OTAP key to protect themselves from unauthorized wireless
reprogramming, enter the according key into the “OTAP key” input (7), and select the “Use OTAP
key” checkbox. For setting the key from the OTAP key example in section 2, enter
“000102030405060708090A0B0C0D0E0F”. Note that using an incorrect radio key and/or OTAP key
will result in failure to detect the according devices.
3
4 5
7
6