You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2022/09/02 07:19:17 UTC

[GitHub] [mynewt-newtmgr] FARLY7 commented on issue #185: Flash alignment mismatch leads to large overhead with Zephyr mcumgr

FARLY7 commented on issue #185:
URL: https://github.com/apache/mynewt-newtmgr/issues/185#issuecomment-1235156723

   Adding to my initial comment, adding the patch provided by @LockeKK causes `image upload` to hang when using SMP Server with USB CDC ACM.
   
   I haven't been able to figure out why, but I figured it must be something to do with MTU sizes, however, I have tried every MTU-like KConfig option I can find and cannot get it to work.
   
   There are serious reliability issues with this mcumgr solution that need to be addressed. For a feature that is so fundamental to Zephyr, it's saddening that it works so poorly.
   
   Without the patch, it should not take 1min and 47s to upload a 340kB image over USB. Adding in the 45s it takes for MCUBoot to perform the image swap on reset. We're talking a few minutes to update a small image. The ESP32 serial bootloader can update a much larger image, in a fraction of this time. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org