<?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>nrf52810 BLE examples only run in debug mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72011/nrf52810-ble-examples-only-run-in-debug-mode</link><description>Hello I have built a custom board using an nrf52810 chip and have been trying to upload some examples from the nrf52SDK (specifically BLE examples with the s112 SoftDevice) within Segger Embedded Studio. I am using the JLink interface on an nrf52840-DK</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Mar 2021 09:19:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72011/nrf52810-ble-examples-only-run-in-debug-mode" /><item><title>RE: nrf52810 BLE examples only run in debug mode</title><link>https://devzone.nordicsemi.com/thread/298597?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 09:19:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53289619-8e1c-46b3-a69e-398ed91f242f</guid><dc:creator>lifeglug</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;thanks for your suggestion. I am not using UART for my application, and I have tried disabling everything relating to UART in the example app but this doesn&amp;#39;t make any difference.&lt;/p&gt;
&lt;p&gt;I have tried other examples without Bluetooth and they work perfectly (I can run the code normally with no debugger connected). So there must be something in the Bluetooth code - or some config setting in Segger Embedded Studio - which causes this.&lt;/p&gt;
&lt;p&gt;I am going to try incrementally adding Bluetooth bits to a working example to see which component causes it to stop working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52810 BLE examples only run in debug mode</title><link>https://devzone.nordicsemi.com/thread/296326?ContentTypeID=1</link><pubDate>Thu, 25 Feb 2021 14:58:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:251f58b1-fa4f-4aa0-bbde-320ca62c2584</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am not sure whether this is the issue, but it was the first thing that came to mind. What HW are you running this on? And what debugger are you using? Are you using a DK with the on board DK, or a custom setup?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Are you using UART in your application? A common mistake is that people who use the DK and UART struggles when the debugger is not connected, because this is also the device keeping the UART RX pin grounded. When this pin is floating, you may receive some&amp;nbsp;APP_UART_COMMUNICATION_ERROR events, causing your device to reset.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Do you have any way to monitor the log when the debugger is not connected? If possible, you can use UART with an external UART to USB device.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>