-
Notifications
You must be signed in to change notification settings - Fork 1
Load Firmware into IIITD WSN Node
-
Install Tortoise SVN client to checkout latest code from SVN.
-
Make a new folder and then select checkout from tortoise SVN Client from http://iiitd-hostel-deployment.googlecode.com/svn/trunk/
-
Install Openpicus IDE.
-
Open checked-out project from step 2 in Openpicus IDE
-
If you only have a single device, skip this step. In case of multiple WSN nodes, you need to set custom MAC for every WSN node.
-
Inside OpenPicus IDE, select Wizard from the Home tab.
-
TCP/IP Configuration Wizard opens. Click Next.
-
No changes are required on the Services selection page. Click Next.
-
On the Network Configuration page, select Custom MAC option and set the MAC address for the WSN node. By default, the MAC is 00:04:A3:00:00:00.
-
Slide through the rest of the wizard pages by clicking Next till TCP/IP Configuration Complete page. Select Finish to compile the TCP/IP Stack with updated configuration.
-
Compile the project to generate the new .hex file.
-
Check for Sensorwifi.hex in Obj folder in the checked-out project drive.
-
If HEX file is not there then click on Compile Project to build the project and generate HEX file.
-
Connect USB-UART cable to the UART pin out of Flyport to load HEX file into the program memory of the Flyport module.
-
Connect the USB-UART Bridge to the Flyport and open Device manager to check COM port at which your USB-UART Bridge is connected mentioned as USB serial PORT.
-
Press Download Firmware from Openpicus IDE to load firmware.
-
Press Download button on the Picus Brutus Bootloader window.
(i) Bootloader is searched as soon as you press the Download button.
(ii) After this, you need to press the RESET button manually. This will start loading the HEX file into the program memory.
The Firmware will be loaded into the program memory!
Next: Set WSN Node parameters