For Linux
You can get and install adafruit-nrfutil via pip3.
sudo pip3 install adafruit-nrfutil
or
pip3 install --user adafruit-nrfutil
Then you need to download the latest RAK4631 bootloader firmware
Open the terminal and go to the directory where the RAK4631 Bootloader FW is located.
Then you need to execute this command:
adafruit-nrfutil --verbose dfu serial --package RAK4630_bootloader-0.4.1.zip -p /dev/ttyACM0 -b 115200 --singlebank --touch 1200
For macOS
Same with Windows and Linux procedures, you need to download the latest RAK4631 bootloader firmware.
There are two ways to update the RAK4631 bootloader in macOS.
If you have Python installed, you can follow the same steps for Linux.
Another way is by creating a macOS executable. To do this method, you need to download adafruit-nrfutil-macos and make it executable.
Usually, the adafruit-nrfutil-macos
file will go to the downloads folder.
The next step after downloading the file is to open the terminal and go to the downloads directory or the location where you put the downloded file.
cd /Users/username/Downloads
And then execute this command:
chmod +x adafruit-nrfutil-macos
You also need to determine the port name of the RAK4631 using the command:
ls /dev/cu.*
.
After all this steps, you can now upload the latest RAK4631 Bootloader Firmware by executing this command:
adafruit-nrfutil-macos --verbose dfu serial --package RAK4630_bootloader-0.4.1.zip -p /dev/cu.usbmodem411 -b 115200 --singlebank --touch 1200
Your RAK4631 will now have the updated Bootloader Firmware.