Can't program XIAO nrf52840 Sense using NRF connect SDK in vscode

Hi there,

OK, So

  • The Adafruit UF2 bootloader expects the app to be at 0x27000
  • If Zephyr/sysbuild places the app at 0x0000, the bootloader can’t find it
  • Sysbuild defaults to full-chip partitioning unless overridden
  • MCUboot adds partition logic that aligns with many dual-boot systems
  • The workaround is:
    * Use pm_static.yml or custom .dts overlays to explicitly set app flash offset
    * Ensure alignment with UF2 or MCUboot expectations
    • Manually define partitions using pm_static.yml
  • Confirm that Zephyr links the app to 0x27000
  • Avoid hardcoding 0x0000 or using default sysbuild memory layout

I would un tick the Create build and generate the config. then use the Kmenu config to set the options. (nrf_sdk)

Good stuff, More testing tomorrow :v:

GL :slight_smile: PJ :+1:

EDIT:
LOL, perfect… :grin: