This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF91: questions related to merged image (App , smp & mcuboot)

Hi,

Sorry for putting so many questions in to single thread :)

----

I am looking for information on what all images been integrated to zephyr/merged.hex, can you point to the scripts which does this?

Whenever i choose board = nrf9160_pca10090ns, automatically the smp is been built and merged to zephyr/merged.hex, is there anything else been merged to  the final image?

Can I flash the app and spm separately using jlink?

----

Coming to the sample “http_application_update” there are three images clubbed to merged.hex i.e App + spm + mcuboot, Can you please point to the documentation/scrips which dictates where a particular image needs to be placed?

regards

KK

 

Parents Reply
  • Image Address Location
    1 0x00000000
    0x00008960 mcuboot/zephyr/zephyr.hex
     
    2 0x00010200
    0x00017ff0 spm/zephyr/zephyr.hex
     
    3 0x00010200
    0x0002a77a zephyr/mcuboot_primary.hex
     
    4 0x0001c200
    0x0002a770 zephyr/zephyr.hex
     
    5 0x00010000
    0x0002a8c0 zephyr/app_signed.hex

    I did some analysis on where the individual images address are mapped in the flash and i found that only 1& 5 images are sufficient for your application to get up and running.

    Image 5 is combination of images 2,3 & 4.

    As per the nrf9160_pca10090_common.dts file the SPM should be places @0x00010000 and user app @0x00040000 but here its starting @0x0001c200, can you help me understand what going on there?

Children
Related