Flashing iSense Devices Wirelessly User Guide 1 / 13 coalesenses research to innovate coalesenses research to innovate Coalesenses GmbH Maria-Goeppert-Str. 1 23562 Lübeck Germany www.coalesenses.com sales@coalesenses.
Flashing iSense Devices Wirelessly User Guide Document history Version Date Changes 1.0 15.10.2008 Initial version 1.1 08.12.2008 Adaptation to changes in improved over the air programming 1.2 31.10.2009 New Layout 1.3 04.06.
Flashing iSense Devices Wirelessly User Guide Contents 1. About this User Guide .................................................................................................................... 4 2. Making Applications support OTAP .............................................................................................. 5 3. Connecting a gateway node to the PC ............................................................................................ 7 4.
Flashing iSense Devices Wirelessly User Guide 1. About this User Guide This guide shows how to program iSense devices wirelessly. This process is also knows as Over-TheAir-Programming (OTAP). Note that this guide only refers to 1 hop wireless programming, as the already available multi-hop wireless programming support is still experimental. In this user guide, • files and folders are represented in the Arial typeface, • code fragments, function names etc.
Flashing iSense Devices Wirelessly User Guide 2. Making Applications support OTAP Before devices can be flashed wirelessly, they must once be flashed by wire with an application that supports later wireless programming. To make your application support OTAP, all you have to do is compile and link your application against a firmware that supports OTAP.
Flashing iSense Devices Wirelessly User Guide * devices. * */ virtual uint16 application_id (void); //---------------------------------------------------------------------------/** This method can be used to differentiate between different versions of * the application. The number is also (in addition to the application id) * shown in the OTAP-Plugin, so that the desired devices can be selected.
Flashing iSense Devices Wirelessly User Guide 3. Connecting a gateway node to the PC Make sure you are using the latest version of iShell. Start iShell. In case the “Over the air programming” tab is not visible, go to the “Plugins” tab, and activate the “Over the air programming” plugin by selecting the checkbox on the left. 1 Connect an iSense device to the PC to act as a gateway between the PC and the devices to be flashed wirelessly.
Flashing iSense Devices Wirelessly User Guide The “iShell Preferences” dialog will open. Choose “Use Serial”, select the correct COM port, and click on “Ok”. Make sure the device connected to the PC is flashed with the iSerAerial application. You can download this application from the coalesenses web site. To do so, go to www.coalesenses.com, and click on “Downloads”, then click on “iSense Applications” and download the iSerAerial application binary.
Flashing iSense Devices Wirelessly User Guide 2 Flash the binary to the iSense device connected to the PC. To do so, choose “Trigger programming mode”, and click on “Start”, and wait for program download to complete. Make sure that all devices that are to be programmed wirelessly are programmed with an application that was compiled with the “Over-the-air Programming Protocol (OTAP)” feature activated in the iSense operating and networking firmware, and that the firmware is newer than revision 2768.
Flashing iSense Devices Wirelessly User Guide 4. Using the Over-the-air Programming plugin in iShell Change to the “Over the Air Programming” tab in iShell. 3 4 5 6 7 Click on the file selector button (3), and choose the binary file to be transferred to the devices.
Flashing iSense Devices Wirelessly User Guide To detect the presence of the devices to be programmed wirelessly, click on “Start presence detection”. Nearby devices will then show up in the device list (4) if their program was compiled with the OTAP feature enabled. Note that in order to be detectable, devices must have wake periods of at least 300ms. For details on how to control whether devices are awake or not, please refer to the Writing iSense Applications User Guide [3].
Flashing iSense Devices Wirelessly User Guide 5. References [1] coalesenses Development Environment Setup User Guide, online available at http://www.coalesenses.com/index.php?page=development-environent [2] coalesenses iShell User Guide, online available at http://www.coalesenses.com/index.php?page=development-environent [3] coalesenses Writing iSense Applications User Guide, online available at http://www.coalesenses.com/index.
Flashing iSense Devices Wirelessly User Guide coalesenses GmbH Maria-Goeppert-Str. 1 23562 Lübeck Germany www.coalesenses.com sales@coalesenses.