<?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>Break point problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70328/break-point-problem</link><description>I wants to use break point in project but when i set break point then 4 or 5 times working after that goes to NRF_BREAKPOINT_COND, I am using nRF52832. so guide me where is the problem. 
 
 NRF_BREAKPOINT_COND; // On assert, the system can only recover</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Jan 2021 05:53:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70328/break-point-problem" /><item><title>RE: Break point problem</title><link>https://devzone.nordicsemi.com/thread/290115?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 05:53:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04d53e80-423a-4593-ab76-470b0c563b66</guid><dc:creator>Sangram singh</dc:creator><description>&lt;p&gt;After Implementing&amp;nbsp;&lt;span&gt;monitor mode debugging below error is comming&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Output/ble_app_uart_c_pca10040_s132 Release/Obj/JLINK_MONITOR_ISR_SES.o: In function `DebugMon_Handler&amp;#39;:&lt;br /&gt;1&amp;gt; D:\NORDIC\Nordic\sdk\nRF5_SDK_16.0.0\nRF5_SDK_16.0.0\examples\ble_central\ble_app_uart_c/JLINK_MONITOR_ISR_SES.s:159: undefined reference to `JLINK_MONITOR_OnEnter&amp;#39;&lt;br /&gt;1&amp;gt; Output/ble_app_uart_c_pca10040_s132 Release/Obj/JLINK_MONITOR_ISR_SES.o: In function `_WaitForJLinkCmd&amp;#39;:&lt;br /&gt;1&amp;gt; D:\NORDIC\Nordic\sdk\nRF5_SDK_16.0.0\nRF5_SDK_16.0.0\examples\ble_central\ble_app_uart_c/JLINK_MONITOR_ISR_SES.s:183: undefined reference to `JLINK_MONITOR_OnPoll&amp;#39;&lt;br /&gt;1&amp;gt; Output/ble_app_uart_c_pca10040_s132 Release/Obj/JLINK_MONITOR_ISR_SES.o: In function `_HandleRestartCPU&amp;#39;:&lt;br /&gt;1&amp;gt; D:\NORDIC\Nordic\sdk\nRF5_SDK_16.0.0\nRF5_SDK_16.0.0\examples\ble_central\ble_app_uart_c/JLINK_MONITOR_ISR_SES.s:228: undefined reference to `JLINK_MONITOR_OnExit&amp;#39;&lt;br /&gt;Build failed&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;pls. suggest.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Break point problem</title><link>https://devzone.nordicsemi.com/thread/290114?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 05:52:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:385bf8a7-7b01-4055-ba51-6638d00600df</guid><dc:creator>Sangram singh</dc:creator><description>&lt;p&gt;After Implementing&amp;nbsp;&lt;span&gt;monitor mode debugging below error is comming&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Output/ble_app_uart_c_pca10040_s132 Release/Obj/JLINK_MONITOR_ISR_SES.o: In function `DebugMon_Handler&amp;#39;:&lt;br /&gt;1&amp;gt; D:\NORDIC\Nordic\sdk\nRF5_SDK_16.0.0\nRF5_SDK_16.0.0\examples\ble_central\ble_app_uart_c/JLINK_MONITOR_ISR_SES.s:159: undefined reference to `JLINK_MONITOR_OnEnter&amp;#39;&lt;br /&gt;1&amp;gt; Output/ble_app_uart_c_pca10040_s132 Release/Obj/JLINK_MONITOR_ISR_SES.o: In function `_WaitForJLinkCmd&amp;#39;:&lt;br /&gt;1&amp;gt; D:\NORDIC\Nordic\sdk\nRF5_SDK_16.0.0\nRF5_SDK_16.0.0\examples\ble_central\ble_app_uart_c/JLINK_MONITOR_ISR_SES.s:183: undefined reference to `JLINK_MONITOR_OnPoll&amp;#39;&lt;br /&gt;1&amp;gt; Output/ble_app_uart_c_pca10040_s132 Release/Obj/JLINK_MONITOR_ISR_SES.o: In function `_HandleRestartCPU&amp;#39;:&lt;br /&gt;1&amp;gt; D:\NORDIC\Nordic\sdk\nRF5_SDK_16.0.0\nRF5_SDK_16.0.0\examples\ble_central\ble_app_uart_c/JLINK_MONITOR_ISR_SES.s:228: undefined reference to `JLINK_MONITOR_OnExit&amp;#39;&lt;br /&gt;Build failed&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;pls. suggest.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Break point problem</title><link>https://devzone.nordicsemi.com/thread/289138?ContentTypeID=1</link><pubDate>Thu, 14 Jan 2021 10:43:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e04f53f-e0d5-4c39-9e8e-1bf3e69be708</guid><dc:creator>Sangram singh</dc:creator><description>&lt;p&gt;Can we use&amp;nbsp;&lt;span&gt;Segger Embedded Studio V3.34 for&amp;nbsp;&amp;nbsp;monitor mode debugging ?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Break point problem</title><link>https://devzone.nordicsemi.com/thread/289064?ContentTypeID=1</link><pubDate>Thu, 14 Jan 2021 07:06:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92e872a5-fda8-4698-9f4d-537472e77098</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;As I have tried to explain earlier, you can&amp;#39;t do this if you have enabled Bluetooth in your app. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Break point problem</title><link>https://devzone.nordicsemi.com/thread/289060?ContentTypeID=1</link><pubDate>Thu, 14 Jan 2021 06:17:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5722347-7786-4b4a-9752-2578d19fde24</guid><dc:creator>Sangram singh</dc:creator><description>&lt;p&gt;when we wait approx. 30 to 40 sec at break point then Control goes to NRF_BREAKPOINT_COND ow to remove this problem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Break point problem</title><link>https://devzone.nordicsemi.com/thread/288604?ContentTypeID=1</link><pubDate>Tue, 12 Jan 2021 10:25:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f4452dd-4a8b-4e46-9b1e-ef275065a9fc</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The solution is to reset the device and start over again when you hit a breakpoint. Else you need to implement monitor mode debugging as explained here: &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; &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Break point problem</title><link>https://devzone.nordicsemi.com/thread/288600?ContentTypeID=1</link><pubDate>Tue, 12 Jan 2021 10:22:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21b35ca0-164f-4a90-aa84-50793d9000bf</guid><dc:creator>Sangram singh</dc:creator><description>&lt;p&gt;yes i receive&amp;nbsp;&amp;nbsp;SOFTDEVICE: ASSERTION FAILED error so please give me solution&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Break point problem</title><link>https://devzone.nordicsemi.com/thread/288577?ContentTypeID=1</link><pubDate>Tue, 12 Jan 2021 09:53:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d882a4ae-a20b-41e8-95b0-5bd5171c614c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Yes, the Softdevice will still assert if you try to resume execution after hitting a breakpoint. Did you get debug logs in the terminal after you made the changes?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Break point problem</title><link>https://devzone.nordicsemi.com/thread/288557?ContentTypeID=1</link><pubDate>Tue, 12 Jan 2021 08:54:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59aea008-6dc3-4f1c-9db6-3f8e186bd876</guid><dc:creator>Sangram singh</dc:creator><description>&lt;p&gt;After setting in sdk_config.h&lt;/p&gt;
