Updating WizFi360 via AT+CIUPDATE command or SPI
Wireless
No replies yet. Be the first to reply.
Join the discussion.
Wireless
No replies yet. Be the first to reply.
Join the discussion.
Share projects and connect with makers.
Joined before the site update? first.
New to WIZnet Makers?
We sent a verification link to your address. Open it to activate your account, then log in.
Accounts from this email provider are reviewed by an administrator after verification. Approval usually takes one business day.
Already have an account?
Enter your email address. If it belongs to an account, we'll send a link to set a new password. Members who joined before the site update use this to set their password.
If an account uses that address, we sent a link to set a new password. The link works once and expires in 30 minutes.
Know your password?
Need an account?
RE: Updating WizFi360 via AT+CIUPDATE command or SPI
by austin ·
Hello @hkm_mn
The SPI interface can also use the same AT commands as the UART interface.
Therefore, firmware update is possible with ‘AT+CIPUPDATE’ through the SPI interface.
For the response to ‘AT+CIUPDATE’, refer to ‘3.3.21 AT+CIUPDATE’ in the document below.
RE: RE: Updating WizFi360 via AT+CIUPDATE command or SPI
by hkm mn ·
Thank you for your reply. From the documentation, the AT+CIUPDATE does following steps:
1: find the server
2: connect to server
3: get the software version
4: start updating
Could you please confirm that the command also checks integrity of downloaded firmware between steps 3 and 4?
RE: Updating WizFi360 via AT+CIUPDATE command or SPI
by austin ·
Hi @hkm_mn
Yes, check the integrity in step 4.
RE: Updating WizFi360 via AT+CIUPDATE command or SPI
by hkm mn ·
Hello again,
I have a problem with OTA firmware update. Using the latest release from Release/Binary at master · wizfi/Release · GitHub , I Issue following command:
and the response I get is as follows:
the module then sends
+CIPUPDATE:1every 5 or so seconds. I’ve tried updating without specifying URL or withAT+CIUPDATE="http://wizwiki.net/download/WizFi360/O11/WizFi360_SDK.img"or withAT+CIUPDATE="http://wizwiki.net/download/WizFi360/WizFi360_SDK.img"but those always result in error after+CIUPDATE:3.After rebooting the device, I’m still at version 1.1.1.7 like before the update:
RE: Updating WizFi360 via AT+CIUPDATE command or SPI
by austin ·
Hi @hkm_mn
Would you like to try OTA by entering this address?
RE: Updating WizFi360 via AT+CIUPDATE command or SPI
by hkm mn ·
It worked! I’ve analyzed the problem a bit and found out that the culprit was that my web server was using HTTPS instead of HTTP.
Would it be possible for you to add ability to AT+CIUPDATE command to accept firmware from HTTPS sources? Today almost all of web is HTTPS-based and having a HTTP exception in our server’s configuration is troublesome. Also, we really need to host the firmwares ourselves to have strict control on what firmware version our devices are running. We can’t use always-latest firmware from your address because in case of incompatibility on our end we’ll be left with unresponsive devices and need to service them on-site which is costly for us.