ErlendWithammerLux opened a new issue #129:
URL: https://github.com/apache/mynewt-mcumgr/issues/129


   Hello again! 
   I'm working on transferring images to the nrf52840 by uploading it to 
nrf9160 and sending it over UART, on the nrf9160dk.
   
   When the image has gone through the 91 it is not bootable however directly 
uploading it to the 52 works perfectly.
   To see if there was a difference between the images I transferred the same 
image twice to the 52. The first way was using mcumgr upload image to the 52 
and swapping it to slot 0, and the second way was transferring to 91 using the 
same command and then sending it over the uart to slot 1.
   
   When calling mcuboot in the internal shell it lists both images, and they 
have the same size. Requesting an upgrade prints the error message of "image in 
slot 1 is not valid" when rebooted. 
   
   Looking at the memory on the 52 gave these results which have some 
differences that might be the cause of the image being invalid.
   
   
![2021-06-25_11-55](https://user-images.githubusercontent.com/86069562/123411393-b3a7a180-d5b0-11eb-8d79-b0e6aecdc1d0.png)
   
![2021-06-25_12-02](https://user-images.githubusercontent.com/86069562/123411418-b904ec00-d5b0-11eb-859a-98e11f7434d9.png)
   
   
   Another small problem is that only calling mcuboot in the internal shell 
lists the images, calling mcumgr image list only lists slot 0 after slot 1 
being filled over uart. @de-nordic gave a posible reason for this here 
[https://github.com/apache/mynewt-mcumgr/issues/127](url) 
   
   Thanks a lot for any help on this!


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to