<?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 debugging on nRF52</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48647/ble-debugging-on-nrf52</link><description>Hi Nordic Team/Fellow developers, 
 I wanted to understand how you guys made sure BLE stack/application is working properly? Like, how did you guys debug your application with BLE enabled and SD enabled? 
 I am having a hard time debugging any BLE application</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Jun 2019 11:24:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48647/ble-debugging-on-nrf52" /><item><title>RE: BLE debugging on nRF52</title><link>https://devzone.nordicsemi.com/thread/193148?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2019 11:24:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3cc1c942-59f6-4752-8e67-e495f03743f5</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;&lt;a href="https://github.com/NordicPlayground/j-link-monitoring-mode-debugging"&gt;https://github.com/NordicPlayground/j-link-monitoring-mode-debugging&lt;/a&gt;&amp;nbsp;&lt;br /&gt;Check out branches for SDK14 and 15.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE debugging on nRF52</title><link>https://devzone.nordicsemi.com/thread/193088?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2019 08:18:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3967d886-557b-4549-aece-c3e853efb766</guid><dc:creator>awneil</dc:creator><description>[quote userid="69599" url="~/f/nordic-q-a/48647/ble-debugging-on-nrf52"]Once i put a breakpoint in the code and if i want to proceed further, it won&amp;#39;t let me and throws an error.[/quote]
&lt;p&gt;That is because a traditional, &amp;quot;halting&amp;quot; breakpoint completely stops the CPU.&lt;/p&gt;
&lt;p&gt;This means that the SoftDevice will miss its timing requirements - and crash.&lt;/p&gt;
&lt;p&gt;So you really can&amp;#39;t use &amp;quot;halting&amp;quot; debug with a SoftDevice.&lt;/p&gt;
&lt;p&gt;Instead, you need Monitor Mode Debug&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/23657/improved-softdevice-debugging/148486#148486"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/23657/improved-softdevice-debugging/148486#148486&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/38438/a-working-demo-of-monitor-mode-debug-mmd-on-sdk-15-please"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/38438/a-working-demo-of-monitor-mode-debug-mmd-on-sdk-15-please&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.segger.com/products/debug-probes/j-link/technology/monitor-mode-debugging/"&gt;https://www.segger.com/products/debug-probes/j-link/technology/monitor-mode-debugging/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Old, now outdated, post:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/monitor-mode-debugging---revolutionize-the-way-you-debug-ble-applications"&gt;https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/monitor-mode-debugging---revolutionize-the-way-you-debug-ble-applications&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>