Skip to content

Unable to flash rak4631 #14

@kujeger

Description

@kujeger

Hi!

Trying to flash a rak4631, but after flashing it fails to write EEPROM:

[13:42:25] Done flashing
[13:42:25] Waiting for NRF52 reset...
[13:42:31] Opening serial port /dev/ttyACM0...
[13:42:34] Device connected
[13:42:34] Current firmware version: 1.85
[13:42:34] Reading EEPROM...
[13:42:35] Clearing old EEPROM, this will take about 15 seconds...
[13:42:58] Waiting for NRF52 reset...
[13:43:16] Loading signing key...
[13:43:16] Bootstrapping device EEPROM...
[13:43:35] An error occurred while writing EEPROM. The contained exception was:
[13:43:35] write failed: [Errno 5] Input/output error
Traceback (most recent call last):
  File "/home/kujeger/.local/share/uv/tools/rns/lib64/python3.14/site-packages/serial/serialposix.py", line 621, in write
    n = os.write(self.fd, d)
OSError: [Errno 5] Input/output error

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/kujeger/.local/bin/rnodeconf", line 10, in <module>
    sys.exit(main())
             ~~~~^^
  File "/home/kujeger/.local/share/uv/tools/rns/lib64/python3.14/site-packages/RNS/Utilities/rnodeconf.py", line 4385, in main
    raise e
  File "/home/kujeger/.local/share/uv/tools/rns/lib64/python3.14/site-packages/RNS/Utilities/rnodeconf.py", line 4240, in main
    rnode.write_eeprom(ROM.ADDR_SIGNATURE+i, signature[i])
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/kujeger/.local/share/uv/tools/rns/lib64/python3.14/site-packages/RNS/Utilities/rnodeconf.py", line 1003, in write_eeprom
    written = self.serial.write(kiss_command)
  File "/home/kujeger/.local/share/uv/tools/rns/lib64/python3.14/site-packages/serial/serialposix.py", line 655, in write
    raise SerialException('write failed: {}'.format(e))
serial.serialutil.SerialException: write failed: [Errno 5] Input/output error

It should be using 1.85.3; I've wiped the local rnodeconf cache.

Flashing plain upstream rnode 1.85 works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions