MCUMGR is stuck after a flash of a big image

Hi, 

If the image we falshed using mcumgr is 90% of the allowed image size mcumgr flashes the unit without a problem, If the image is 98% the proccess seems stuck.

This is the image list:

root@tina:~# mcumgr --conntype serial --connstring /dev/ttyS4,baud=115200 image 
 list
Images:
 image=0 slot=0
    version: 0.0.0
    bootable: true
    flags: active confirmed
    hash: feb4706e9a332137daf3016bd2c810885ac4139d67e2242b0f2d4cceda1c7b0e
 image=0 slot=1
    version: 0.0.0
    bootable: true
    flags: pending permanent
    hash: 2c8963914df5985f7141b5c1525ac8f1ebefd332d12e4dda9d0ea770634fc473
Split status: N/A (0)

image erase is not working as well and will return Error: 6.

How can we remove the 2nd image and flash the unit again?

Your help would be greatly appreciated, 

Parents Reply Children
No Data
Related