# WINC Firmware Update Script
#
# To start have a successful firmware update create a "firmware" folder on the
# uSD card and but a bin file in it. The firmware update code will load that
# new firmware onto the WINC module.

import network

# Init wlan module in Download mode.
wlan = network.WINC(mode=network.WINC.MODE_FIRMWARE)
print("Firmware version:", wlan.fw_version())

# Start the firmware update process.
wlan.fw_update()
print("Firmware version:", wlan.fw_version())

@@ -26,454 +26,477 @@
 ript
+.
 %0A#%0A# T
-o start have a successful firmware update create a %22firmware%22 folder on the%0A# uSD card and but a bin file in it. The firmware update code will load that%0A# new firmware onto the WINC module.%0A%0Aimport network%0A%0A# Init wlan module in Download mode.%0Awlan = network.WINC(mode=network.WINC.MODE_FIRMWARE)%0Aprint(%22Firmware version:%22, wlan.fw_version())%0A%0A# Start the firmware update process.%0Awlan.fw_update()%0Aprint(%22Firmware version:%22, wlan.fw_version()
+his script updates the ATWINC1500 WiFi module firmware.%0A# Copy the firmware image to uSD card before running this script.%0A# NOTE: Firmware version 19.5.2 does NOT support ATWINC1500-MR210PA.%0A%0Aimport network%0A%0A# Init wlan module in Download mode.%0Awlan = network.WINC(mode=network.WINC.MODE_FIRMWARE)%0A%0A# Start the firmware update process.%0A# For ATWINC1500-MR210PA/B%0A#wlan.fw_update(%22/winc_19_4_4.bin%22)%0A%0A# For ATWINC1500-MR210PB only.%0Awlan.fw_update(%22/winc_19_5_2.bin%22
 )%0A

Update WINC firmware script