MCUMGR not working for DFU after upgrading from NCS 2.7.0 to 2.8.0

NCS 2.7.0/2.8.0

mcuboot + MCUMGR in the application for BLE DFU

NRF52840

We have been developing our next version of our product, transitioning from NRF SDK 5 to NCS.  I initially got most of the features working on NCS 2.7.0 including DFU based on MCUMGR.  I have recently updating the application from NCS 2.7.0 to 2.8.0.  I am testing DFU with NRF Connect on Android.

After OTA DFU update from firmware based on NCS 2.7.0 to a new release based on NCS 2.8.0, DFU is no longer working with the NCS 2.8.0 release.  When I try to start DFU, now it starts bonding, which it did not do with NCS 2.7.0.  It won't continue until I accept bonding.  After bonding the DFU still does not proceed. 

the mcumgr log from nrfconnect shows only "Connected to ...",   "Services discovered"   "MTU changed to 247"  and nothing more.

Parents Reply
  • Anthony Ambuehl said:

    NCS 2.8 has

    CONFIG_MCUMGR_GRP_IMG_IMAGE_SLOT_STATE_STATES=15

    CONFIG_MCUMGR_TRANSPORT_BT_PERM_RW_AUTHEN=y

    NCS 2.7 has

    CONFIG_MCUMGR_TRANSPORT_BT_DYNAMIC_SVC_REGISTRATION=y

    I will investigate these further.

    Worth looking into yes. Let me know what you find!

    After OTA DFU update from firmware based on NCS 2.7.0 to a new release based on NCS 2.8.0, DFU is no longer working with the NCS 2.8.0 release. 

    I got one more question:

    Is it only 2.7.0 -> 2.8.0 DFU that fails?
    Or does 2.8.0 -> 2.8.0 DFU also fail?

Children
Related