<?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>nRF52840 debugging, breakpoint doesn&amp;#39;t stop LFCLK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/40041/nrf52840-debugging-breakpoint-doesn-t-stop-lfclk</link><description>Hi, 
 I&amp;#39;m starting development of a new product utilizing nRF52840 mcu. We used this chip in previous product with Bluetooh stack (SoftDevice). I didn&amp;#39;t participate on this project, but my colleagues told me that they didn&amp;#39;t used standard debugging method</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 05 Nov 2018 14:22:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/40041/nrf52840-debugging-breakpoint-doesn-t-stop-lfclk" /><item><title>RE: nRF52840 debugging, breakpoint doesn't stop LFCLK</title><link>https://devzone.nordicsemi.com/thread/155986?ContentTypeID=1</link><pubDate>Mon, 05 Nov 2018 14:22:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2b93401-2f78-41b7-b699-4de943d89507</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I do not know any ways to do this, except maybe adding code to stop LFCLK before any breakpoint and start it afterwards. You could check with Segger if they have some way to run code when hitting breakpoints. This is not related to the chip, it would be a debugger/IDE feature.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 debugging, breakpoint doesn't stop LFCLK</title><link>https://devzone.nordicsemi.com/thread/155644?ContentTypeID=1</link><pubDate>Thu, 01 Nov 2018 18:09:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3613bdaf-cf1e-469f-847a-65c2bd61f6be</guid><dc:creator>Ondrej</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;J&amp;oslash;rgen, thanks for answer. I&amp;#39;m no hardware expert. So let me simplify my question. When I use timers&amp;nbsp;+ scheduler&amp;nbsp;from nRF52 SDK and I hit breakpoint in my timer handler and then I execute code again, the code crashes (app_fault_handler) with NRF_ERROR_NO_MEM (scheduler queue is full). What options do I have to avoid this?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 debugging, breakpoint doesn't stop LFCLK</title><link>https://devzone.nordicsemi.com/thread/155594?ContentTypeID=1</link><pubDate>Thu, 01 Nov 2018 14:44:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6e6b0d8-fa51-4de5-bad2-28dfcaa47abf</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This is expected. A breakpoint will only halt CPU execution at the given address. LFCLK is a HW peripheral in the chip, it is not affected by breakpoints (other than that generated events are not being handled).&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not aware of any ways to automatically stop clocks when you hit breakpoints, and I&amp;#39;m not sure I understand what the purpose of this would be.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>