Open the case by pulling up the top—starting from the USB side makes it easier.
Locate the reset button on the board as shown in the image below, highlighted by a white circle around the red-colored reset button.
Find a small pin or similar thin tool to press the tiny button.
Connect the DevKit2 to your computer via a USB-C cable (it should support data transfer)
Press the Reset Button Twice: Using the pin, quickly press the button in the hole twice in succession.
Check for Recognition: After pressing the button twice, your computer should recognize the device.
Verify the Name: Look for a drive named
/Volumes/XIAO-SENSE
on your computer. This indicates that the DevKit2 device has successfully entered Reset mode.Download the following 2 files on your computer:
Bootloader: bootloader 0.9.0.uf2
Firmware: firmware 2.0.1.uf2
Drag and drop the bootloader
.uf2
file onto the/Volumes/XIAO-SENSE
drive:Bootloader: bootloader 0.9.0.uf2
The device will automatically eject itself once the bootloader flashing process is complete.
After the device forcibly ejects, set the device back into reset mode by double-tapping the button again.
Drag and drop the firmware file onto the
/Volumes/XIAO-SENSE
drive:Firmware: firmware 2.0.1.uf2
Congratulations! 🎉
You have successfully flashed the latest firmware onto your DevKit2
As a final step, restart the app, and you should be good to go with the latest device update.
Note: The app will still display version 1.0.5 even if you have flashed version 2.0.1. This is a minor bug that has been fixed in version 2.0.2, which will be available once support for it is added to the app.