<?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 gateway sample program (stack overflow)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91495/nrf9160-gateway-sample-program-stack-overflow</link><description>Hello, 
 I just noticed something odd. When I just the hex file have provided with me 
 
 It worked perfectly, however, when I try to flash the lte_ble_gateway sample program using VS studio, I get a messeage like this 
 
 Am I doing anything wrong here</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 31 Aug 2022 11:47:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91495/nrf9160-gateway-sample-program-stack-overflow" /><item><title>RE: nRF9160 gateway sample program (stack overflow)</title><link>https://devzone.nordicsemi.com/thread/384121?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2022 11:47:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1212dca-930c-49ce-a129-7c3f6a97afed</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Hmm... That is&amp;nbsp;strange.. Could you try to go in an environment without any Bluetooth activity, maybe since it&amp;#39;s scanning, too much advertisements may trigger this?&lt;/p&gt;
&lt;p&gt;Down below I have attached a video that shows how I build and program the lte_ble_gateway sample, please follow that, do the same and check if you get the same outcome as me.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Welcome-to-nRF-Connect-_2D00_-sdf-_2800_Workspace_2900_-_2D00_-Visual-Studio-Code-2022_2D00_08_2D00_31-13_2D00_32_2D00_14.mp4"&gt;devzone.nordicsemi.com/.../Welcome-to-nRF-Connect-_2D00_-sdf-_2800_Workspace_2900_-_2D00_-Visual-Studio-Code-2022_2D00_08_2D00_31-13_2D00_32_2D00_14.mp4&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 gateway sample program (stack overflow)</title><link>https://devzone.nordicsemi.com/thread/384011?ContentTypeID=1</link><pubDate>Sat, 27 Aug 2022 02:35:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e2276c1-f2ea-4223-a2fc-e5abd010dc14</guid><dc:creator>Ben Li</dc:creator><description>&lt;p&gt;I also don&amp;#39;t think it&amp;#39;s a problem with the SDK. I&amp;#39;ve reinstall the SDK and it still doesn&amp;#39;t work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 gateway sample program (stack overflow)</title><link>https://devzone.nordicsemi.com/thread/384010?ContentTypeID=1</link><pubDate>Fri, 26 Aug 2022 22:53:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b9c750c-5658-405f-a5f9-f43095a6d338</guid><dc:creator>Ben Li</dc:creator><description>&lt;p&gt;I don&amp;#39;t think I can run any git command here. Is it because I put everything in the wrong folder?&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/pastedimage1661554410346v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 gateway sample program (stack overflow)</title><link>https://devzone.nordicsemi.com/thread/384009?ContentTypeID=1</link><pubDate>Fri, 26 Aug 2022 09:13:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dea8f11c-3aee-46c8-8505-940895f23859</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Hmm.. that is strange. So&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3872.lte_5F00_ble_5F00_gateway-_2800_1_2900_.hex"&gt;lte_ble_gateway (1).hex&lt;/a&gt;&amp;nbsp;works, but not&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1738.lte_5F00_ble_5F00_gateway_5F00_ncs200.zip"&gt;lte_ble_gateway_ncs200.zip&lt;/a&gt;.&lt;/p&gt;
[quote user="Ben Li"] I&amp;#39;m just wondering if I&amp;#39;m doing this correctly. I taped &amp;quot;add an existing application&amp;quot; and then &amp;quot;add build configuration&amp;quot;, and tap &amp;quot;flash&amp;quot;.[/quote]
&lt;p&gt;That should be correct yes.&lt;/p&gt;
&lt;p&gt;Have you modified the SDK in any way? Could you go into &amp;lt;ncs location&amp;gt;/nrf and &amp;lt;ncs location&amp;gt;/zephyr and run git status?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 gateway sample program (stack overflow)</title><link>https://devzone.nordicsemi.com/thread/384008?ContentTypeID=1</link><pubDate>Fri, 26 Aug 2022 06:47:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc79feba-f2d2-43f9-87b9-6170de58d388</guid><dc:creator>Ben Li</dc:creator><description>&lt;p&gt;Hey Simon,&lt;/p&gt;
&lt;p&gt;It gives me the same error. I&amp;#39;m just wondering if I&amp;#39;m doing this correctly. I taped &amp;quot;add an existing application&amp;quot; and then &amp;quot;add build configuration&amp;quot;, and tap &amp;quot;flash&amp;quot;.&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/pastedimage1661496461095v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 gateway sample program (stack overflow)</title><link>https://devzone.nordicsemi.com/thread/384007?ContentTypeID=1</link><pubDate>Thu, 25 Aug 2022 09:37:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc121e80-b61a-4953-a38c-a95203f2a855</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Could you test the following lte_ble_gateway sample with NCS v2.0.0:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/lte_5F00_ble_5F00_gateway_5F00_ncs200.zip"&gt;devzone.nordicsemi.com/.../lte_5F00_ble_5F00_gateway_5F00_ncs200.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and the following hci_lpuart sample:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/hci_5F00_lpuart.hex"&gt;devzone.nordicsemi.com/.../hci_5F00_lpuart.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I just tested it on an nRF9160 DK v1.0.0 and it worked fine:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting Zephyr OS build v3.0.99-ncs1  ***
+CEREG: 90
[00:00:00.489,410] &amp;lt;inf&amp;gt; lte_ble_gw: LTE Sensor Gateway sample started
[00:00:00.489,624] &amp;lt;inf&amp;gt; lte_ble_gw: Initializing Bluetooth..
[00:00:00.507,171] &amp;lt;inf&amp;gt; lte_ble_gw: Establishing LTE link (this may take some time) ...
[00:00:01.199,462] &amp;lt;wrn&amp;gt; bt_hci_core: opcode 0x0000 pool id 3 pool 0x20015304 != &amp;amp;hci_cmd_pool 0x2001536c
[00:00:01.250,640] &amp;lt;inf&amp;gt; lte_ble_gw: Bluetooth ready
[00:00:01.257,720] &amp;lt;inf&amp;gt; lte_ble_gw: Scanning...
[00:00:08.761,322] &amp;lt;inf&amp;gt; lte_ble_gw: Device found: CA:99:4C:95:7E:69 (random)
[00:00:09.145,477] &amp;lt;inf&amp;gt; lte_ble_gw: Connected: CA:99:4C:95:7E:69 (random)
[00:00:13.577,941] &amp;lt;inf&amp;gt; lte_ble_gw: Orientation: 1
[00:00:14.597,991] &amp;lt;inf&amp;gt; lte_ble_gw: Orientation: 3
[00:00:17.568,084] &amp;lt;inf&amp;gt; lte_ble_gw: Orientation: 0&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>