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.

  1. 1.

    Use any HTTP server or hfs.exe from http://www.rejetto.com/hfs/

  2. 2.

    Run the hfs.exe

  3. 3.

    Set the port number to 8000 in the hfs tool.


    hfs_set_port
  4. 4.

    Add the OTA firmware from the “\utilities\m2m_ota_3a0.bin” to the root folder in the hfs.exe tool.


    hfs_add_file_path

    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.

  5. 5.

    Configure the wifi parameters using "wifi set" command.


    wifi_config
  6. 6.

    Copy the URL from hfs tool.


    hfs_copy_url
  7. 7.

    Enter the command "ota <image_url>".


    ota_url
  8. 8.

    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.


    ota_console