I am using the nrf9160 for an OTA firmware update application. I initially executed the fota download file from the http_application_update sample project in it's default configuration using the nrf SDK 1.4.1 - in this case on booting initially I get the following boot version - Zephyr OS build v2.4.0-ncs2 - here, the file executes it's functionality properly. The download completes and on resetting the board I get a reboot with the message to do a firmware update - in this case the version is - Zephyr OS build v2.4.0-ncs1-3475-9f74e9b2df210 - and in this case the sample works correctly.
Now, when I try to execute the same sample on the nrf SDK 1.4.0 - with the changes according to my project - the initial booting shows the following version - Zephyr OS build v2.4.0-ncs1 - in this case, the file executes the download from the link and continues till the reset of the board for a firmware update - now the version continues to show - Zephyr OS build v2.4.0-ncs1. I am not sure why the boot version shows ncs2 in the first case and ncs1 in the second case - is this related to the execution being carried put on different versions of the SDK.
Also, another question related to it - in the case where I am using the SDK 1.4.1 with the default code for the http_application_update sample project - I get the following locations in memory during the booting.
SPM: NS image at 0x1c200
SPM: NS MSP at 0x200262b8
SPM: NS reset vector at 0x1fda5
But, in the case where I am using the SDK 1.4.0 with my modified code for the http_application_update sample project - I get the following locations in memory during the booting.
SPM: NS image at 0x1c200
SPM: NS MSP at 0x20026b70
SPM: NS reset vector at 0x20441
I do not quite understand why the MSP and Reset vector changes for the same project when I have changed the SDK. Additionally, the execution I need for the sample project also does not work in the SDK 1.4.0.
Could you please tell me if there is any relation between the changes in the ncs version and also the changes in the memory locations for different SDK and the non-execution of the http_application_update sample project with some modifications to it.
I am attaching some images of the log files for reference. Let me know if any other details are necessary.