ODIN-W2 series - System integration manual
UBX-14040040 - R20
Software
Page 20 of 43
C1-Public
Figure 6: Software update window in s-center
The module is now re-flashed with the selected software.
2.1.2
Software update using AT command
Use the AT+UFWUPD AT command to update the software in the ODIN-W2 series module. This will
trigger the bootloader to accept a file for download. The file download uses an XMODEM protocol.
☞
The UART HW Flow is not used during the software update. See the
u-blox Short range AT
commands Manual [1] for information about the firmware update command.
2.1.3
Software update using rescue mode
Flashing a new version of the ODIN-W2 connectivity software can also be done using the rescue mode;
this mode also uses the XMODEM protocol. This mode is not started by an AT command, but by
grounding pin A6 (SWITCH_0) and pin A8 (SWITCH_1) during a reset.
•
When the module has started in bootloader mode, a ‘>’ prompt will appear
•
Note that the baud rate must be sent in hex, for example:
o
115200 = 1C200
o
230400 = 38400
o
460800 = 70800
o
921600 = E1000
•
For example, to update the software using the baud rate of 460800, use the ‘r’ command
o
r 70800
•
Start the software flashing with the ‘x’ command on address 0x8010000
o
x 0x8010000
•
The module will now reply with ‘C’ characters showing it is ready to receive XMODEM-CRC16 data.
Once the download is complete, the command ‘q’ shall be sent to reset the module, or a power cycle.
Keep in mind that the u-blox bootloader requires the following UART settings irrespective of the
settings that were used before entering the bootloader:
•
Baud rate: 115200
•
Data: 8 bits
•
Parity: none
•
Stop: 1 bit
•
Flow control: none