Arduino BSP / MacOS
I have bricked a few 4631’s doing a BLE DFU (recently the tablet overheated mid-update). I’m using the RAK19011 with the 19016 power board, so no USB on the board. Usually I can also flash using pyocd and the RAKDAP1, but this doesn’t work when the device is bricked from a failed DFU.
I have tried doing a pyocd erase --chip -t nrf52840
followed by a pyocd flash -t nrf52840 "~/Downloads/s140_nrf52_6.1.1_softdevice.hex"
and a pyocd flash -t nrf52840 wiscore_rak4631_board_bootloader-0.4.3.hex
hoping it would reboot into BLE mode, and I could reinstall my firmware either using pyocd or BLE DFU, but no luck.
I looked at the full WisCore_RAK4631_Board_Bootloader.hex, but this appears to be for version 0.4.2, and flashing this with pyocd didn’t work.
I managed to recover one device by removing the 4631 and adding it to a board that has a USB port, but this isn’t really feasible for firmware upgrades in the field.
Am I doing something wrong, or have I missed something?