I’m having some trouble with one of the RAK4630 modules on a RAK19001 base board. The basic problem is that there is no drive showing up to flash something.
I’m on MacOS and I’ve gone through the steps to upgrade the module as described here. What happened was that I was able to flash the most recent RAK4630_latest_dfu_package, but that did not help. What I can do is connect with serial and issue AT commands, such as
AT+VER=?
AT+VER=RUI_4.2.4_RAK4631
OK
and obviously I can issue AT+BOOT, then the serial disconnects, comes back under the same name, but there is no drive showing up to push any UF file to it.
Any hint is highly appreciated. thx
PS: just to say, when it should be in the DFU mode, I can connect the serial terminal again, but there is no sign of activity, nor do I get any feedback on issuing AT commands, so I suspect it is in DFU mode, but does not expose the drive…
PPS: I managed to flash the factory bootloader - step 6 indicated here. That made the drive appear with this info
UF2 Bootloader 0.4.2 lib/nrfx (v2.0.0) lib/tinyusb (0.10.1-293-gaf8e5a90) lib/uf2 (remotes/origin/configupdate-9-gadbb8c7)
Model: WisBlock RAK4631 Board
Board-ID: WisBlock-RAK4631-Board
Date: Dec 1 2021
SoftDevice: S140 7.2.0
but that’s again end of story. I can’t move on to flash the softdevice, and I can’t drop UF firmwares to it, as they don’t boot…
Downloads % ./nrfutil-mac.1 dfu serial -p /dev/cu.usbmodem31201 -pkg rak4631_factory_softdevice.zip
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 1063, in 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 652, in unpack_package
File "nordicsemi/dfu/manifest.py", line 200, in from_json
TypeError: __init__() got an unexpected keyword argument 'dfu_version'
[59822] Failed to execute script '__main__' due to unhandled exception!
… and now it’s gone… no more serial interface, no more drive…