<?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>nrf9160 aws_iot sample is hangind inside the nrf_spu_flashregion_set() function.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102860/nrf9160-aws_iot-sample-is-hangind-inside-the-nrf_spu_flashregion_set-function</link><description>I am currently running the aws_iot sample on the nrf9160-dk, however i Have noticed that the program is not getting into the main function at all, but is getting stuck before that. So I ran the debugger and pressed pause that when I noticed that it is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 22 Aug 2023 16:38:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102860/nrf9160-aws_iot-sample-is-hangind-inside-the-nrf_spu_flashregion_set-function" /><item><title>RE: nrf9160 aws_iot sample is hangind inside the nrf_spu_flashregion_set() function.</title><link>https://devzone.nordicsemi.com/thread/442628?ContentTypeID=1</link><pubDate>Tue, 22 Aug 2023 16:38:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cba6c060-9f6c-47fa-8195-9708520c4c53</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Hello Raymond,&lt;/p&gt;
&lt;p&gt;I have updated to 2.4.1 to match your settings.&lt;/p&gt;
&lt;p&gt;I started with the builtin AWS_IOT sample, straight out of the box&lt;/p&gt;
&lt;p&gt;I am compiling for the 9160_ns board, and there are no errors&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1692722137743v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you are doing things differently, please follow these steps:&lt;/p&gt;
&lt;p&gt;1) update sdk and the toolchain&lt;/p&gt;
&lt;p&gt;2) make sure sdk and toolchain match when you start new free-standing application of AWS_IOT&lt;/p&gt;
&lt;p&gt;3) without any changes, build the project for the 9160_NS board&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Naeem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 aws_iot sample is hangind inside the nrf_spu_flashregion_set() function.</title><link>https://devzone.nordicsemi.com/thread/441791?ContentTypeID=1</link><pubDate>Thu, 17 Aug 2023 08:50:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11d135c9-15e0-41a0-a9fe-69f48e114b66</guid><dc:creator>Raysoft48</dc:creator><description>&lt;p&gt;So I was previously using the 2.0.0 SDK, now i have updated to the 2.4.1, but I am an now getting an error in the build&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1692262178515v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t really changed anything other than the hostname and security tag in the prj.conf file.&lt;/p&gt;
&lt;p&gt;What maybe causing this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 aws_iot sample is hangind inside the nrf_spu_flashregion_set() function.</title><link>https://devzone.nordicsemi.com/thread/441384?ContentTypeID=1</link><pubDate>Tue, 15 Aug 2023 12:40:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:873635a0-1208-4ea0-9506-d8c0dfcb8a00</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Hello Raymond,&lt;/p&gt;
&lt;p&gt;Which NCS Version you are using and which target you are building for?&lt;/p&gt;
&lt;p&gt;I am using NCS V2.4.0, and the sample AWS_IOT using the VS Code Extension&lt;/p&gt;
&lt;p&gt;Also make sure SDK and the Toolchain both are correct / compatible&lt;/p&gt;
&lt;p&gt;I built for the nrf9160dk_nrf9160_ns board target&lt;/p&gt;
&lt;p&gt;After successful compilation, I flashed it onto the DK (Before that I just tested my DK with hello world sample and connected Putty to the COM ports to make sure that DK is all good).&lt;/p&gt;
&lt;p&gt;I could see the output as below.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1692103102805v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Maybe you could try to follow the same&amp;nbsp;(test hello world sample, connect to com port, make sure sdk and toolchain are correct, compile and flash sample).&lt;/p&gt;
&lt;p&gt;BR, Naeem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>