Update the nRF9151 Firmware¶
Overview¶
This guide describes how you can update the application firmware and modem firmware of the nRF9151 SiP on the nRF9151 Connect Kit through the Interface MCU.
Requirements¶
Before you start, check that you have the required hardware and software:
- 1x nRF9151 Connect Kit
- 1x USB-C Cable
- Python 3.10.0 or newer
- pyOCD v0.36.0 or newer
- A computer running macOS, Ubuntu, or Windows 10 or newer
Tip
Python and pyOCD will be installed automatically after setting up your development environment in Getting Started Guide.
Installing pyOCD¶
To program the nRF9151 SiP, a tool that supports the CMSIS-DAP protocol should be installed. pyOCD v0.36.0 or newer is highly recommended.
The latest stable version of pyOCD may be installed via pip. Open up a terminal and run:
Connecting the board¶
Connect the nRF9151 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 | |
---|---|
Updating the application firmware¶
To update the nRF9151 appication firmware using pyOCD, complete the following steps:
-
Enter the following command to program the application firmware to the nRF9151 application core:
- 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 nRF9151 SiP.
Updating the modem firmware¶
The nRF9151 Connect Kit comes pre-programmed with the modem firmware mfw_nrf91x1_2.0.2.zip. To ensure optimal performance, you can update the modem firmware to the latest version.
Follow these steps to update the modem firmware:
- Download the latest modem firmware from the Nordic Semiconductor official website.
- Open a terminal window.
- Change to the directory where the new modem firmware is located.
-
Enter the following command to program the new modem firmware on the nRF9151 SiP:
If
-f
is specified, the modem firmware is written to the device, even if the correct version is already present. -
The RGB LED blinks blue rapidly during programming.
-
To verify the modem firmware version, you can program a sample with AT commands, for example, AT Client, and then run the following command:
- This command retrieves the modem firmware revision identification.