<?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 MQTT example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43366/nrf9160-mqtt-example</link><description>Hi! 
 I just saw the MQTT example that has been merged in the master branch and tried to run it on my DK (NB-IoT). Without changing anything in the code or configuration the execution leads to the following output in the console appears: 
 
 ***** BUS</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 03 Mar 2019 22:52:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43366/nrf9160-mqtt-example" /><item><title>RE: nrf9160 MQTT example</title><link>https://devzone.nordicsemi.com/thread/173856?ContentTypeID=1</link><pubDate>Sun, 03 Mar 2019 22:52:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1dc03ca2-0717-473e-8159-818d40a78078</guid><dc:creator>rkguy</dc:creator><description>&lt;p&gt;When you say we need to build an flash secure_boot again, do you mean before or after MQTT_simple?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 MQTT example</title><link>https://devzone.nordicsemi.com/thread/173851?ContentTypeID=1</link><pubDate>Sun, 03 Mar 2019 21:51:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63bc0576-eb41-48b6-b534-34cd34072e46</guid><dc:creator>rkguy</dc:creator><description>&lt;p&gt;Also, this guide was by far the most helpful for a windows user (note, use CMDline not powershell)&lt;br /&gt;&lt;span style="background-color:#ffffff;"&gt;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/getting_started/index.html#getting-started-run-sample"&gt;developer.nordicsemi.com/.../index.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 MQTT example</title><link>https://devzone.nordicsemi.com/thread/173850?ContentTypeID=1</link><pubDate>Sun, 03 Mar 2019 21:49:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:700a941a-7feb-43ba-8dcc-165f78e61940</guid><dc:creator>rkguy</dc:creator><description>&lt;p&gt;FYI this should be updated to reflect the 10090 instead of 10040&lt;br /&gt;```&lt;span class="gp" style="color:#c65d09;font-style:normal;font-weight:bold;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre;"&gt;#&lt;/span&gt;&lt;span style="background-color:#eeffcc;color:#404040;float:none;font-family:SFMono-Regular,Menlo,Monaco,Consolas,&amp;#39;Liberation Mono&amp;#39;,&amp;#39;Courier New&amp;#39;,Courier,monospace;font-size:12px;font-style:normal;font-weight:400;letter-spacing:normal;line-height:1.4;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre;"&gt; Use cmake to configure a Ninja-based build system: &lt;/span&gt;&lt;span class="go" style="color:#333333;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre;"&gt;cmake -GNinja -DBOARD=nrf9160_pca10040 .&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffffff;"&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/boards/arm/nrf9160_pca10090/doc/index.html#programming-and-debugging"&gt;developer.nordicsemi.com/.../index.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 MQTT example</title><link>https://devzone.nordicsemi.com/thread/173308?ContentTypeID=1</link><pubDate>Wed, 27 Feb 2019 17:46:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25d03462-75d3-4faa-b9b0-c90914cdeb4d</guid><dc:creator>BillyBobJoe</dc:creator><description>&lt;p&gt;This is odd as I&amp;#39;m trying to program my nrf52 DK (10040 &amp;amp; 10056) but give me the same error.&lt;/p&gt;
