having trouble getting Wifi shield functioning. using H7-R1 camera boards, WiFi shield R2. IDE 3.0.3 firmware 4.4.2. 2 different camera boards, 2 different WiFi shields, tried IDE on Ubuntu and Windows 10. verified all pin connections on headers with multimeter - all connect, no shorts, the WiFi shield is in proper orientation. read all the forum threads related to WiFi. have tried using just USB power, and also with LiPo battery plugged in. all permutations return same results.
When trying connect.py example it reports “OSError: Failed to initialize WINC1500 module: init failed!”; same result using scan.py example. downloaded winc_19_7_6.bin from github, stored it to a 32GBy SD card, properly ejected it from the desktop, plugged it into the camera. ran it, says it works and verifies, but none of the examples work any different. slightly modified the fw_update.py to include printout of firmware version before and after the uptempted upload and it always reports (0, 0, 0, 19, 6, 1, 0) both BEFORE and AFTER the upload. just for kicks tried the “upload.zip” firmware from one of the forum posts and that “failed to verify” on attempted upload.
i’m kind of at a loss for what to try next. any suggestions ?? thank you for any ideas you might have !
below are copies of the (as-modified) fw_update.py i am using, and the result from it:
# WINC Firmware Update Script. # # This script updates the ATWINC1500 WiFi module firmware. # 1) Copy the firmware image to a FAT32/exFAT SD card. # 2) Safe remove/eject the SD card (or umount on Linux). (unmount from desktop computer) # 2a) put SD card in CAMERA !! (dnk added this line) # 3) Reset the camera from the IDE. # 4) Run this script to update the firmware. # # NOTE: Older fimware versions are no longer supported by the host driver. # NOTE: The latest firmware (19.7.6) only works on ATWINC1500-MR210PB. # NOTE: Firmware is at <openmv-ide-install-dir>/share/qtcreator/firmware/WINC1500/winc_19_7_6.bin # https://github.com/openmv/openmv/tree/master/src/drivers/winc1500/firmware # NOTE: IDE latest release is at https://github.com/openmv/openmv/releases # # DNK: note that even though this SAYS it stored the new firmware, the firmware # report still shows version 19.6.1 # this kind of agrees with the poster in:https://forums.openmv.io/t/wifi-shield-firmware/1516 # # special debugging version of firmware per https://forums.openmv.io/t/wifi-shield-issue-cannot-run-wifishield-example-code/6613/13 import network # TEMPORARY FOR DNK TESTING wlan = network.WINC(mode=network.WINC.MODE_FIRMWARE) print("\nFirmware version (before):", wlan.fw_version()) # END OF TEMPORARY TESTING # Init wlan module in Download mode. wlan = network.WINC(mode=network.WINC.MODE_FIRMWARE) # For ATWINC1500-MR210PB only. wlan.fw_update("/winc_19_7_6.bin") # wlan.fw_update("/firmware.bin") # TEMPORARY FOR DNK TESTING wlan = network.WINC(mode=network.WINC.MODE_FIRMWARE) print("\nFirmware version (after):", wlan.fw_version()) # END OF TEMPORARY TESTING ================================ RESULT =========== >>> Running in Firmware Upgrade mode... Firmware version (before): (0, 0, 0, 19, 6, 1, 0) Running in Firmware Upgrade mode... Erasing flash... Programming firmware image... Verifying firmware image... All task completed successfully. Running in Firmware Upgrade mode... Firmware version (after): (0, 0, 0, 19, 6, 1, 0) OpenMV v4.4.2; MicroPython v1.19-omv-r6; OPENMV4-STM32H743 Type "help()" for more information. >>>