I burned this program in nrf9160 ncs v1.3, and how do I fix the following error?

I burned this program in nrf9160 ncs v1.3, and how do I fix the following error?

An example can be found in the figure below

Example prj configuration see figure below

Parents
No Data
Reply
  • Hi Peter,

    I could not reproduce the issue you are seeing with the same configuration and application.

    There is most likely some garbage data on the flash that needs to be removed.

    Please make sure that you have erased everything from the flash before programming this application. 

    2020-07-01T11:56:35.189Z DEBUG modem << *** Booting Zephyr OS build v2.3.0-rc1-ncs1  ***\x0D\x0A
    2020-07-01T11:56:35.258Z DEBUG modem << Flash regions\x09\x09Domain\x09\x09Permissions\x0D\x0A
    2020-07-01T11:56:35.265Z DEBUG modem << 00 00 0x00000 0x08000 \x09Secure\x09\x09rwxl\x0D\x0A
    2020-07-01T11:56:35.268Z DEBUG modem << 01 31 0x08000 0x100000 \x09Non-Secure\x09rwxl\x0D\x0A\x0D\x0A
    2020-07-01T11:56:35.272Z DEBUG modem << Non-secure callable region 0 placed in flash region 0 with size 32.\x0D\x0A\x0D\x0A
    2020-07-01T11:56:35.375Z DEBUG modem << SRAM region\x09\x09Domain\x09\x09Permissions\x0D\x0A
    2020-07-01T11:56:35.378Z DEBUG modem << 00 07 0x00000 0x10000 \x09Secure\x09\x09rwxl\x0D
    2020-07-01T11:56:35.382Z DEBUG modem << 08 31 0x10000 0x40000 \x09Non-Secure\x09rwxl\x0D\x0A
    2020-07-01T11:56:35.386Z DEBUG modem << Peripheral\x09\x09Domain\x09\x09Status\x0D\x0A
    2020-07-01T11:56:35.452Z DEBUG modem << 00 NRF_P0               Non-Secure\x09OK\x0D\x0A
    2020-07-01T11:56:35.512Z DEBUG modem << 01 NRF_CLOCK            Non-Secure\x09OK\x0D\x0A
    2020-07-01T11:56:35.515Z DEBUG modem << 02 NRF_RTC0             Non-Secure\x09OK\x0D\x0A
    2020-07-01T11:56:35.517Z DEBUG modem << 03 NRF_RTC1             Non-Secure\x09OK\x0D\x0A
    2020-07-01T11:56:35.520Z DEBUG modem << 04 NRF_NVMC             Non-Secure\x09OK\x0D\x0A
    2020-07-01T11:56:35.523Z DEBUG modem << 05 NRF_UARTE1           Non-Secure\x09OK\x0D\x0A
    2020-07-01T11:56:35.525Z DEBUG modem << 06 NRF_UARTE2           Secure\x09\x09SKIP\x0D\x0A
    2020-07-01T11:56:35.528Z DEBUG modem << 07 NRF_TWIM2            Non-Secure\x09OK\x0D\x0A
    2020-07-01T11:56:35.530Z DEBUG modem << 08 NRF_SPIM3            Non-Secure\x09OK\x0D\x0A
    2020-07-01T11:56:35.532Z DEBUG modem << 09 NRF_TIMER0           Non-Secure\x09OK\x0D\x0A
    2020-07-01T11:56:35.534Z DEBUG modem << 10 NRF_TIMER1           Non-Secure\x09OK\x0D\x0A
    2020-07-01T11:56:35.536Z DEBUG modem << 11 NRF_TIMER2           Non-Secure\x09OK\x0D\x0A
    2020-07-01T11:56:35.538Z DEBUG modem << 12 NRF_SAADC            Non-Secure\x09OK\x0D\x0A
    2020-07-01T11:56:35.542Z DEBUG modem << 13 NRF_PWM0             Non-Secure\x09OK\x0D\x0A
    2020-07-01T11:56:35.545Z DEBUG modem << 14 NRF_PWM1             Non-Secure\x09OK\x0D\x0A
    2020-07-01T11:56:35.547Z DEBUG modem << 15 NRF_PWM2             Non-Secure\x09OK\x0D\x0A
    2020-07-01T11:56:35.548Z DEBUG modem << 16 NRF_PWM3             Non-Secure\x09OK\x0D\x0A
    2020-07-01T11:56:35.550Z DEBUG modem << 17 NRF_WDT              Non-Secure\x09OK\x0D\x0A
    2020-07-01T11:56:35.551Z DEBUG modem << 18 NRF_IPC              Non-Secure\x09OK\x0D\x0A
    2020-07-01T11:56:35.553Z DEBUG modem << 19 NRF_VMC              Non-Secure\x09OK\x0D\x0A
    2020-07-01T11:56:35.556Z DEBUG modem << 20 NRF_FPU              Non-Secure\x09OK\x0D\x0A
    2020-07-01T11:56:35.610Z DEBUG modem << 21 NRF_EGU1             Non-Secure\x09OK\x0D\x0A
    2020-07-01T11:56:35.613Z DEBUG modem << 22 NRF_EGU2             Non-Secure\x09OK\x0D\x0A
    2020-07-01T11:56:35.615Z DEBUG modem << 23 NRF_DPPIC            Non-Secure\x09OK\x0D\x0A
    2020-07-01T11:56:35.617Z DEBUG modem << 24 NRF_GPIOTE1          Non-Secure\x09OK\x0D\x0A
    2020-07-01T11:56:35.618Z DEBUG modem << 25 NRF_REGULATORS       Non-Secure\x09OK\x0D\x0A\x0D\x0A
    2020-07-01T11:56:35.621Z DEBUG modem << SPM: NS image at 0xc000\x0D\x0A
    2020-07-01T11:56:35.624Z DEBUG modem << SPM: NS MSP at 0x20020620\x0D\x0A
    2020-07-01T11:56:35.625Z DEBUG modem << SPM: NS reset vector at 0xcc11\x0D\x0A
    2020-07-01T11:56:35.627Z DEBUG modem << SPM: prepare to jump to Non-Secure image.\x0D\x0A
    2020-07-01T11:56:35.629Z DEBUG modem << *** Booting Zephyr OS build v2.3.0-rc1-ncs1  ***\x0D\x0A
    2020-07-01T11:56:35.630Z DEBUG modem << Hello World! nrf9160dk_nrf9160\x0D\x0A
    2020-07-01T12:02:46.863Z DEBUG modem << *** Booting Zephyr OS build v2.3.0-rc1-ncs1  ***\x0D\x0A
    2020-07-01T12:02:46.939Z DEBUG modem << Flash regions\x09\x09Domain\x09\x09Permissions\x0D\x0A
    2020-07-01T12:02:47.026Z DEBUG modem << 00 00 0x00000 0x08000 \x09Secure\x09\x09rwxl\x0D\x0A
    2020-07-01T12:02:47.029Z DEBUG modem << 01 31 0x08000 0x100000 \x09Non-Secure\x09rwxl\x0D\x0A\x0D\x0A
    2020-07-01T12:02:47.032Z DEBUG modem << Non-secure callable region 0 placed in flash region 0 with size 32.\x0D\x0A\x0D\x0A
    2020-07-01T12:02:47.114Z DEBUG modem << SRAM region\x09\x09Domain\x09\x09Permissions\x0D\x0A
    2020-07-01T12:02:47.117Z DEBUG modem << 00 07 0x00000 0x10000 \x09Secure\x09\x09rwxl\x0D\x0A
    2020-07-01T12:02:47.121Z DEBUG modem << 08 31 0x10000 0x40000 \x09Non-Secure\x09rwxl\x0D\x0A\x0D\x0A
    2020-07-01T12:02:47.124Z DEBUG modem << Peripheral\x09\x09Domain\x09\x09Status\x0D\x0A
    2020-07-01T12:02:47.127Z DEBUG modem << 00 NRF_P0               Non-Secure\x09OK\x0D\x0A
    2020-07-01T12:02:47.130Z DEBUG modem << 01 NRF_CLOCK            Non-Secure\x09OK\x0D\x0A
    2020-07-01T12:02:47.132Z DEBUG modem << 02 NRF_RTC0             Non-Secure\x09OK\x0D\x0A
    2020-07-01T12:02:47.134Z DEBUG modem << 03 NRF_RTC1             Non-Secure\x09OK\x0D\x0A
    2020-07-01T12:02:47.137Z DEBUG modem << 04 NRF_NVMC             Non-Secure\x09OK\x0D\x0A
    2020-07-01T12:02:47.139Z DEBUG modem << 05 NRF_UARTE1           Non-Secure\x09OK\x0D\x0A
    2020-07-01T12:02:47.141Z DEBUG modem << 06 NRF_UARTE2           Secure\x09\x09SKIP\x0D\x0A
    2020-07-01T12:02:47.144Z DEBUG modem << 07 NRF_TWIM2            Non-Secure\x09OK\x0D\x0A
    2020-07-01T12:02:47.148Z DEBUG modem << 08 NRF_SPIM3            Non-Secure\x09OK\x0D\x0A
    2020-07-01T12:02:47.150Z DEBUG modem << 09 NRF_TIMER0           Non-Secure\x09OK\x0D\x0A
    2020-07-01T12:02:47.153Z DEBUG modem << 10 NRF_TIMER1           Non-Secure\x09OK\x0D\x0A
    2020-07-01T12:02:47.155Z DEBUG modem << 11 NRF_TIMER2           Non-Secure\x09OK\x0D\x0A
    2020-07-01T12:02:47.158Z DEBUG modem << 12 NRF_SAADC            Non-Secure\x09OK\x0D\x0A
    2020-07-01T12:02:47.160Z DEBUG modem << 13 NRF_PWM0             Non-Secure\x09OK\x0D\x0A
    2020-07-01T12:02:47.163Z DEBUG modem << 14 NRF_PWM1             Non-Secure\x09OK\x0D\x0A
    2020-07-01T12:02:47.238Z DEBUG modem << 15 NRF_PWM2             Non-Secure\x09OK\x0D\x0A
    2020-07-01T12:02:47.240Z DEBUG modem << 16 NRF_PWM3             Non-Secure\x09OK\x0D\x0A
    2020-07-01T12:02:47.242Z DEBUG modem << 17 NRF_WDT              Non-Secure\x09OK\x0D\x0A
    2020-07-01T12:02:47.245Z DEBUG modem << 18 NRF_IPC              Non-Secure\x09OK\x0D\x0A
    2020-07-01T12:02:47.247Z DEBUG modem << 19 NRF_VMC              Non-Secure\x09OK\x0D\x0A
    2020-07-01T12:02:47.249Z DEBUG modem << 20 NRF_FPU              Non-Secure\x09OK\x0D\x0A
    2020-07-01T12:02:47.252Z DEBUG modem << 21 NRF_EGU1             Non-Secure\x09OK\x0D\x0A
    2020-07-01T12:02:47.254Z DEBUG modem << 22 NRF_EGU2             Non-Secure\x09OK\x0D\x0A
    2020-07-01T12:02:47.256Z DEBUG modem << 23 NRF_DPPIC            Non-Secure\x09OK\x0D\x0A
    2020-07-01T12:02:47.257Z DEBUG modem << 24 NRF_GPIOTE1          Non-Secure\x09OK\x0D\x0A
    2020-07-01T12:02:47.259Z DEBUG modem << 25 NRF_REGULATORS       Non-Secure\x09OK\x0D\x0A\x0D\x0A
    2020-07-01T12:02:47.263Z DEBUG modem << SPM: NS image at 0xc000\x0D\x0A
    2020-07-01T12:02:47.264Z DEBUG modem << SPM: NS MSP at 0x20028400\x0D\x0A
    2020-07-01T12:02:47.266Z DEBUG modem << SPM: NS reset vector at 0xe11d\x0D\x0A
    2020-07-01T12:02:47.268Z DEBUG modem << SPM: prepare to jump to Non-Secure image.\x0D\x0A
    2020-07-01T12:02:47.377Z DEBUG modem << *** Booting Zephyr OS build v2.3.0-rc1-ncs1  ***\x0D\x0A
    2020-07-01T12:02:47.380Z DEBUG modem << Hello World! nrf9160dk_nrf9160\x0D\x0A
    

Children
Related