<?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>ble_app_interactive code for nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43871/ble_app_interactive-code-for-nrf52840-dongle</link><description>Hi i am working on nRF52840 Dongle , I could not find ble_app_interactive application for nrf52840 dongle, 
 i am trying to implement the same code with some modification as below: 
 changed Project-&amp;gt;options-&amp;gt;c/c++ compiler-&amp;gt;Preprocessor 
 Defines: 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Feb 2019 11:49:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43871/ble_app_interactive-code-for-nrf52840-dongle" /><item><title>RE: ble_app_interactive code for nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/172091?ContentTypeID=1</link><pubDate>Wed, 20 Feb 2019 11:49:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee84e39d-ca93-4a6a-b715-80c43a7684b1</guid><dc:creator>Rekha</dc:creator><description>&lt;p&gt;Yes i tried this . it works. Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_interactive code for nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/172069?ContentTypeID=1</link><pubDate>Wed, 20 Feb 2019 10:20:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:306e5462-73a1-4829-85ea-3ba83d7b1db4</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;The nRF52840 Dongle does not have an on-board Segger debugger chip like the nRF52 DK, therefore you cannot &amp;quot;read and display through that port&amp;quot;. You have to wire and solder as I described below in order to make the UART work for the nRF52840 Dongle.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_interactive code for nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/172058?ContentTypeID=1</link><pubDate>Wed, 20 Feb 2019 09:45:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a21557a-3302-4110-8a38-5ea3ffc0a311</guid><dc:creator>Rekha</dc:creator><description>&lt;p&gt;Hi here is the link why&amp;nbsp; i dint connect pins externally:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/11952/nrf52-dk-and-uart-over-usb"&gt;devzone.nordicsemi.com/.../nrf52-dk-and-uart-over-usb&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_interactive code for nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/172046?ContentTypeID=1</link><pubDate>Wed, 20 Feb 2019 09:03:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5beb4d6a-36cf-4b5c-90ab-6a38fe5721fb</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Yes. But those were just arbitrary pin definitions, you still have to connect them to wires and a serial interface in order to make it work.&lt;/p&gt;
