Can't upload UF2 file to nrf52840

Hi there,

Yes,

  1. Build MCUboot for the nRF52840 with a configuration that matches the Xiao’s flash memory layout.
  2. Use the nRF52840DK and J-Link interface (with tools like nrfjprog) to erase and flash the MCUboot image into the designated bootloader region.
  3. Verify the installation by checking for MCUboot’s startup output and testing DFU updates.

Using the nRF52840DK makes this process straightforward since you can reliably program and recover your device via SWD. Just be cautious with the memory layout and always have a recovery method in case the new bootloader doesn’t work as expected.

GL :slight_smile: PJ :v:

1 Like