3.8.6 OTA Demo
This example demonstrates how to upgrade the WINC1500 firmware via OTA. It downloads the WINC1500 firmware from an OTA download server, which is a web server.
Use any HTTP server or hfs.exe from http://www.rejetto.com/hfs/
Run the hfs.exe
Set the port number to 8000 in the hfs tool.
Add the OTA firmware from the “\utilities\m2m_ota_3a0.bin” to the root folder in the hfs.exe tool.
Note:
Current OTA application ( \utilities\m2m_ota_3a0.bin ) image is of latest firmware 19.7.3 release, user can select required firmware version of the OTA image as per their choice. To create the required OTA firmware, follow the steps mentioned in the document Firmware Upgrade of WINC Devices.
Configure the wifi parameters using "wifi set" command.
Copy the URL from hfs tool.
Enter the command "ota <image_url>".
Enter the application command "appdemo start 1 7" to run the OTA demo. First the device will connect to the network. After the IP address has displayed on the terminal window, application will execute the OTA command and starts the OTA firmware upgrade.