Cat M1 / NB-IoT Modem
NWK030
Procedure for FOTA Upgrade via UFTP Method
1.
Verify existing / current firmware version via ATI command
2. Set up a FTP connection:
AT+UFTP=0,”<ip_address>”
AT+UFTP=7,<server_port_number>
AT+UFTP=2,”<username>”
AT+UFTP=3,”<password>”
AT+UFTP=4,”<account>”
AT+UFTP=5,<timeout_seconds>
AT+UFTP=6,<ftp_mode: 1-passive, 0-active>
AT+UFTPC=1
The +UUFTPCR: 1,1 URC is issued to confirm a successful connection.
3.
Download the phase-1 file from the FTP server
AT+UFTPC=100,”<package_path>/fwA_to_fwB-Phase1.pkg”
4.
After the download is finished (+UUFTPCR: 100, 1), start the FOTA update:
AT+UFWINSTALL
The page should reboot shortly after (< 2 minutes), do not remove the power from the device before it reboots.
5. Setup a FTP connection:
AT+UFTP=0,”<ip_address>”
AT+UFTP=7,<server_port_number>
AT+UFTP=2,”<username>”
AT+UFTP=3,”<password>”
AT+UFTP=4,”<account>”
AT+UFTP=5,<timeout_seconds>
AT+UFTP=6,<ftp_mode: 1-passive, 0-active>
AT+UFTPC=1
The +UUFTPCR: 1,1 URC is issued to confirm a successful connection.
6.
Download the phase-2 file from the FTP server:
AT+UFTPC=100,”<package_path>/fwA_to_fwB-Phase2.pkg”
7.
After the download is finished (+UUFTPCR: 100, 1), start the FOTA update:
AT+UFWINSTALL
It should reboot after 15-20 minutes, do not remove the power from the device before it reboots.
8.
Verify firmware version via the ATI command
The firmware should be different from the previous ATI command output
Initial Setup (cont.)
For more information and details on the HTTP commands, see the U-blox manual by searching U-blox’s website for SARA-R4 or
following this link
https://www.u-blox.com/en/product/sara-r4-series#tab-documentation-resources
Procedure for FOTA Over HTTP (cont.)
US Office
Phone: +1 802 861 2300
Email: [email protected]
www.onlogic.com
EU Office
Phone: +31 088 5200 700
Email: [email protected]
www.onlogic.com
11