<?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>Operation queue causes downtime during continuous scanning</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109836/operation-queue-causes-downtime-during-continuous-scanning</link><description>hi, 
 Hope you are well. May I ask you a favor. I have some problems when processing scan messages through the queue module. The chip is NRF52832, and the softDevice is s132_nrf52_7.0.1 
 
 details as following: backgroud In order to reduce the codes</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Apr 2024 06:28:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109836/operation-queue-causes-downtime-during-continuous-scanning" /><item><title>RE: Operation queue causes downtime during continuous scanning</title><link>https://devzone.nordicsemi.com/thread/476432?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2024 06:28:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57708ac1-9f78-4bbb-8152-f94170efc2a1</guid><dc:creator>phineas0</dc:creator><description>&lt;p&gt;&lt;span&gt;Thanks for the suggestion. Fllowing the above operations, I found the problem in the code, and resolved it.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It&amp;#39;s a bit late to reply, thank you very much.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best wishes to you.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Operation queue causes downtime during continuous scanning</title><link>https://devzone.nordicsemi.com/thread/476431?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2024 10:04:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cf04272-40d6-4b97-b4d0-4a10f6a2e0c4</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;You could try to add the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_hardfault.html"&gt;hardfault library&lt;/a&gt; to your application, and see if you get an any hardfault information in the handler.&lt;/p&gt;
&lt;p&gt;Add these to your projects:&lt;/p&gt;
&lt;p&gt;$(SDK_ROOT)/components/libraries/hardfault/hardfault_implementation.c&amp;nbsp;&lt;br /&gt;$(SDK_ROOT)/components/libraries/hardfault/nrf52/handler/hardfault_handler_gcc.c&amp;nbsp; (variant here depends on your toolchain)&lt;/p&gt;
&lt;p&gt;And set HARDFAULT_HANDLER_ENABLED to 1 in sdk_config.h, and add DEBUG_NRF in your preprocessor definitions&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Operation queue causes downtime during continuous scanning</title><link>https://devzone.nordicsemi.com/thread/476430?ContentTypeID=1</link><pubDate>Fri, 12 Jan 2024 08:44:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f79f0ee2-4b95-40ee-b9e9-902aebbb7fdd</guid><dc:creator>phineas0</dc:creator><description>[quote user="sigurdon"] Are you using nRF5 SDK v17.1.0?[/quote]
&lt;p&gt;1) i am using nRF52 SDK v17.0.2, and i&amp;#39;m so sorry that&amp;nbsp;the version number of&amp;nbsp;the softDevice was written&amp;nbsp;in the article.&lt;/p&gt;
[quote user="sigurdon"]How do you detect the crash? What happens? [/quote]
&lt;p&gt;2)&amp;nbsp;After I sent the command through the serial port tool, there was no ack response and no log information was output in J-Link RTT Viewer. And only after re-downloading the program can it be used normally.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Operation queue causes downtime during continuous scanning</title><link>https://devzone.nordicsemi.com/thread/476429?ContentTypeID=1</link><pubDate>Fri, 12 Jan 2024 00:27:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d46538e5-db34-4e90-b57e-6f567effba92</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;1) Are you using nRF5 SDK v17.1.0?&lt;/p&gt;
&lt;p&gt;2)&amp;nbsp;&lt;/p&gt;
[quote user=""] the program will crash[/quote]
&lt;p&gt;How do you detect the crash? What happens? Does the device reset, become&amp;nbsp;unresponsive, etc ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>