<?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>PCA10059 dongle keeps disconnecting from BLE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48663/pca10059-dongle-keeps-disconnecting-from-ble</link><description>Hi All, 
 I am running a modified example of the &amp;#39;ble_app_multilink_central_pca10056_s140&amp;#39; project.... I am running this on a PCA10059 dongle. The project connects fine to my peripheral device when it is running from the JTAG debugger. but when I disconnect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Jun 2019 12:40:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48663/pca10059-dongle-keeps-disconnecting-from-ble" /><item><title>RE: PCA10059 dongle keeps disconnecting from BLE</title><link>https://devzone.nordicsemi.com/thread/193433?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2019 12:40:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfefb8f8-4a68-4eb0-8ed1-583fbdf7e398</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;You have to select the Common configuration instead of Release&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA10059 dongle keeps disconnecting from BLE</title><link>https://devzone.nordicsemi.com/thread/193431?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2019 12:31:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:adbeb8aa-7c07-43e7-8568-92233efc5490</guid><dc:creator>Michael</dc:creator><description>&lt;p&gt;Hi Okay, I will try that..... when I follow the example on how to change the processor definition, on my project it is showing inherits (shown here using the blinky project as a test for the PCA10056) - what should I do ?&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Annotation-2019_2D00_06_2D00_18-132903.jpg" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA10059 dongle keeps disconnecting from BLE</title><link>https://devzone.nordicsemi.com/thread/193428?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2019 12:22:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a56d7d2-4a6c-49f1-af11-6a421159cfc9</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I see. Can you try setting it to&amp;nbsp;BOARD_PCA10059? (See &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial"&gt;nRF52840 Dongle Programming Tutorial&lt;/a&gt;&amp;nbsp;for details).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA10059 dongle keeps disconnecting from BLE</title><link>https://devzone.nordicsemi.com/thread/193426?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2019 12:13:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7245719d-bc55-4663-8580-c0b488b2ccf6</guid><dc:creator>Michael</dc:creator><description>&lt;p&gt;Hi, No I have not changed the processor definitions (it is still set to PCA10056)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA10059 dongle keeps disconnecting from BLE</title><link>https://devzone.nordicsemi.com/thread/193423?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2019 12:10:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6155561-cc7e-40b4-b2d0-5cd8b6e0b931</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I would not have expected to see such issues anyway, but is&amp;nbsp;REGOUT0 set properly? If not, then the supply voltage will be 1.8 V (which should have been OK as long as you don&amp;#39;t use a simple debugger). Did you set&amp;nbsp;BOARD_PCA10059 instead of&amp;nbsp;BOARD_PCA10056 in the&amp;nbsp;Preprocessor Definitions? If you do, the firmware will set REGOUT0 correctly after the first reset. It would be interesting to know if that improves things.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA10059 dongle keeps disconnecting from BLE</title><link>https://devzone.nordicsemi.com/thread/193402?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2019 11:30:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c95fe794-7003-4bdc-be9b-4965d99bb3b7</guid><dc:creator>Michael</dc:creator><description>&lt;h4 class="post-name"&gt;Hi&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/eith"&gt;Einar&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;I think I got around my problem (but I&amp;#39;m not sure why it is fixed - maybe you can shed some light on it).....&lt;/p&gt;
&lt;p&gt;I found that the BLE link stayed solid once disconnected from the JTAG if I use the PCA10059 dongle from an external 3.3V power supply connected to VDD Out pin (after I had cut SB2 and soldered SB1). Any ideas why this may be (as the code is the same).&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;p&gt;Michael&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA10059 dongle keeps disconnecting from BLE</title><link>https://devzone.nordicsemi.com/thread/193384?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2019 10:45:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c91ad15a-ede0-4bc1-8141-9f53b26efd67</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It should not normally matter if you are debugging or not.&lt;/p&gt;
&lt;p&gt;Looking at the disconnect reasons,&amp;nbsp;0x8 is&amp;nbsp;BLE_HCI_CONNECTION_TIMEOUT and&amp;nbsp;0x3E is&amp;nbsp;BLE_HCI_CONN_FAILED_TO_BE_ESTABLISHED. Essentially the latter is what you would get if there was a timeout immediately after the central initiated the connection, so both disconnect reasons probably represent the exact same problem. The question is what causes the disconnects. A few possible explanations come to mind:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Inaccurate clocks. This does not seem to be the case here though, as it should be independent of whether you are debugging or not.&lt;/li&gt;
&lt;li&gt;Firmware behaves differently when not debugging (for some reason), and enter an error state that causes a reset.&lt;/li&gt;
&lt;li&gt;Reset of another reason.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Can you check if the device is being reset, for instance by toggling a GPIO during startup and checking with a logic analyzer? Also, can you add UART logging (not via the debugger!) and see if you can get some sensible logging from the nRF?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>