I’m trying to update the RUI3 firmware. The old version is 3.5.5
AT+VER=RUI_3.5.3_RAK4631
OK
I am trying to use the “Firmware Update via USB” method on a Mac.
I’ve dodged a few problems like that having to re-zip the files that Mac helpfully unzipped on download and asking the Privacy Settings for an exception to allow nrf-util to run without Apple’s blessing. I’ve also made sure to pick up the rui3 version, but I’m still against a problem.
./nrfutil-mac.1 dfu usb-serial -pkg rui3_rak4631_latest.zip -p /dev/cu.usbmodemC214E6D664D11
Traceback (most recent call last):
File "nordicsemi/__main__.py", line 1545, in <module>
File "click/core.py", line 1137, in __call__
File "click/core.py", line 1062, in main
File "click/core.py", line 1668, in invoke
File "click/core.py", line 1668, in invoke
File "click/core.py", line 1404, in invoke
File "click/core.py", line 763, in invoke
File "nordicsemi/__main__.py", line 1022, in usb_serial
File "nordicsemi/__main__.py", line 972, in do_serial
File "nordicsemi/dfu/dfu.py", line 69, in __init__
File "nordicsemi/dfu/package.py", line 648, in unpack_package
FileNotFoundError: [Errno 2] No such file or directory: '/var/folders/n2/d5q87fd15gq73p4_zmgl8p0h0000gn/T/nrf_dfu_70zl0_z9/unpacked_zip/manifest.json'
[26587] Failed to execute script '__main__' due to unhandled exception!
I’ve tried picking up a bunch of zips from the download centre, where the zips include a bin file. No matter what I drag and drop into the “Custom Firmware” catch box, it tells me that my zip file doesn’t satisfy one of several criteria.
Would you please point me to the exact bin file I should be wrapping into a zip and dropping into the custom firmware basket.
You wouldn’t believe it. I’ve been poking this thing for two or three hours. All of a sudden, the version 4.1.0 firmware appeared as an “Official” option with an upgrade button under it.
I clicked it; it failed with a timed out, but suggested I try again. Second time around it, with a fresh connection it upgraded successfully. I should go buy a lottery ticket.