Im trying to use the ota2 update feature and I can't update using the webform

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
JoSt_3481606
Level 4
Level 4
First like received

This is my cyw943907aeval1f board.

I have gone through the documentation and have everything working for ota2 except the webform upload.  The webform reaches the end of the upload and the progress bar keeps going up without stopping and the device never reboots and extracts the firmware.  The terminal shows it reaches the end as well but it never reboots and updates after the transfer.

I have the ota2_example as the factory firmware.  I can restore it holding sw 1 for 10 seconds.  I can boot into softap mode holding sw 1 for 5 seconds. I built snip.scan to be the file I am trying to upload.

here is what I am builiding

snip.ota2_extract-CYW943907AEVAL1F

snip.ota2_example-CYW943907AEVAL1F ota2_factory_download download download_apps run

snip.scan-CYW943907AEVAL1F ota2_image

I included wifi_config_dct in scan and added the following to scan.mk

#OTA SoftAp application

OTA_APPLICATION := snip.ota2_extract-$(PLATFORM)

OTA_APP    := build/$(OTA_APPLICATION)/binary/$(OTA_APPLICATION).stripped.elf

# Use the local dct file instead of default from ../include

WIFI_CONFIG_DCT_H  := wifi_config_dct.h

Any ideas why the web page upload doesn't work?

0 Likes
1 Solution

This thread has the answer and was resolved.  It turned out to that the file was not the correct file.

Re: Problems with OTA2: flashing device and firmware_reset (con't)

View solution in original post

5 Replies
PriyaM_16
Moderator
Moderator
Moderator
250 replies posted 100 replies posted 50 replies posted

It should work after you manually reboot the board.

0 Likes

riya

I have tried that and it doesn't load.

0 Likes

This thread has the answer and was resolved.  It turned out to that the file was not the correct file.

Re: Problems with OTA2: flashing device and firmware_reset (con't)