&lt;p&gt;***** BUS FAULT *****&lt;br /&gt; Precise data bus error&lt;br /&gt; BFAR Address: 0x2730303f&lt;br /&gt;***** Hardware exception *****&lt;br /&gt;Current thread ID = 0x20001880&lt;br /&gt;Faulting instruction address = 0x9778&lt;br /&gt;Fatal fault in thread 0x20001880! Aborting.&lt;/p&gt;
&lt;p&gt;What should I do with these boards?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 MQTT example</title><link>https://devzone.nordicsemi.com/thread/172172?ContentTypeID=1</link><pubDate>Wed, 20 Feb 2019 16:23:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fa9bd42-5d1f-45de-a7ab-703c7e1a851d</guid><dc:creator>Dominik Windhab</dc:creator><description>&lt;p&gt;Hi! Thanks for the hint to the ncs documentation. It seems like I missed that. Compiling and&amp;nbsp;flashing works now. Thanks for the help!&lt;/p&gt;
&lt;p&gt;There is another issue now, but&amp;nbsp;I&amp;#39;ll post this separatly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 MQTT example</title><link>https://devzone.nordicsemi.com/thread/172070?ContentTypeID=1</link><pubDate>Wed, 20 Feb 2019 10:26:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18961411-b3d3-440d-a16c-65930b0c05d9</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Dominik,&lt;/p&gt;
&lt;p&gt;Which guide did you follow?&lt;/p&gt;
&lt;p&gt;Did you follow the guide listed in the &lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_ins_windows.html" rel="noopener noreferrer" target="_blank"&gt;ncs documentation?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The reason I am asking this is because your folder setup should look like this:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-204e30b91cfc47439f7b41de6de4cec7/pastedimage1550658196343v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;(not with the &amp;#39;&lt;span&gt;zephyrproject&amp;#39; folder included)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you clean up in that regards, and following the guide I proposed I think the issue should be resolved.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Also, the error log you got could be helpful to share as well.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I need to come back to you with regards to SES IDE support on the master branch.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 MQTT example</title><link>https://devzone.nordicsemi.com/thread/171815?ContentTypeID=1</link><pubDate>Tue, 19 Feb 2019 08:53:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71a3f8f0-857e-4e3a-a48b-7570ac91260a</guid><dc:creator>Dominik Windhab</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;I had a couple of days off, but now I tried to do the build via command line. Works fine until I want to run &amp;quot;ninja flash&amp;quot;. It says that I have to install west:&lt;/p&gt;
&lt;p&gt;[0/1] cmd.exe /C &amp;quot;cd /D C:\Users\***\Documents\workspace\nrf91_src_root\ncs...est bootstrapper with: &amp;#39;pip install west --user&amp;#39;, and thereafter &amp;#39;west init&amp;#39;.&amp;quot;&amp;quot;&lt;br /&gt;West was not found in path. To support &amp;#39;C:/ProgramData/chocolatey/bin/ninja.exe flash&amp;#39;, please install west bootstrapper with: &amp;#39;pip install west --user&amp;#39;, and thereafter &amp;#39;west init&amp;#39;.&lt;/p&gt;
&lt;p&gt;So I installed west like in the documentation for already existing repositories with the enclosing zephyrproject folder. So the structure is &amp;quot;ncs/zephyrproject/zephyr&amp;quot;. But this seems to confuse cmake as it quits with an error.&lt;/p&gt;
&lt;p&gt;Any hints on how to make &amp;quot;ninja flash&amp;quot; work? Whats the correct way to install west for this purpose?&lt;/p&gt;
&lt;p&gt;Are there any updates regarding building and flashing via SES?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 MQTT example</title><link>https://devzone.nordicsemi.com/thread/170729?ContentTypeID=1</link><pubDate>Tue, 12 Feb 2019 21:12:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:766db08b-fde8-4116-bbdf-aa6d36170c37</guid><dc:creator>robmilne</dc:creator><description>&lt;p&gt;OK, I exported the location so that nrfjprog is accessible but I get this error now...&lt;/p&gt;
&lt;p&gt;rob@rob-VirtualBox:~/dev/ncs/nrf/samples/nrf9160/mqtt_simple/build$ west -v flash --skip-rebuild&lt;br /&gt;ZEPHYR_BASE=/home/rob/dev/ncs/zephyr (origin: manifest file /home/rob/dev/ncs/nrf/west.yml)&lt;br /&gt;Using runner: nrfjprog&lt;br /&gt;nrfjprog --ids&lt;br /&gt;Flashing file: /home/rob/dev/ncs/nrf/samples/nrf9160/mqtt_simple/build/zephyr/zephyr.hex&lt;br /&gt;nrfjprog --program /home/rob/dev/ncs/nrf/samples/nrf9160/mqtt_simple/build/zephyr/zephyr.hex -f NRF91 --snr 960011468 --sectorerase&lt;br /&gt;ERROR: JLinkARM DLL reported an error. Try again. If error condition&lt;br /&gt;ERROR: persists, run the same command again with argument --log, contact Nordic&lt;br /&gt;ERROR: Semiconductor and provide the generated log.log file to them.&lt;br /&gt;ERROR: command exited with status 33: nrfjprog --program /home/rob/dev/ncs/nrf/samples/nrf9160/mqtt_simple/build/zephyr/zephyr.hex -f NRF91 --snr 960011468 --sectorerase&lt;br /&gt;Traceback (most recent call last):&lt;br /&gt; File &amp;quot;/home/rob/dev/ncs/.west/west/src/west/main.py&amp;quot;, line 505, in main&lt;br /&gt; args.handler(args, unknown)&lt;br /&gt; File &amp;quot;/home/rob/dev/ncs/.west/west/src/west/main.py&amp;quot;, line 326, in ext_command_handler&lt;br /&gt; command.run(*west_parser.parse_known_args(argv))&lt;br /&gt; File &amp;quot;/home/rob/dev/ncs/.west/west/src/west/commands/command.py&amp;quot;, line 85, in run&lt;br /&gt; self.do_run(args, unknown)&lt;br /&gt; File &amp;quot;/home/rob/dev/ncs/zephyr/scripts/west_commands/flash.py&amp;quot;, line 32, in do_run&lt;br /&gt; &amp;#39;ZEPHYR_BOARD_FLASH_RUNNER&amp;#39;)&lt;br /&gt; File &amp;quot;/home/rob/dev/ncs/zephyr/scripts/west_commands/run_common.py&amp;quot;, line 246, in do_run_common&lt;br /&gt; runner.run(command_name)&lt;br /&gt; File &amp;quot;/home/rob/dev/ncs/zephyr/scripts/west_commands/runners/core.py&amp;quot;, line 407, in run&lt;br /&gt; self.do_run(command, **kwargs)&lt;br /&gt; File &amp;quot;/home/rob/dev/ncs/zephyr/scripts/west_commands/runners/nrfjprog.py&amp;quot;, line 128, in do_run&lt;br /&gt; self.check_call(cmd)&lt;br /&gt; File &amp;quot;/home/rob/dev/ncs/zephyr/scripts/west_commands/runners/core.py&amp;quot;, line 466, in check_call&lt;br /&gt; subprocess.check_call(cmd)&lt;br /&gt; File &amp;quot;/usr/lib/python3.6/subprocess.py&amp;quot;, line 291, in check_call&lt;br /&gt; raise CalledProcessError(retcode, cmd)&lt;br /&gt;subprocess.CalledProcessError: Command &amp;#39;['nrfjprog', '--program', '/home/rob/dev/ncs/nrf/samples/nrf9160/mqtt_simple/build/zephyr/zephyr.hex', '-f', 'NRF91', '--snr', '960011468', '--sectorerase']&amp;#39; returned non-zero exit status 33.&lt;/p&gt;
&lt;p&gt;..sorry for being a pain.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 MQTT example</title><link>https://devzone.nordicsemi.com/thread/170670?ContentTypeID=1</link><pubDate>Tue, 12 Feb 2019 14:29:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c626a5f-5afb-4e9c-968b-b8d337f066c9</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Yes, I am sorry for not mentioning that.&lt;br /&gt;As for &lt;strong&gt;now&lt;/strong&gt; you cannot build master in SES, only with the terminal method. (&lt;em&gt;this is being worked on to be fixed)&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 MQTT example</title><link>https://devzone.nordicsemi.com/thread/170668?ContentTypeID=1</link><pubDate>Tue, 12 Feb 2019 14:26:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1468ac2f-6668-4dd1-b6d6-a0f5652d8898</guid><dc:creator>Dominik Windhab</dc:creator><description>&lt;p&gt;Hi! I just&amp;nbsp;updated all repos to the latest master&amp;nbsp;branch and tried to build the secure_boot and mqtt_simple. In SES both&amp;nbsp;builds failed with the following output:&lt;/p&gt;
&lt;p&gt;Rebuilding &amp;lsquo;zephyr/include/generated/offsets.h&amp;rsquo; from solution &amp;lsquo;build&amp;rsquo; in configuration &amp;lsquo;Common&amp;rsquo;&lt;br /&gt;1&amp;gt; Combining &amp;lsquo;zephyr/include/generated/offsets.h&amp;rsquo;&lt;br /&gt;1&amp;gt; Traceback (most recent call last):&lt;br /&gt;1&amp;gt; File &amp;quot;C:/Users/***/Documents/workspace/nrf91_src_root/ncs/zephyr/scripts/gen_offset_header.py&amp;quot;, line 72, in &amp;lt;module&amp;gt;&lt;br /&gt;1&amp;gt; input_file = open(args.input, &amp;#39;rb&amp;#39;)&lt;br /&gt;1&amp;gt; FileNotFoundError: [Errno 2] No such file or directory: &amp;#39;C:/Users/***/Documents/workspace/nrf91_src_root/ncs/nrf/samples/nrf9160/secure_boot/build/zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj&amp;#39;&lt;br /&gt;Build failed&lt;/p&gt;
&lt;p&gt;Is building in SES still an issue? Shall I try via terminal?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 MQTT example</title><link>https://devzone.nordicsemi.com/thread/170653?ContentTypeID=1</link><pubDate>Tue, 12 Feb 2019 13:58:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a412612e-ab91-43ec-a817-8b6a995ca4ca</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Dominik,&lt;/p&gt;
&lt;p&gt;If you are having any issues building/flashing this, please update the &lt;strong&gt;zephyr&lt;/strong&gt; and &lt;strong&gt;nrf&lt;/strong&gt; repos since there have been introduced some fixes.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Either through &amp;#39;git pull&amp;#39;&lt;/p&gt;
&lt;p&gt;or use&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_ins_windows.html#updating-the-repositories"&gt; west.&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/tools/west/index.html#west"&gt;(additional info about &amp;#39;west&lt;/a&gt;&amp;#39;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 MQTT example</title><link>https://devzone.nordicsemi.com/thread/170508?ContentTypeID=1</link><pubDate>Tue, 12 Feb 2019 07:50:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81253331-e129-458d-9006-6f9e4eed48cb</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Rob,&lt;/p&gt;
&lt;p&gt;You need to add nrfjprog to PATH (&lt;a href="https://www.techrepublic.com/article/how-to-add-directories-to-your-path-in-linux/"&gt;set the path in Linux),&lt;/a&gt; so your terminal can find the program&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 MQTT example</title><link>https://devzone.nordicsemi.com/thread/170453?ContentTypeID=1</link><pubDate>Mon, 11 Feb 2019 17:53:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9dfabcae-27c9-4ee2-a61e-7f665b1cb1dc</guid><dc:creator>robmilne</dc:creator><description>&lt;p&gt;Same result after untar of that archive into my /opt/SEGGER/JLink directory.&amp;nbsp; Is there a variable that I can &amp;#39;export&amp;#39; so that ninja can find nrfjprog?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 MQTT example</title><link>https://devzone.nordicsemi.com/thread/170293?ContentTypeID=1</link><pubDate>Mon, 11 Feb 2019 09:28:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2324d3e4-9fb5-4f4f-846b-676d59193554</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Rob,&lt;/p&gt;
&lt;p&gt;You are missing the &lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF5-Command-Line-Tools"&gt;nRF command Line Tools&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Please download it and it should work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 MQTT example</title><link>https://devzone.nordicsemi.com/thread/170185?ContentTypeID=1</link><pubDate>Fri, 08 Feb 2019 20:54:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43e0be56-b01f-4060-aeae-bcb534dde8cc</guid><dc:creator>robmilne</dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;I followed the 7 steps above but cannot flash because of this error:&lt;/p&gt;
&lt;p&gt;FileNotFoundError: [Errno 2] No such file or directory: &amp;#39;nrfjprog&amp;#39;: &amp;#39;nrfjprog&amp;#39;&lt;/p&gt;
&lt;p&gt;I ran pip3 install --user pynrfjprog and retried but it made no difference.&amp;nbsp; Any suggestions?&lt;/p&gt;
&lt;p&gt;-rob&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 MQTT example</title><link>https://devzone.nordicsemi.com/thread/169585?ContentTypeID=1</link><pubDate>Tue, 05 Feb 2019 16:20:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6996a1c7-41af-4319-8e1b-0c9117cbdc85</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Dominik,&lt;/p&gt;
&lt;p&gt;If you are going to use the latest updates in the master branch to &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf"&gt;nrf&lt;/a&gt;, you should also make sure that you are in the master branches to the other repos and update them to the latest:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;cd &amp;lt;sourcecode_root&amp;gt;\ncs\zephyr ; git checkout master ; git pull
cd &amp;lt;sourcecode_root&amp;gt;\ncs\mcuboot ; git checkout master ; git pull
cd &amp;lt;sourcecode_root&amp;gt;\ncs\nrf ; git checkout master ; git pull
cd &amp;lt;sourcecode_root&amp;gt;\ncs\nrfxlib ; git checkout master ; git pull&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Unfortunately, there is an issue with building using SES with the latest master branch (&lt;em&gt;I can assure you that we are working on fixing this&lt;/em&gt;).&amp;nbsp;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;strong&gt;Workaround:&lt;/strong&gt;&lt;br /&gt;&lt;em&gt;In the meantime you can build the application via the terminal, where the board name for a non-secure project has changed to “&lt;a href="https://docs.zephyrproject.org/latest/boards/arm/nrf9160_pca10090/doc/nrf9160_pca10090.html#programming-and-debugging"&gt;nrf9160_pca10090ns”.&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Here’s the way to generate/compile a project from terminal:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;export ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb
export GNUARMEMB_TOOLCHAIN_PATH=&amp;quot;/path/to/gcc-arm-none-eabi-Qx-2018/&amp;quot;
source /path/to/ncs/zephyr/zephyr-env.sh
cd /path/to/ncs/nrf/samples/nrf9160/mqtt_simple/
mkdir build &amp;amp;&amp;amp; cd build
cmake .. -DBOARD=nrf9160_pca10090ns -GNinja
ninja flash
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;- If your build folder exists, you might need to clear it (delete the content) first.&lt;/p&gt;
&lt;p&gt;(use&amp;nbsp;&lt;strong&gt;ninja&amp;nbsp;&lt;/strong&gt;to compile and/or&amp;nbsp;&lt;strong&gt;ninja flash&lt;/strong&gt; to compile and flash to the kit)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Note that you also need to build/flash the s&lt;em&gt;ecure_boot&amp;nbsp;&lt;/em&gt;sample again to be sure that everything is on the right memory area.&lt;/p&gt;
&lt;p&gt;Please note that when building for &lt;em&gt;secure_boot &lt;/em&gt;you need to use this command instead:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;cmake .. -DBOARD=nrf9160_pca10090 -GNinja&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;(note that it does not have the&amp;nbsp;&lt;strong&gt;ns&lt;/strong&gt; at the end ["non-secure"])&lt;/p&gt;
&lt;p&gt;It should look something like this:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-204e30b91cfc47439f7b41de6de4cec7/pastedimage1549383595312v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;I must apologize for the inconvenience this may have caused.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Martin L.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 MQTT example</title><link>https://devzone.nordicsemi.com/thread/169568?ContentTypeID=1</link><pubDate>Tue, 05 Feb 2019 14:55:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f45feec-4a38-4832-aa04-5a44b4069cc4</guid><dc:creator>Dominik Windhab</dc:creator><description>&lt;p&gt;Hi! Thanks for the answer. There is something very strange going on.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So I am able to compile and flash secure_boot, at_client, asset_tracker, and the &lt;a href="https://github.com/Rallare/fw-nrfconnect-nrf/tree/nrf9160_samples/samples/nrf9160/ntp"&gt;NTP&lt;/a&gt;&amp;nbsp;example. Everything seems to work. Serial output looks ok.&lt;/p&gt;
&lt;p&gt;(...)&lt;/p&gt;
&lt;p&gt;Secure Boot: SPU: set SRAM region 30 as Non-Secure&lt;br /&gt;Secure Boot: SPU: set SRAM region 31 as Non-Secure&lt;br /&gt;Secure Boot: configure peripherals&lt;br /&gt;Secure Boot: MSP_NS 200265f0&lt;br /&gt;Secure Boot: prepare to jump to Non-Secure image&lt;br /&gt;***** Booting Zephyr OS v1.13.99-ncs2 *****&lt;br /&gt;The AT host sample started&lt;/p&gt;
&lt;p&gt;(...)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Now opening and compiling the mqtt_simple example from the master branch.&lt;/p&gt;
&lt;p&gt;After build and run the output in segger studio is:&lt;/p&gt;
&lt;p&gt;(...)&lt;/p&gt;
&lt;p&gt;Preparing target for download&lt;br /&gt;Executing script TargetInterface.resetAndStop()&lt;br /&gt;Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;br /&gt;Reset: Reset device via AIRCR.SYSRESETREQ.&lt;br /&gt;Downloading &amp;lsquo;zephyr.elf&amp;rsquo; to J-Link&lt;br /&gt;Programming 83.3 KB of addresses 00000000 &amp;mdash; 00014d37&lt;br /&gt;Programming 0.4 KB of addresses 00014d38 &amp;mdash; 00014edb&lt;br /&gt;J-Link: Flash download: Bank 0 @ 0x00000000: 1 range affected (16384 bytes)&lt;br /&gt;J-Link: Flash download: Total time needed: 0.570s (Prepare: 0.042s, Compare: 0.041s, Erase: 0.357s, Program: 0.120s, Verify: 0.000s, Restore: 0.007s)&lt;br /&gt;&lt;strong&gt;Download successful&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Console output:&lt;/p&gt;
&lt;p&gt;Secure Boot: SPU: set SRAM region 30 as Non-Secure&lt;br /&gt;Secure Boot: SPU: set SRAM region 31 as Non-Secure&lt;br /&gt;Secure Boot: configure peripherals&lt;br /&gt;Secure Boot: MSP_NS 200265f0&lt;br /&gt;Secure Boot: prepare to jump to Non-Secure image&lt;br /&gt;***** Booting Zephyr OS v1.13.99-ncs2 *****&lt;br /&gt;The AT host sample started&lt;br /&gt;***** BUS FAULT *****&lt;br /&gt; Precise data bus error&lt;br /&gt; BFAR Address: 0x4002a514&lt;br /&gt;***** Hardware exception *****&lt;br /&gt;Current thread ID = 0x2000031c&lt;br /&gt;Faulting instruction address = 0x6f74&lt;br /&gt;Fatal fault in essential thread! Spinning...&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Reset and power cycle leads to the same result.&amp;nbsp;Immediate output is always &amp;quot;Bus Fault&amp;quot;.&lt;/p&gt;
&lt;p&gt;Now I tried to&amp;nbsp;reprogram the at_client. But&amp;nbsp;it seems like flashing another application is not possible. The output is the following:&lt;/p&gt;
&lt;p&gt;(...)&lt;br /&gt;Preparing target for download&lt;br /&gt;Executing script TargetInterface.resetAndStop()&lt;br /&gt;Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;br /&gt;Reset: Reset device via AIRCR.SYSRESETREQ.&lt;br /&gt;Downloading &amp;lsquo;zephyr.elf&amp;rsquo; to J-Link&lt;br /&gt;Programming 78.3 KB of addresses 00040000 &amp;mdash; 0005397b&lt;br /&gt;Programming 0.4 KB of addresses 0005397c &amp;mdash; 00053b23&lt;br /&gt;&lt;strong&gt;J-Link: Flash download: Bank 0 @ 0x00000000: Skipped. Contents already match&lt;/strong&gt;&lt;br /&gt;Download successful&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The only thing I can do is re-flashing the secure_boot sample. After that, the device starts to run the at_client&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It seems like there is a problem when flashing the mqtt_client sample.&lt;/p&gt;
&lt;p&gt;Is anybody experiencing similar problems?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 MQTT example</title><link>https://devzone.nordicsemi.com/thread/169508?ContentTypeID=1</link><pubDate>Tue, 05 Feb 2019 12:48:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de892f47-f45a-4128-ae41-807d126257b6</guid><dc:creator>shibshab</dc:creator><description>&lt;p&gt;Build and program the samples/nrf9160/secure_boot/ example first, then it should work.&lt;br /&gt;&lt;br /&gt;This is needed since the SPU peripheral needs to be configured with a &amp;quot;NON SECURE&amp;quot; area, in which the MQTT example will reside.&lt;br /&gt;&lt;br /&gt;The secure_boot sample performs this configuration.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>