Minimal USB virtual serial port SMP firmware loader

This sample provides the minimal and recommended configuration for the Firmware Loader application to run on the nRF54LM20 DK. It uses code from Zephyr’s SMP server sample to enable the USB serial Simple Management Protocol (SMP) server functionality.

This sample is not intended to function as a standalone sample. Instead, it serves as a starting point for developing a custom Firmware Loader application that works with the MCUboot bootloader.

Requirements

The sample supports the following development kit:

Hardware platforms

PCA

Board name

Board target

nRF54LM20 DK

PCA10184

nrf54lm20dk

nrf54lm20dk/nrf54lm20b/cpuapp nrf54lm20dk/nrf54lm20a/cpuapp

Overview

The application uses the SMP over Bluetooth LE to perform firmware updates and manage device operations. It is optimized for minimal memory usage and contains only the essential functionalities required for firmware loading.

The firmware loader over USB CDC ACM virtual serial port accepts SMP commands for:

  • Image upload and management

  • Device information queries

  • Bootloader information

Building and running

This sample is not intended for standalone building. It is automatically included and built when the following Kconfig options are enabled in a project configuration:

Testing

This sample is not intended for standalone testing.