Zephyr samples not working on NRF5280 board

I bought some Xiao BLE boards and I’m trying to get the Zephyr
examples working. I’m following the instructions at
Getting Started with XIAO nRF52840 | Seeed Studio Wiki

I’m using version 2.7.0 of Nordic’s Connect SDK.

I have the basic BLE board - not the Sense board. When I enter
the bootloader and mount the drive, it’s named “XIAO-SENSE” not
“XIAO-BLE” as some documentation says it should be.

Here’s how I build the test program:

west build -p always -b xiao_ble samples/basic/blinky

I’ve also tried hello_world:

west build -p always -b xiao_ble samples/hello_world

Both complete without errors. I then mount the board, and copy
the file:

cp ./build/blinky/zephyr/zephyr.uf2 /media/jtm/XIAO-SENSE

or

cp ./build/hello_world/zephyr/zephyr.uf2 /media/jtm/XIAO-SENSE

After writing the file to flash, the board appears to reset and
then nothing happens. No LEDs blink, no USB serial port is enumerated.
If I reset (pressing the button only once), the board enters the
bootloader.

Any idea what the problem could be?

Hi there,
Have you tried with an older SDK , toolchain 2.6.0 ?
It works(blinky) in PlatformIO and Nrf_SDK with both Xiao BLE & Xiao Sense versions.
I used Uf2 file drag and drop after Build.
HTH
GL :slight_smile: PJ :v:

1 Like

I was able to get those samples working with SDK 2.6.0 and toolchain 2.7.0.

Thanks!

1 Like

sweet, Please mark that as the solution , so others can find it later…
Thanks for contributing.
GL :slight_smile: PJ :v:

I’ve also had more success with the Zephyr bluetooth samples (in /zephyr/samples/bluetooth) than with the Nordic samples (in /nrf/samples/bluetooth). I wasn’t able to get any of the Nordic sample programs to work. No idea why that is yet.

I found this after banging my head against the same problem for over an hour (2.6.0 indeed does work) — and v2.7.0 not working at all, is a serious problem. I hope it will be fixed.