nRF5340: BLE FOTA from Windows

Hi Support Team,

Our product is based on nrf5340 and ncs V2.5.2. I developed a Windows application(based on .NET8.0 and Windows SDK11) to provision and configure the system via BLE, and it works well.

Now, I want to add the BLE FOTA on this Windows application. After enabling the CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU on the target, I found it seems that the mcumgr did not support the BLE FOTA on Windows? Could you help confirm this and give some guidance for implementing this on Windows 11? I believe there is a solution to do this because the FOTA client on the Windows is a very common requirement. Thank you very much.

Best regards,
Yanpeng Wu

Parents Reply Children
  • I found that a Python-based tool smpmgr can do this, FYI.

  • Hi Yanpengwu,

    Could you please share the update process? Because I’m encountering an ‘Inspection of FW image failed’ issue.”

    C:\Users\user\Desktop\Mike\smpmgr-0.17.0-windows-amd64>smpmgr.exe --ble E8:B8:C3:0E:CC:23 image upload application.signed.bin
    [11:08:31] ERROR    Inspection of FW image failed - image_management:187                                                             image_management.py:187
                        ╭───────────────────────────────────── Traceback (most recent call last) ──────────────────────────────────────╮
                        │ in upload:184                                                                                                │
                        │                                                                                                              │
                        │ in load_file:331                                                                                             │
                        │                                                                                                              │
                        │ in load_from:255                                                                                             │
                        │                                                                                                              │
                        │ in loads:250                                                                                                 │
                        │                                                                                                              │
                        │ in __init__:121                                                                                              │
                        │                                                                                                              │
                        │ in __post_init__:243                                                                                         │
                        ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
                        MCUBootImageError: TLV info magic is 0x6908, expected 0x6907
    
    C:\Users\user\Desktop\Mike\smpmgr-0.17.0-windows-amd64>

    Thanks!!
    Mike

Related