Skip to content

Error flashing latest firmware to RAK4631 #111

@cwlls

Description

@cwlls

Describe the Bug
When using the rnodeconf -a /dev/... command the flashing proceeds through each step, but fails in the EEPROM validation step, leaving the device in an unusable state. This is true with versions 1.82 and 1.81. Flashing with version 1.80 works as anticipated.

To Reproduce
Attempt to flash a RAK4631 device using firmware versions 1.82 or 1.81

Expected Behavior
The flashing process should succeed leaving the device in a functional, albeit "experimental" state (given the current status of the RAK4631 within RNode)

Logs & Screenshots

------------------------------------------------------------------------------
                               Installer Ready

Ok, that should be all the information we need. Please confirm the following
summary before proceeding. In the next step, the device will be flashed and
provisioned, so make sure that you are satisfied with your choices.

Serial port     : /dev/cu.usbmodem12101
Device type     : RAK4631 779 - 928 MHz
Platform        : NRF52
Device MCU      : Nordic Semiconductor nRF52840
Firmware file   : rnode_firmware_rak4631.zip

------------------------------------------------------------------------------

Is the above correct? [y/N] y
[11:40:22] Checking firmware file availability...
[11:40:22] Retrieving latest version info from https://unsigned.io/firmware/latest/?v=2.4.0&variant=rnode_firmware_rak4631.zip
[11:40:24] The selected firmware for this board is version 1.82
[11:40:24] Using existing firmware file: rnode_firmware_rak4631.zip for version 1.82
[11:40:24] Verifying firmware integrity...
[11:40:25] Decompressing firmware...
[11:40:25] Firmware decompressed
[11:40:25] Flashing RNode firmware to device on /dev/cu.usbmodem12101
Upgrading target on /dev/cu.usbmodem12101 with DFU package /Users/cwlls/.config/rnodeconf/update/1.82/rnode_firmware_rak4631.zip. Flow control is disabled, Dual bank, Touch 1200
########################################
########################################
########################################
########################################
########################################
########################################
########################################
########################################
########################################
########################################
########################################
##################################
Activating new firmware
Device programmed.
[11:40:53] Done flashing
[11:40:53] Waiting for NRF52 reset...
[11:40:59] Opening serial port /dev/cu.usbmodem12101...
[11:41:02] Device connected
[11:41:02] Current firmware version: 1.82
[11:41:02] Reading EEPROM...
[11:41:03] Clearing old EEPROM, this will take about 15 seconds...
[11:41:26] Waiting for NRF52 reset...
[11:41:44] Loading signing key...
[11:41:44] Bootstrapping device EEPROM...
[11:41:50] EEPROM written! Validating...
[11:41:50] Setting firmware checksum...
[11:41:57] Waiting for NRF52 reset...
[11:42:18] EEPROM was written, but validation failed. Check your settings.

System Information

  • OS and version: macOS 15.3.2 (24D81)
  • Python version: Python 3.13.2 (running within a venv)
  • Program version: rnodeconf 2.4.0

Additional context
Meshtastic was previously installed on this device, but after a successful flash to version 1.80 of RNode, the issues persist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions