Burning bootloader to custom board

Hi,

For a custom board with a Raytac MDBT50Q SoC I want to burn a bootloader. This is the same SoC as on the Adafruit Feather nRF52840 board. When I burn the bootloader with a J-Link programmer via the Arduino IDE to that board everything goes fine. However when I try to burn the same bootloader to my custom board I am getting the error message:

ERROR: The --family option given with the command (or the default from
ERROR: nrfjprog.ini) does not match the device connected.
Failed to burn bootloader: uploading error: exit status 18

What can I do to get the bootloader burned to my custom board?

Thanks,

Tjerk

You should probably start by sharing info on the custom board.

From the J-Link I have GND, SWDIO, SWDCLK, RESET and 3V3 connected to my custom board. Or is SWO also necessary for burning the bootloader?

It appeared that the MDBT50Q has multiple versions. The one on the Adafruit Feather nRF52840 is the MDBT50Q-1MV2 (with a Nordic nRF52840 SoC). On my board I have the MDBT50Q-512K which has a nRF52833 SoC. So that is the reason the bootloader failed to burn!
I now changed the code to the nRF52833 but then get the following error: KeyError: "Invalid board option 'build.softdevice.sd_fwid'. Anyone who knows how to solve this?

Thanks,

Tjerk

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.