mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
18 lines
502 B
Python
18 lines
502 B
Python
# WINC Firmware Update Script.
|
|
#
|
|
# This script updates the ATWINC1500 WiFi module firmware.
|
|
# Copy the firmware image to uSD card before running this script.
|
|
# NOTE: Firmware version 19.5.2 does NOT support ATWINC1500-MR210PA.
|
|
|
|
import network
|
|
|
|
# Init wlan module in Download mode.
|
|
wlan = network.WINC(mode=network.WINC.MODE_FIRMWARE)
|
|
|
|
# Start the firmware update process.
|
|
# For ATWINC1500-MR210PA/B
|
|
#wlan.fw_update("/winc_19_4_4.bin")
|
|
|
|
# For ATWINC1500-MR210PB only.
|
|
wlan.fw_update("/winc_19_5_2.bin")
|