Seamless OTA Firmware Update: MeshCore RAK4631 to 1.12 via Bluetooth

We are excited to share a successful method for upgrading MeshCore 1.11 RAK4631 repeater nodes to the latest 1.12 firmware wirelessly via Bluetooth. This process, facilitated by the MTools application (available on both Android and iOS), streamlines firmware maintenance without requiring physical cable connections.

Pre-requisites

  • A MeshCore RAK4631 node (Repeater) running 1.11.
  • Latest MTools BLE app installed on your iOS or Android device.
  • Target firmware file (1.12).

Step-by-Step Update Guide

1. Activate DFU Mode

Before initiating the update, the node must be placed into Device Firmware Update (DFU) mode. This is a critical step:

  1. Connect to your repeater node via serial/USB.
  2. Enter the Command Line Interface (CLI) mode.
  3. Execute the command: start ota

2. Configure MTools Connection

Open the MTools application on your phone and prepare the connection:

  • Select Node Type: Ensure you choose the correct node category.
  • Select Hardware Type: Verify that RAK4631 is selected to match your hardware.
  • Connect: Initiate the Bluetooth connection to your DFU-enabled node.

3. The Update Process

Once connected, proceed with the firmware file transfer. Please Note: This process requires patience.

  • Initialization: It may take 1-2 minutes for the process to fully commence after connection.
  • Transfer: The file transfer itself typically takes around 5 minutes via Bluetooth LE. Do not interrupt the process or close the app during this time.


Acknowledgments & Resources

A special thank you to Discord community member NerdHerder for researching and sharing this effective workflow.

Technical Reference:
For those interested in the official documentation, you can refer to the MeshCore GitHub FAQ.

Download MTools:
MTools BLE is available for both Android and iOS.
Download MTools App

2 thoughts on “Seamless OTA Firmware Update: MeshCore RAK4631 to 1.12 via Bluetooth

  1. Dave O'Connor says:

    I’m loving the potential of this tool but it isn’t quite working for me. It goes through the whole process until the upload goes to 100%, but the ‘Abort’ button is still enabled and the blue light remains illuminated on the repeater. I have left it about 30 minutes in this state with no change. If I try to exit the app I get a message “Please wait for the upload to finish”. I have tried this several times with the same outcome. So near, but yet so far 🙁

Leave a Reply

Your email address will not be published. Required fields are marked *