<?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 DK nRF52</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44412/nrf9160-dk-nrf52</link><description>Dear, 
 
 I have nRF9160 DK, and I tried to control SW5 to debug/programme for nRF91 or nRF52. 
 I could programme for nRF91, but I couldnt do it for nRF52, for example, Im trying with /nrf/samples/bluetooth/central_uart/ 
 
 
 and SW5 to nRF52, then</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Mar 2019 09:38:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44412/nrf9160-dk-nrf52" /><item><title>RE: nRF9160 DK nRF52</title><link>https://devzone.nordicsemi.com/thread/174753?ContentTypeID=1</link><pubDate>Thu, 07 Mar 2019 09:38:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfee030b-f237-4bbb-ae85-6df9371e0460</guid><dc:creator>Hoang</dc:creator><description>&lt;p&gt;Thanks, I will try it later&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK nRF52</title><link>https://devzone.nordicsemi.com/thread/174263?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2019 13:16:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:353bba03-cc3c-434f-8a26-d0551218317c</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Hoang,&lt;/p&gt;
&lt;p&gt;Could you confirm that you used these settings when building the samples?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;- SW5 to nrf52&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;- &lt;strong&gt;hci_uart&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-c5d3a832fd124bb5bce6c4f6df8241a0/pastedimage1551791294350v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;-&lt;strong&gt;build and flash for the nrf52&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;-SW5 to nrf91&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-c5d3a832fd124bb5bce6c4f6df8241a0/pastedimage1551791124969v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;-&amp;nbsp;&lt;strong&gt;Build and flash for nrf91&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Then power cycle the nrf91 DK and check the LTE Link Monitor. (it may take a while to get a link to the basestation the first time)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-c5d3a832fd124bb5bce6c4f6df8241a0/pastedimage1551791480070v3.png" alt=" " /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;- make sure to uncheck the &amp;quot;Automatic requests&amp;quot; to use the LTE Link Monitor as a regular serial terminal:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-c5d3a832fd124bb5bce6c4f6df8241a0/pastedimage1551791885597v3.png" alt=" " /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;I am adding the .hex files as well.&lt;/p&gt;
&lt;p&gt;You can flash these .hex files using the command line:&lt;/p&gt;
&lt;p&gt;nrfjprog --program hci_uart.hex -f nrf52 -r --sectorerase --verify&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-c5d3a832fd124bb5bce6c4f6df8241a0/hci_5F00_uart.hex"&gt;devzone.nordicsemi.com/.../hci_5F00_uart.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;nrfjprog --program lte_gateway.hex -f nrf91 -r --sectorerase --verify&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-c5d3a832fd124bb5bce6c4f6df8241a0/lte_5F00_gateway.hex"&gt;devzone.nordicsemi.com/.../lte_5F00_gateway.hex&lt;/a&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 DK nRF52</title><link>https://devzone.nordicsemi.com/thread/174176?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2019 09:00:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4679d4a3-3dc3-4ed3-a8d3-94aab3201922</guid><dc:creator>Hoang</dc:creator><description>&lt;p&gt;Dear Martin,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I tried to follow the userguide:&lt;br /&gt;1. Programmed&amp;nbsp;&lt;span&gt;&lt;a class="reference external" title="(in Zephyr Project v1.14.0-rc1)" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/bluetooth/hci_uart/README.html#bluetooth-hci-uart-sample"&gt;Bluetooth: HCI UART&lt;/a&gt;&amp;nbsp;for nRF52: done&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2. Programmed Secure Boot and LTE_BLE_Gateway for nRF91: Done&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;then run Putty to test:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Secure Boot: SPU: set SRAM region 12 as Non-Secure&lt;br /&gt;Secure Boot: SPU: set SRAM region 13 as Non-Secure&lt;br /&gt;Secure Boot: SPU: set SRAM region 14 as Non-Secure&lt;br /&gt;Secure Boot: SPU: set SRAM region 15 as Non-Secure&lt;br /&gt;Secure Boot: SPU: set SRAM region 16 as Non-Secure&lt;br /&gt;Secure Boot: SPU: set SRAM region 17 as Non-Secure&lt;br /&gt;Secure Boot: SPU: set SRAM region 18 as Non-Secure&lt;br /&gt;Secure Boot: SPU: set SRAM region 19 as Non-Secure&lt;br /&gt;Secure Boot: SPU: set SRAM region 20 as Non-Secure&lt;br /&gt;Secure Boot: SPU: set SRAM region 21 as Non-Secure&lt;br /&gt;Secure Boot: SPU: set SRAM region 22 as Non-Secure&lt;br /&gt;Secure Boot: SPU: set SRAM region 23 as Non-Secure&lt;br /&gt;Secure Boot: SPU: set SRAM region 24 as Non-Secure&lt;br /&gt;Secure Boot: SPU: set SRAM region 25 as Non-Secure&lt;br /&gt;Secure Boot: SPU: set SRAM region 26 as Non-Secure&lt;br /&gt;Secure Boot: SPU: set SRAM region 27 as Non-Secure&lt;br /&gt;Secure Boot: SPU: set SRAM region 28 as Non-Secure&lt;br /&gt;Secure Boot: SPU: set SRAM region 29 as Non-Secure&lt;br /&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 2002c898&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;Application started&lt;br /&gt;Bluetooth init failed (err -19)&lt;br /&gt;[00:00:28.585,662] &amp;lt;err&amp;gt; bt_hci_core.bt_enable: No HCI driver registered&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;How can i fix it ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;hng&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK nRF52</title><link>https://devzone.nordicsemi.com/thread/174147?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2019 07:36:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7152969-62ea-4b70-8a19-e078b4ed5603</guid><dc:creator>Hoang</dc:creator><description>&lt;p&gt;Dear Martin,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for helping, I will try&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;hng&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK nRF52</title><link>https://devzone.nordicsemi.com/thread/174146?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2019 07:34:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5385a567-9375-4b0f-9ad3-795c7dcfc5f1</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hello Hoang,&lt;/p&gt;
&lt;p&gt;You cannot build/flash bluetooth samples to &amp;quot;&lt;strong&gt;nrf9160&lt;/strong&gt;_pca10090&amp;quot; since it is not a chip that supports BLE.&lt;/p&gt;
&lt;p&gt;If you are building for the nrf52840 chip that is on the nrf91DK you need to change the &amp;quot;Board directory&amp;quot; to &amp;quot;nrf52840_pca10090&amp;quot;.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;- nrf9160/nrf52840 (decides which chip)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;- pca10090 (is the name of the nrf91 DK)&lt;/em&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;A recommended exercise for you to do is to build/flash the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/nrf9160/lte_ble_gateway/README.html"&gt;LTE Sensor Gateway sample&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Since there you will need to build/flash one sample to the nrf9160 and one for the nrf52840. (remember to use SW5 to the correct chip you want to program)&lt;/p&gt;
&lt;p&gt;if you have a Thingy:52 as well you can now test out that sample by turning the Thingy:52 to each side and you will see on the nRF Cloud that an alarm will be sent each time the THingy:52 is on a specific side.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Hope this makes things a bit clearer.&amp;nbsp;&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></channel></rss>