SARA-R4/N4 series - AT Commands Manual
UBX-17003787 - R09
14 System features
Page 145 of 307
14.2 Firmware update Over AT (FOAT) +UFWUPD
+UFWUPD
SARA-R404M SARA-R410M-01B SARA-R410M-02B SARA-R410M-52B SARA-R412M
Modules
SARA-N4
Syntax
PIN required
Settings saved Can be aborted
Response time Error reference
Attributes
partial
No
No
No
-
14.2.1 Description
Triggers the firmware update using the Xmodem or Xmodem-1k protocol.
The command syntax differs depending on the module series: see the corresponding subsection for the correct
command handling.
The errors (data corruption, data loss, etc.) during the Update phase are internally handled by the Xmodem
protocol itself; for more details about the error result codes, see
If no data comes to the module after having issued the AT+UFWUPD command, up to ten NACK are sent
and then Firmware Update Mode is dropped out coming back to normal mode; the FW is unchanged and
still useable (ERROR1).
For more details, see the u-blox Firmware Update Application Note [
].
14.2.2 Description
Making use of the file triggers the firmware download using the Xmodem or Xmodem-1k protocols.
In case of power loss during the download, at the next module wake-up the module remains in Firmware
Download Mode expecting that the download restarts from the beginning.
14.2.3 Syntax
Type
Syntax
Response
Example
Set
AT+UFWUPD=<filetype>
+UFWUPD: ONGOING
CCC<NACK><NACK><NACK>
<NACK><NACK><NACK><NACK>
<NACK><NACK><NACK>
OK
AT+UFWUPD=3
+UFWUPD: ONGOING
CCC<NACK><NACK><NACK>
<NACK><NACK><NACK><NACK>
<NACK><NACK><NACK>
OK
Test
AT+UFWUPD=?
+UFWUPD: (list of supported
<filetype>s)
OK
+UFWUPD: (3)
OK
14.2.4 Defined values
Parameter
Type
Description
<filetype>
Number
Download type:
•
3: firmware image update
14.2.5 Notes
SARA-R404M
• Status updates on the file transfer via CCC or <NACK><NACK><NACK> are not sent to the terminal.