RAK11161 Breakout Board Firmware Update
Follow this guide to update or reflash the firmware on the RAK11161 Breakout Board using the RAK Device Firmware Upgrade (DFU) Tool through the UART2 interface.
Device Recovery Option
If the RAK11161 Breakout Board 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.
Uploading the .hex file via STM32CubeProgrammer will erase all configured data on the device.
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-UART TTL adapter |
Firmware Upgrade Procedure
Execute the following procedure to upgrade the firmware in Device Firmware Upgrade (DFU) mode through the UART2 interface.
- The RAK11161 should automatically enter BOOT mode when firmware is uploaded via RAK DFU Tool or WisToolBox.
- If BOOT mode is not initiated, manually send
AT+BOOTcommand to start bootloader mode.
-
Download the latest application firmware of the RAK11161.
Firmware versions and download links are also provided in the table.
| Model | Version | Source |
|---|---|---|
| RAK11161 (.bin) | RUI3 Application Code only (default baudrate = 115200) | Download |
| RAK11161 (.hex) | RUI3 Bootloader and Application Code (default baudrate = 115200) | Download |
-
Download the RAK Device Firmware Upgrade (DFU) tool.
-
Connect the RAK11161 Breakout Board with a computer through a USB-to-UART TTL adapter.
-
Open the RAK Device Firmware Upgrade Tool. Select the serial port and baud rate (115200) of the module and click the Select Port button.
- If the firmware upload repeatedly fails, check your current baud rate setting using the
AT+BAUD=?command and use that baud rate value in the RAK DFU Tool. - Another option is to check if you selected the right COM port.
Figure 1: RAK 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 RAK11161 will be ready to work with the new firmware.
Figure 1: Upgrade firmware
Figure 1: Upgrade successful