Unable to Restart SMP Upload From Offset 0 Using Au Term

When using the official Au Term.exe tool to perform SMP firmware updates on the nRF54L15 (NCS v3.1.0), if the tool is closed during an ongoing transfer and then reopened, the upload always resumes from the previous offset. How can I force the upload to restart from offset = 0?

Parents
  • I have found the solution.
    To force the SMP DFU upload to restart from offset = 0 on the nRF54L15, you need to enable the mutex feature for the image management group by setting:
    CONFIG_MCUMGR_GRP_IMG_MUTEX=y
    Once this is enabled, you can call:
    img_mgmt_reset_upload();
    This function clears the current upload state, including the offset, effectively terminating any ongoing SMP upload and allowing the next DFU session to start from offset 0.

Reply
  • I have found the solution.
    To force the SMP DFU upload to restart from offset = 0 on the nRF54L15, you need to enable the mutex feature for the image management group by setting:
    CONFIG_MCUMGR_GRP_IMG_MUTEX=y
    Once this is enabled, you can call:
    img_mgmt_reset_upload();
    This function clears the current upload state, including the offset, effectively terminating any ongoing SMP upload and allowing the next DFU session to start from offset 0.

Children
No Data
Related