<?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>Central resets randomly during scanning</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114046/central-resets-randomly-during-scanning</link><description>Hello and thanks for reading. Our device needs to act as both a central and peripheral. I have written all the peripheral code, and its all working perfectly. However, once I started writing code for the central role, I discovered a bug that I cant quite</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 27 Aug 2024 01:40:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114046/central-resets-randomly-during-scanning" /><item><title>RE: Central resets randomly during scanning</title><link>https://devzone.nordicsemi.com/thread/499863?ContentTypeID=1</link><pubDate>Tue, 27 Aug 2024 01:40:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd27a815-09ef-4d9b-a211-2b0ccc345306</guid><dc:creator>i_4556</dc:creator><description>&lt;p&gt;I switched to my NRF5340 dev board and the problem seems to have gone away, so Im going to assume the problem was somehow related to pushing too much data through the USB driver too fast or something. In any case we dont plan to continue working with the nrf52840, I was just using the dongle for conveience, so I think im just going to move forward and call it closed. Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central resets randomly during scanning</title><link>https://devzone.nordicsemi.com/thread/499326?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2024 08:39:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7df8a12b-2603-462a-9e96-cfb656a01bb5</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I see. The dongle is not great for development, because it doesn&amp;#39;t have a debugger. This means that it is possible to output log messages over USB, but as you say, when the application crashes, the USB functionality goes down with it, so the log disappears as well.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you have an external UART -&amp;gt; USB thing, you can try to monitor the log via UART, but if not, I recommend that you try to run the application on a DK, and see if you can replicate the issue there. In general, application development on the dongle is not recommended. If you want to run the application on a dongle, write it on a DK first, and when you are up and running, you can port the application over to the dongle.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central resets randomly during scanning</title><link>https://devzone.nordicsemi.com/thread/499274?ContentTypeID=1</link><pubDate>Wed, 21 Aug 2024 21:12:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:030a7200-13d0-42d8-9c87-75c5eaa4521f</guid><dc:creator>i_4556</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am running this on the 52840 dongle; I dont get any log messages, the system just resets.&lt;/p&gt;
&lt;p&gt;The lack of log messages might be because with the dongle it uses the USB port for uart/logging and when it crashes we lose USB functionality too.&lt;/p&gt;
&lt;p&gt;I dont think it matters, but I should also mention we are using SDK 2.5.0, and are using a mix of C and C++.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central resets randomly during scanning</title><link>https://devzone.nordicsemi.com/thread/499196?ContentTypeID=1</link><pubDate>Wed, 21 Aug 2024 11:08:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f804ce70-e843-4d51-b063-9dd46c9cb12c</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Does the log say anything when it resets? What HW are you running this on? The nRF52840 DK, or a custom board?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>