Programming the nRF54L15¶
Overview¶
This guide describes how to program the nRF54L15 on the nRF54L15 Connect Kit through the Interface MCU.
Requirements¶
Before you start, check that you have the required hardware and software:
- 1x nRF54L15 Connect Kit
- 1x USB-C Cable
- Python 3.10.0 or newer
- pyOCD v0.38.0
- A computer running macOS, Ubuntu, or Windows 10 or newer
Tip
Python and pyOCD will be installed after setting up your development environment in Getting Started Guide.
Installing pyOCD¶
To program the nRF54L15, a tool that supports the CMSIS-DAP protocol should be installed. pyOCD v0.38.0 or newer is required.
The latest stable version of pyOCD may be installed via pip. Open up a terminal and run:
Note
On Linux, permission to access USB devices from user space must be explicitly granted via udev rules. See udev rules on Linux for detailed instructions.
Connecting the board¶
Connect the nRF54L15 Connect Kit to your computer with a USB-C cable.
Enter the following command to list the connected device:
You should see the output, similar to what is shown in the following:
Terminal | |
---|---|
Programming with pyOCD¶
To program the nRF54L15 with pyOCD, complete the following steps:
-
Enter the following command to program the application firmware:
- You can also use
pyocd flash
instead:
- You can also use
-
The RGB LED blinks blue rapidly during programming.
- The application starts running after the firmware programming is completed. If not, press the DFU/RST button to reset the nRF54L15.
In some cases, you may need to erase the entire non-volatile memory (RRAM) of the nRF54L15: