<?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>segger and nrf 9160 DK, how to download code to board?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69554/segger-and-nrf-9160-dk-how-to-download-code-to-board</link><description>Hello 
 I am starting with nRF 9160 DK and Segger Embedded Studio, I installed Segger through toolchain, the activation sim, updated of certificated and connect the DK to nRF connect for cloud was fine, but in testing application doesn&amp;#180;t transmit GPS</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 17 Dec 2020 07:33:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69554/segger-and-nrf-9160-dk-how-to-download-code-to-board" /><item><title>RE: segger and nrf 9160 DK, how to download code to board?</title><link>https://devzone.nordicsemi.com/thread/285517?ContentTypeID=1</link><pubDate>Thu, 17 Dec 2020 07:33:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f9b7cfe-ea81-4d42-97d5-f2375b323e9e</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Julio,&lt;/p&gt;
&lt;p&gt;Great to hear that you got it to work. Good luck developing!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: segger and nrf 9160 DK, how to download code to board?</title><link>https://devzone.nordicsemi.com/thread/285410?ContentTypeID=1</link><pubDate>Wed, 16 Dec 2020 15:45:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce9d9d01-d162-42d5-a4d3-8b682d9fc7b6</guid><dc:creator>tracking</dc:creator><description>&lt;p&gt;Hi Marte&lt;/p&gt;
&lt;p&gt;Thank you very much for response quickly, now its working! I doesn&amp;rsquo;t have installed the Cmake, that&amp;rsquo;s was the problem, and I already have run gps example without problems, your answer was very useful to me, thank you.&lt;/p&gt;
&lt;p&gt;Kind Regards&lt;/p&gt;
&lt;p&gt;Julio&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: segger and nrf 9160 DK, how to download code to board?</title><link>https://devzone.nordicsemi.com/thread/285303?ContentTypeID=1</link><pubDate>Wed, 16 Dec 2020 12:29:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5105ca1c-f99d-4f2d-84ad-c1e0c6bdb7b4</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Julio,&lt;/p&gt;
&lt;p&gt;You can find the guide for&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_programming.html"&gt;building and programming a sample application here&lt;/a&gt;, but I&amp;#39;ll also some of it here for you.&lt;/p&gt;
&lt;p&gt;Could you try opening another sample, like one in the nrf folder instead and see if the error persists? Since you&amp;#39;re already interested in testing GPS, you could try the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.4.0/nrf/samples/nrf9160/gps/README.html"&gt;GPS sample&lt;/a&gt;&amp;nbsp;for nRF9160. This sample will print GPS data, so then you&amp;#39;ll also be able to see whether you get a GPS fix or not.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know what configurations you chose when opening the project, but for the nRF9160 DK you must remember to choose non-secure when you&amp;#39;re building samples that run in the non-secure domain (you can read more about secure vs non-secure&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-2-ncs-v1-4-0#h100sjwm551634uoal2fr9zwynnptkq"&gt;here&lt;/a&gt;&amp;nbsp;if you&amp;#39;re interested). By that, I mean that you have to choose &amp;quot;nrf9160dk_nrf9160ns&amp;quot; as your build target, with &amp;quot;ns&amp;quot; for non-secure. Below you can see a picture of how to open the project:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/500x300/__key/communityserver-discussions-components-files/4/open_5F00_nrf_5F00_connect_5F00_sdk_5F00_project.png" /&gt;&lt;/p&gt;
&lt;p&gt;After you&amp;#39;ve opened the project in SES, you can see the main.c file by opening &amp;quot;Solution &amp;#39;build&amp;#39;&amp;quot; -&amp;gt; &amp;quot;Project &amp;#39;app/libapp.a&amp;#39;&amp;quot; -&amp;gt; &amp;quot;C_COMPILER__app&amp;quot; in the project window on the left side, see picture below:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/500x300/__key/communityserver-discussions-components-files/4/ses_5F00_open_5F00_main.png" /&gt;&lt;/p&gt;
&lt;p&gt;In order to download the code to your nRF9160 DK, you first have to build it, which you do by going to &amp;quot;Build&amp;quot; -&amp;gt; &amp;quot;Build Solution&amp;quot;. After you&amp;#39;ve successfully built it, you can program your board by going to &amp;quot;Target&amp;quot; -&amp;gt; &amp;quot;Download zephyr/merged.hex&amp;quot; or &amp;quot;Target&amp;quot; -&amp;gt; &amp;quot;Download zephyr/zephyr.elf&amp;quot;.&lt;/p&gt;
&lt;p&gt;As for your problem with not transmitting GPS data, I would recommend seeing if you get a fix with the GPS sample. However, it might take some time to get the first fix, as you have to get a signal from the satellites, and then the DK has to download quite a lot of data. In addition, you need a clear enough view to the satellites in order to get a signal from them, and things like buildings, trees, etc. will affect the GPS signal. How are your testing conditions when testing GPS? If you&amp;#39;re testing indoors, you&amp;#39;re unlikely to get a good GPS signal, especially without using an external antenna.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>