I’ve designed a custom board with RAK4600 where I’d like to use Arduino.
I’ve followed the step-by-step guide on github, uploaded the feather bootloader using daplink/jlink successfully, using the pyocd command.
I can see the device is in DFU mode, because with my nRF Connect app, I can discover “AdaDFU”.
However, when I try to flash the arduino user code, I get the following:
Upgrading target on COM5 with DFU package C:\Users\S�k�sd Attila\AppData\Local\Temp\arduino\sketches\55EEC7B9B2BAABF73E8F39117CEAD061\RAK4600_bleuart.ino.zip. Flow control is disabled, Single bank, Touch disabled
Opened serial port COM5
Starting DFU upgrade of type 4, SoftDevice size: 0, bootloader size: 0, application size: 75544
Sending DFU start packet
Timed out waiting for acknowledgement from device.
Sending DFU init packet```
I've confirmed that my UART works using the AT firmware. Also tried shorting P0.18/19 and holding nRST too.
Please help!
Is it possible to recompile the arduino bootloader? I would like to try to debug why it doesn’t work, maybe I can augment the code with sme debugging to understand where it goes wrong.
The bootloader is the one from Adafruit for the nRF52832. I am not sure if we did any changes to it. The RAK4600 is EOL since quite some time and nobody is working on it anymore.