Host DFU to nRF54L05

Hi,

We enabled the DFU and sent a new application successfully using the mcumgr command line program, but now we need to do this upgrade process using the host MCU.

 

As far as I understood we have two options to do this. One is porting the mcumgr program or basically the SMP protocol related to the upgrade process into the host MCU. The second option is maybe to develop an internal flash driver on the BLE to flash the application on the spare internal flash slot and let the DFU to choose the newest application at boot. Please correct me if my understanding is wrong.

 

Here my questions:

  • Is there another solution to upgrade the BLE?
  • Does this BLE nRF54L05 have a built-in bootloader like STM32 devices?
  • Is the best solution porting the SMP protocol to the host MCU?
  • If SMP is the way, do you have a small implementation of the SMP upgrade protocol part to share with us? Note: the host MCU is not running Zephyr.

Thank you,

Belenie

Parents
  • Hi, 

    Is there another solution to upgrade the BLE?

    You can implement an SMP client (over BLE, UART, etc.) on the Host MCU, which can talk to the existing SMP server on the nRF54L. Here is the sample Bluetooth: Central SMP Client

    Does this BLE nRF54L05 have a built-in bootloader like STM32 devices?

    You can decide whether the application is built with/without the mcuboot bootloader. See nRF54L DFU config.

    Is the best solution porting the SMP protocol to the host MCU?

    Yes, FOTA updates are supported using MCUmgr’s Simple Management Protocol (SMP) over BluetoothRegistered. See FOTA over Bluetooth Low Energy. Here is the Bluetooth: Central SMP Client sample. 

    If SMP is the way, do you have a small implementation of the SMP upgrade protocol part to share with us? Note: the host MCU is not running Zephyr.

    Unfortunately, there is no such resource as your requirement. You would need to implement it yourself based on the mcumgr project and/or refer to the Zephyr smp_client example.  

    Regards,
    Amanda H.

Reply
  • Hi, 

    Is there another solution to upgrade the BLE?

    You can implement an SMP client (over BLE, UART, etc.) on the Host MCU, which can talk to the existing SMP server on the nRF54L. Here is the sample Bluetooth: Central SMP Client

    Does this BLE nRF54L05 have a built-in bootloader like STM32 devices?

    You can decide whether the application is built with/without the mcuboot bootloader. See nRF54L DFU config.

    Is the best solution porting the SMP protocol to the host MCU?

    Yes, FOTA updates are supported using MCUmgr’s Simple Management Protocol (SMP) over BluetoothRegistered. See FOTA over Bluetooth Low Energy. Here is the Bluetooth: Central SMP Client sample. 

    If SMP is the way, do you have a small implementation of the SMP upgrade protocol part to share with us? Note: the host MCU is not running Zephyr.

    Unfortunately, there is no such resource as your requirement. You would need to implement it yourself based on the mcumgr project and/or refer to the Zephyr smp_client example.  

    Regards,
    Amanda H.

Children
No Data
Related