XIAO BLE Sense Firmware Update (UF2)

Arduino IDE

#define USER_LED LEDGvoid setup() {pinMode(USER_LED, OUTPUT);}void loop() {digitalWrite(USER_LED, HIGH);delay(1000);digitalWrite(USER_LED, LOW);delay(1000);}

Generate UF2

pip3 install --user adafruit-nrfutil
git clone https://github.com/adafruit/Adafruit_nRF52_Bootloader
cd Adafruit_nRF52_Bootloader
git submodule update --init
cd lib/uf2/utils
python uf2conv.py ~/Documents/Arduino/XIAO_DFU/build/Seeeduino.nrf52.xiaonRF52840Sense/XIAO_DFU.ino.hex -c -f 0xADA52840

UF2 Flashing

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store