How do I upload to XIAO_nRF54L15?

I build the sample blinky and created a zephyr.hex file, but I’m not sure how to upload it.

Is it the same as other XIAO devices,
and can I upload to XIAO_nRF54L15 via USB?
Or,
is it necessary to use SWDIO/SWCLK?

Please let me know if you have any information.

Since it contains the SAMD11 (connected to SWD) you could probably flash like the 'MG24 using OpenOCD flash command?

I debug using the OpenOCD GDB and VSCode Cortex M debug extension.

I don’t have any to test here (I don’t like the development process), but have a Dev Kit on the way.

Perhaps the “experts” can help you :slight_smile:

Hi grobasoz,
In an environment where Python, PlatformIO, and nRFConnect are mixed within VSCode, it took me, who is not good at software, three days of struggle to be able to build the sample. Next, I will start uploading, but I wanted to get some information in advance so that everything would go smoothly.

I can understand what you are saying. I am quite confused by the NRF Development Process. Another user asked “the experts” for help and was told to “watch the training videos” :frowning:

I have developed NRF52 products for a customer in the past but I used Segger Embedded Studio.

The NRF installation in VSCode took many hours to install, and failed a few times so I ended up using “nrfutil”. After all that I still can’t get the Zigbee applications working :thinking:

I find the Silabs’ Simplicity Studio development much easier.

1 Like

Following the instructions on the Wiki, I was able to upload via USB.

1 Like

Hi there ,

Awesome my guy,:+1: it is New and does require some different methods , there is several but NOT unreasonable IMHO :bow:

which BTW , up until now with the seeed wiki, the Nordic Dev academy VIDEOS, Was and IS the defacto source for the information
in a different thread about the MCU boot and builds, Some folks just don’t comprehend the information that way and ARE quite confused I’m guessing. :stuck_out_tongue_closed_eyes:

Great you used USB too. WOW imagine that ? without the “experts” help or watching a video :grin:

GL :slight_smile: PJ :v:

nrfutil, west, Zephyr, PLio, OpenOcd… are a few.

I wasn’t familiar with how to use VSCode, so I was quite confused. Instead of reading the documentation, I used ChatGPT as a search tool. After repeating Q&A and trial and error, I was finally able to upload.
Writing code seems to be much more difficult than with Arduino.

1 Like

It would be a great help to all of us “Nordic Noobs” to have a “tutorial” on the development of VSCode based Nordic software applications on the NRF54L15 since you’re the resident “expert”?
Wading through all the (generally outdated) Nordic training videos is far too time consuming, especially when we have someone like you who is so knowledgeable on everything Nordic :slight_smile:

For instance.
I have an NRF54L15 based device and would like to create a Zigbee+BLE multiprotocol RGBW Lighting application that works with Philips Hue.

Perhaps you could “enlighten” us on the development process?

if you can get it to build with the board defs with west build… the next step is
“west build”
“west flash”
other useful commands:
“nrfutil install device”
“nrfutil device list”

I also used Zadig to install winusb over the default windows serial drivers, and installed the j-link usb drivers. now I have an nrf54l15 that identifies as “YOUR MOTHER” over bluetooth to the nrfconnect app on my phone.

(it’s running the perihperial_NUS uart service)

when i send a message over bluetooth, i can see it in the nrf’s terminal session over usbserial. YAY.

if somone writes a FLPR driver for ws2812 for this beast I’ll but them a beer.

Indeed, this new XIAO is quite different from the traditional XIAO ESP32 and XIAO RP2040. The chip lacks a USB interface, so programs can only be uploaded to it via the SWD interface!
Therefore, we use the SAMD11 as a bridge. The XIAO nRF54L15 is essentially a product combining USB + DAPLink + nRF54L15, which makes its programming and usage methods somewhat unconventional.

2 Likes

This topic has been solved.

Perhaps start a new topic along the lines of…
“Developing XIAO NRF54L15 Applications in VScode using NRF Connect”?

Then everyone can benefit?

1 Like

I guess I could, though I’m not sure I’m right about how stuff works, and don’t want to post bad info.

I’ll do it anyway.

1 Like