<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Stuck at SPM: prepare to jump to Non-Secure image (nRF9160)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87823/stuck-at-spm-prepare-to-jump-to-non-secure-image-nrf9160</link><description>I just finished successfully running the azure_fota and azure_iot_hub demos on my nRF9160DK. In a completely separate project, I am now attempting to adapt the TMP116 sensor demo to the nRF9160DK so that (later) I can stream TMP117 temperature probe data</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 12 May 2022 21:21:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87823/stuck-at-spm-prepare-to-jump-to-non-secure-image-nrf9160" /><item><title>RE: Stuck at SPM: prepare to jump to Non-Secure image (nRF9160)</title><link>https://devzone.nordicsemi.com/thread/367719?ContentTypeID=1</link><pubDate>Thu, 12 May 2022 21:21:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21417724-ec38-4dd7-8a76-957fbd37cbd0</guid><dc:creator>brown27</dc:creator><description>&lt;p&gt;Solved the issue! I have to use &amp;amp;i2c2 instead of &amp;amp;i2c1 in my board overlay and disable &amp;amp;uart2. I&amp;#39;m not 100% sure why this is, but I&amp;#39;ll keep looking into it tomorrow to see if I can understand it. My updated overlay file is below - when used with the rest of the tmp116.tar.gz project, I am seeing temperatures over serial.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1652390473195v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/*
 * Copyright (c) 2019 Centaur Analytics, Inc
 *
 * SPDX-License-Identifier: Apache-2.0
 */

&amp;amp;i2c2 {
    
	compatible = &amp;quot;nordic,nrf-twim&amp;quot;;
	status = &amp;quot;okay&amp;quot;;
	sda-pin = &amp;lt; 30 &amp;gt;;
	scl-pin = &amp;lt; 31 &amp;gt;;
    clock-frequency = &amp;lt;I2C_BITRATE_STANDARD&amp;gt;;

	ti_tmp116: ti_tmp116@49 {
		compatible = &amp;quot;ti,tmp116&amp;quot;;
		reg = &amp;lt;0x49&amp;gt;;
		label = &amp;quot;TMP116&amp;quot;;
		#address-cells = &amp;lt;1&amp;gt;;
		#size-cells = &amp;lt;0&amp;gt;;
		
		eeprom: ti_tmp116_eeprom@0 {
			compatible = &amp;quot;ti,tmp116-eeprom&amp;quot;;
			reg = &amp;lt;0x0&amp;gt;;
			label = &amp;quot;TMP116_EEPROM&amp;quot;;
			read-only;
		};
	};

};

&amp;amp;uart2 {
	status = &amp;quot;disabled&amp;quot;;
};
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stuck at SPM: prepare to jump to Non-Secure image (nRF9160)</title><link>https://devzone.nordicsemi.com/thread/367672?ContentTypeID=1</link><pubDate>Thu, 12 May 2022 14:16:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75fc1dae-e438-4fe1-b3f7-02a92c644671</guid><dc:creator>brown27</dc:creator><description>&lt;p&gt;Using an nRF52840dk (instead of the nRF9160dk), I am able to read temperatures from the TMP117. So,&amp;nbsp;whatever I&amp;#39;m doing wrong must be unique to the&amp;nbsp;nRF9160.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m including my project and build commands for the nRF52840dk below in case it might be of use to anyone else. My TMP117 has an i2c address of 0x49.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;$ rm -rf build
$ west build -b nrf52840dk_nrf52840 -- -DDTC_OVERLAY_FILE=&amp;quot;boards/arm/nrf52840dk_nrf52840.overlay&amp;quot;
$ west flash --erase&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/tmp116_5F00_nrf52840.tar.gz"&gt;devzone.nordicsemi.com/.../tmp116_5F00_nrf52840.tar.gz&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stuck at SPM: prepare to jump to Non-Secure image (nRF9160)</title><link>https://devzone.nordicsemi.com/thread/367648?ContentTypeID=1</link><pubDate>Thu, 12 May 2022 13:30:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdd23814-24b0-413c-9a0d-9f3cc4570970</guid><dc:creator>brown27</dc:creator><description>&lt;p&gt;As part of the azure_iot_hub demo, I updated my nRF9160-DK application and modem firmware to version &amp;quot;nrf9160dk_fw_2022-02-17_ec486dab&amp;quot; as instructed here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_nrf9160_gs.html"&gt;Getting started with nRF9160 DK &amp;mdash; nRF Connect SDK 1.9.99 documentation (nordicsemi.com)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In those steps, I updated the modem firmware to &amp;quot;mfw_nrf9160_1.3.1&amp;quot; which appears to be the latest available.&lt;/p&gt;
&lt;p&gt;I am using v1.9.1 of the SDK.&lt;/p&gt;
&lt;p&gt;EDIT: Also, I&amp;#39;m using the command line tools and doing all of this in a Linux virtual machine. SEGGER is installed at /opt/SEGGER and its version is the latest at v7.64e. The nRF command line tools have been updated to the latest at v10.15.4.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stuck at SPM: prepare to jump to Non-Secure image (nRF9160)</title><link>https://devzone.nordicsemi.com/thread/367636?ContentTypeID=1</link><pubDate>Thu, 12 May 2022 13:07:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d6a4b80-bb1d-4db7-aa3f-4e8a8b4ab028</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Thomas,&lt;/p&gt;
&lt;p&gt;Have you check the solution mention in this dicsussion?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/50371/nrf9160-can-t-jump-secure-boot-prepare-to-jump-to-non-secure-image"&gt;nrf9160 can&amp;#39;t jump (Secure Boot: prepare to jump to Non-Secure image) - Nordic Q&amp;amp;A - Nordic DevZone - Nordic DevZone (nordicsemi.com)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>