ErlendWithammerLux commented on issue #129: URL: https://github.com/apache/mynewt-mcumgr/issues/129#issuecomment-868480668
You seem to be correct indeed! hex of bin first 512 from 52: in 0000000 b83d 96f3 0000 0000 0200 0000 b8c4 0002 0000010 0000 0000 0000 0000 0000 0000 0000 0000 0000020 ffff ffff ffff ffff ffff ffff ffff ffff * 0000200 hex of bin first 512 from 91: n 0000000 b83d 96f3 0000 0000 0200 0000 4ad4 0003 0000010 0000 0000 0000 0000 0000 0000 0000 0000 0000020 ffff ffff ffff ffff ffff ffff ffff ffff * 0000200 Looking at JMemExe this is identical (not quite to the dumps as i have slightly changed the images). So JMemExe is only reading the nrf9160dk_nrf9160s memory not the 52 so the dumps are indeed wrong. I will look into reading the rigth memory further. I am not 100% sure I'm copying the right image. I use img_mgmt_impl_read(1,sent,&data,to_send) to copy it. The sizes of img91 and img52 are very different, therefore since the read header size is the size of img52 it does seem like the right image is copied. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
