RAK3172-SiP WisDuo LPWAN SiP Firmware Update
This guide explains how to update or reflash the firmware on the RAK3172-SiP using the RAK Device Firmware Upgrade (DFU) Tool through the UART2 interface.
Device Recovery Option
If the RAK3172-SiP stops responding to AT commands or firmware updates, you can recover it using the .hex file available in the datasheet and upload it via STM32CubeProgrammer.
For detailed steps, refer to the STM32CubeProgrammer Guide for RAK Modules.
Minimum Hardware and Software Requirements
Refer to the table for the minimum hardware and software required to perform the firmware upgrade via UART2:
| Hardware/Software | Requirement |
|---|---|
| Computer | A Windows/Ubuntu/Mac computer |
| Firmware File | Bin firmware file downloaded from the website |
| Others | A USB to TTL module |
Firmware Upgrade Procedure
Execute the following procedure to upgrade the firmware in Device Firmware Upgrade (DFU) mode through the UART2 interface.
-
Download the latest application firmware of the RAK3172-SiP.
-
Download the RAK Device Firmware Upgrade (DFU) tool.
-
Connect the RAK3172-SiP with a computer through a USB to UART TTL adapter. Refer to Connect the RAK3172-SiP to a PC for the connection details.
-
Open the Device Firmware Upgrade tool. Select the serial port and baud rate (115200) of the module and click the Select Port button.
Figure 1: Device Firmware Upgrade Tool- Select the application firmware file of the module with the suffix .bin.
Figure 1: Select firmware- Click the Upgrade button to upgrade the device. After the upgrade is complete, the RAK3172-SiP will be ready to work with the new firmware.
Figure 1: Firmware upgrading
Figure 1: Upgrade successful