I bought the RAK4631 WisMesh combo from my local supplier as it was cheaper than the RAK4631 + Base Board separately, but I don’t wish to use Meshtastic, so I’m trying to upload my own code.
I double clicked the base board button and the drive popped up in file explorer. I built a .uf2 file using PlatformIO following the guide. I then dragged this file into the drive and it uploaded, but it didn’t run as expected on the board (it was a blink example). Instead, the green LED started fading in and out, and the blue LED flashes every ~500ms.
Right now, the board has three distinct states.
- Upon turning on, the red LED is on, and no others. No COM device is detected.
- When the base board button is clicked once, the green LED fades in and out, and the blue LED flashes every ~500ms. No COM device is detected.
- When clicking the button again, the blue LED stops flashing, but the green LED still fades. The drive shows up in file explorer and it shows up as a COM device.
I’ve tried following the guide for reverting the RAK4631-R to the Arduino BSP, but because I can’t send AT commands to the board, I can’t get it into boot mode.
I’ve also tried using OpenOCD with an STLink. I think I’m able to connect to it, but I can’t really get anything to work.
C:\Users\liamb>openocd -f "interface/stlink-dap.cfg" -c "transport select dapdirect_swd; source [find target/nrf52.cfg]; init"
xPack Open On-Chip Debugger 0.12.0+dev-02228-ge5888bda3-dirty (2025-10-04-22:44)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
WARNING: interface/stlink-dap.cfg is deprecated, please switch to interface/stlink.cfg
Warn : DEPRECATED! use 'transport select swd', not 'transport select dapdirect_swd'
WARNING: 'target/nrf52.cfg' is deprecated, use 'target/nordic/nrf52.cfg' instead
Info : STLINK V3J16M9 (API v3) VID:PID 0483:3754
Info : Target voltage: 3.309018
Info : clock speed 1000 kHz
Info : SWD DPIDR 0x2ba01477
Error: [nrf52.cpu] Examination failed
Warn : target nrf52.cpu examination failed
Info : [nrf52.cpu] starting gdb server on 3333
Info : Listening on port 3333 for gdb connections
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : accepting 'telnet' connection on tcp/4444
> nrf52_recover
C:/OpenOCD/bin/../openocd/scripts/target/nordic/nrf52.cfg:86: Error:
Traceback (most recent call last):
File "C:/OpenOCD/bin/../openocd/scripts/target/nordic/nrf52.cfg", line 86, in nrf52_recover
{nrf52.dap apreg} 1 4 0
> init
> reset_config srst_only srst_nogate connect_assert_srst
> nrf5 mass_erase
Error: Target not examined yet
Error: Target not examined yet
Error: Target not examined yet
Error: Target not examined yet
Error: Couldn't read FICR CONFIGID register
Error: auto_probe failed
> init
> reset halt
> nrf5 mass_erase
Error: [nrf52.cpu] Examination failed
Info : [nrf52.cpu] AP write error, reset will not halt
TARGET: nrf52.cpu - Not examined
Info : dropped 'telnet' connection
Thanks ![]()