XIAO Debug Mate / Programming XIAO Board

Hi,

I assumed that it is possible to program (i.e. flash) a XIAO board (e.g. XIAO BLE nrf52840) using XIAO Debug Mate so that there’s no separate connection from XIAO BLE to a computer. Is this possible at all? How?

Many thanks!

OK, with a little help from AI:

  1. Install pyocd (or openocd)
  2. pyocd pack --update
  3. pyocd pack --install nRF52840_xxAA
  4. pyocd flash -t nrf52840 your_firmware.hex
1 Like