&lt;p&gt;&lt;img height="431" src="https://devzone.nordicsemi.com/resized-image/__size/800x1505/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-f8caeb28aeae4b3eb331e9c2d5627d94/pastedimage1550652878068v1.png" width="229" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I only showed you how to define pins 1.10, 1.13, 1.15 and 0.02 as UART pins, as you can see these &amp;quot;pins&amp;quot; are not connected to anything, you have to solder on wires and connect them to a serial interface which you plug into your PC in order to make the UART work.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_interactive code for nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/172044?ContentTypeID=1</link><pubDate>Wed, 20 Feb 2019 08:46:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20ce92b1-c025-487c-af59-a53962ac2c09</guid><dc:creator>Rekha</dc:creator><description>&lt;p&gt;Thank you. I will look into that DFU Trigger library&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_interactive code for nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/172042?ContentTypeID=1</link><pubDate>Wed, 20 Feb 2019 08:45:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da339116-1d69-4e3d-afdf-a8023f0d033a</guid><dc:creator>Rekha</dc:creator><description>&lt;p&gt;dongle is connected to PC COM port. Data is read and displayed through that port.&lt;/p&gt;
&lt;p&gt;here i am unable o do so.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_interactive code for nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/172037?ContentTypeID=1</link><pubDate>Wed, 20 Feb 2019 08:36:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85c5b5f1-23dd-47aa-ae55-890704424a6b</guid><dc:creator>Rekha</dc:creator><description>&lt;p&gt;yesterday you gave some #defines , i configured for the same and checking.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_interactive code for nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/172025?ContentTypeID=1</link><pubDate>Wed, 20 Feb 2019 07:56:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f59941b6-1cdc-4b3b-ae3a-e9dac74a8bd4</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Have you connected the correct pins?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_interactive code for nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/172020?ContentTypeID=1</link><pubDate>Wed, 20 Feb 2019 07:17:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:162d2c79-6d31-4d3a-864c-b43f0fc163bb</guid><dc:creator>Rekha</dc:creator><description>&lt;p&gt;And i want to read data from terminal via Uart profile. I am unable to do so.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_interactive code for nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/172019?ContentTypeID=1</link><pubDate>Wed, 20 Feb 2019 07:16:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d612f9ac-92d0-41ed-bce7-4d6a97a3b7c6</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Yes, the firmware is updated.&lt;/p&gt;
[quote user="Rekha"]Then how do i overcome this problem?&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;I don&amp;#39;t know if I would call it a problem. It happens because of what I said in my previous reply. If you application &lt;strong&gt;don&amp;#39;t use&lt;/strong&gt; the DFU Trigger Library, the device will no longer be in bootloader mode and this error will show up.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_interactive code for nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/172017?ContentTypeID=1</link><pubDate>Wed, 20 Feb 2019 07:09:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27a7d1ca-1f4f-438f-97ff-af9c18be90d5</guid><dc:creator>Rekha</dc:creator><description>&lt;p&gt;It means firmware is updated correct me if i am wrong.&lt;/p&gt;
&lt;p&gt;Then how do i overcome this problem?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;because every time i write to device it shows this error.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_interactive code for nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/172015?ContentTypeID=1</link><pubDate>Wed, 20 Feb 2019 07:05:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0141265b-ec0c-418e-97c7-1e67231b1457</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I do not have IAR myself, but looking at your screenshot it appears that you have been successful in updating the firmware on the Dongle, as you can read &amp;quot;DFU for Application completed successfully!&amp;quot;. Also note that you don&amp;#39;t have to use Segger Embedded Studio, the important thing is that the preprocessor define is changed for the project, and that you add the missing defines to the &lt;strong&gt;pca10059.h&lt;/strong&gt; file.&lt;/p&gt;
&lt;p&gt;The error you got on the screenshot is because when the writing process completes, the device resets and – unless the application uses the DFU Trigger Library – the Dongle will no longer show up in the nRF Connect application, as it is no longer in the bootloader mode. And this error will occur.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_interactive code for nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/172010?ContentTypeID=1</link><pubDate>Wed, 20 Feb 2019 05:32:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d31f8814-7710-499f-b23e-72b0bb659666</guid><dc:creator>Rekha</dc:creator><description>&lt;p&gt;I am using IAR to compile the code and generate hex file.&lt;/p&gt;
&lt;p&gt;I am using nrf connect for desktop to dump code into Dongle. I am getting following error:&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/error-nrf-connect.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;please suggest what to do?&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: ble_app_interactive code for nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/172008?ContentTypeID=1</link><pubDate>Wed, 20 Feb 2019 05:23:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e199f2d-a00d-4c0a-880c-3e3ac2bf0e4a</guid><dc:creator>Rekha</dc:creator><description>&lt;p&gt;Thanks in advance&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_interactive code for nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/172007?ContentTypeID=1</link><pubDate>Wed, 20 Feb 2019 05:23:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3cabf7fb-e3fc-473c-b372-baed8b395e88</guid><dc:creator>Rekha</dc:creator><description>&lt;p&gt;I tried to follow your steps but&amp;nbsp; i could not find IAR folder in pca10056. it supports only ses, armgcc. but i am working on IAR.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_interactive code for nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/171913?ContentTypeID=1</link><pubDate>Tue, 19 Feb 2019 14:04:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:694e792e-caff-4c06-965e-b6a55a420781</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;How did you try to implement it?&lt;/p&gt;
&lt;p&gt;Did you follow this &lt;a href="https://devzone.nordicsemi.com/tutorials/b/getting-started/posts/nrf52840-dongle-programming-tutorial"&gt;tutorial&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;I did a successfull implementation by following that tutorial.&lt;/p&gt;
&lt;p&gt;These are the steps I did:&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp; Make a copy of the folder pca10056 in &lt;strong&gt;examples\ble_central_and_peripheral\experimental\ble_app_interactive&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;2. Renaming that folder &lt;strong&gt;pca10059&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;3. Chaning the preprocessor define &lt;code&gt;BOARD_PCA10056&lt;/code&gt; to &lt;code&gt;BOARD_PCA10059&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;4. Open the file &lt;strong&gt;components\boards\pca10059.h&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;5. Adding the defines needed for configuring UART for CLI&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define RX_PIN_NUMBER  NRF_GPIO_PIN_MAP(1,10)
#define TX_PIN_NUMBER  NRF_GPIO_PIN_MAP(1,13)
#define CTS_PIN_NUMBER NRF_GPIO_PIN_MAP(1,15)
#define RTS_PIN_NUMBER NRF_GPIO_PIN_MAP(0,2)
#define HWFC           true
&lt;/pre&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Then I compiled the project without any errors:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-f8caeb28aeae4b3eb331e9c2d5627d94/pastedimage1550585079017v1.png" alt=" " /&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Try this.&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;code&gt;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>