&lt;p&gt;1.&amp;gt; NRF_LOG_BACKEND_RTT_ENABLED 1&lt;/p&gt;
&lt;p&gt;NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED 0&lt;/p&gt;
&lt;p&gt;2.&amp;gt; S&lt;span&gt;elect the debug project configuration before building the project. This configuration sets the &amp;quot;DEBUG&amp;quot; flag&amp;nbsp;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But the same problem is comming&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Break point problem</title><link>https://devzone.nordicsemi.com/thread/288545?ContentTypeID=1</link><pubDate>Tue, 12 Jan 2021 08:12:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd0f726c-c682-4b80-873b-682d22092438</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I assume you&amp;#39;re debugging a BLE application? In that case, the error is likely reported by the Softdevice. One of the challenges when debugging with the Softdevice, or any other protocol stack with hard timing requirements for that matter, is that it will fail to meet those timing requirements if the CPU gets halted for too long. To avoid this error, you have to always make sure to reset the device after hitting a breakpoint.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Logging is also helpful. Please follow the steps below if you have not enabled it already.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Steps to enable debug logging in SES&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;1. Ensure you have the following configuration settings in sdk_config.h&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;NRF_LOG_BACKEND_RTT_ENABLED 1&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED 0&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp; Select the debug project configuration before building the project. This configuration sets the &amp;quot;DEBUG&amp;quot; flag which will make the app error handler log more error information if an error occurs.&lt;/p&gt;
&lt;p&gt;&lt;img style="cursor:zoom-in;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/5125.pastedimage1609247449517v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;3. Start a new debug session. The debug messages should now appear in the debug terminal window.&lt;/p&gt;
&lt;p&gt;&lt;img style="cursor:zoom-in;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/4520.pastedimage1609247604353v2.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>