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


   Hey!
   
   I'm trying to send an image from Slot 1 on the nrf9160dk_nrf9160 to Slot 1 
on the nrf9160dk_52840. (on the nrf9160dk)
   Looking in the img_mgmt directory I didn't find any simple way to do this.
   One a bit more sketchy way of doing it could be to read data form flash on 
91 and send packets of this over the uart, for then to write it to flash on the 
52.
   
   However when i tried to get the length of the image in slot 1 using 
img_mgmt_impl_read(1,96,&image_length,32) (96 being the offset inn to the 
header where length is stored) to read the length from the image header i get 
only nonesens. There is probably some offset i'm missing.
   
   Is there any simple way to do this using your framework? Or a simple way to 
get the right loaction in flash to copy the image?
   
   Thanks!
   


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