<?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>nrf connect pc pca10059 crashes on receiving notifications (sometimes)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42363/nrf-connect-pc-pca10059-crashes-on-receiving-notifications-sometimes</link><description>I am using the nrf connect desktop application on windows with a PCA10059, and have found the application to be buggy when receiving a flood of notifications, this works fine using the pca10031 dongle but I want to use data length extensions and large</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Sep 2020 11:51:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42363/nrf-connect-pc-pca10059-crashes-on-receiving-notifications-sometimes" /><item><title>RE: nrf connect pc pca10059 crashes on receiving notifications (sometimes)</title><link>https://devzone.nordicsemi.com/thread/269852?ContentTypeID=1</link><pubDate>Wed, 16 Sep 2020 11:51:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bcb23193-0a64-4606-86b4-2e517a7ceafd</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;So what are the symptoms? does the log print anything regarding errors?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Does this occur in the same place every time, or does it depend on how fast the notifications are sent?&lt;/p&gt;
&lt;p&gt;Do you see where in the pc-ble-driver project the execution stops? Does it stop? Is it waiting for some reply from the dongle that it doesn&amp;#39;t receive?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect pc pca10059 crashes on receiving notifications (sometimes)</title><link>https://devzone.nordicsemi.com/thread/269850?ContentTypeID=1</link><pubDate>Wed, 16 Sep 2020 11:37:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7e2b34a-fa6d-478d-ae00-f2eaf9715fd0</guid><dc:creator>George</dc:creator><description>&lt;p&gt;Thanks, that is the answer I was looking for.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am using&amp;nbsp;&lt;span&gt;ble-connectivity 4.1.2+Jul-14-2020-05-48-48 ...so I guess the issue is not entirely solved.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect pc pca10059 crashes on receiving notifications (sometimes)</title><link>https://devzone.nordicsemi.com/thread/269848?ContentTypeID=1</link><pubDate>Wed, 16 Sep 2020 11:30:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a175246a-8504-4739-bea1-d45e3b0f6432</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Yes. But NB: This only covers pc-ble-driver. From the internal ticket:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;quot;This bug is likely caused by instability in connectivity fw for nRF52840 USB. There was a new release in July 2020 that addressed these instabilities.&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Connectivity FW refers to the FW that you flash on the dongle while using pc-ble-driver. Not if you have a custom application from the SDK.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect pc pca10059 crashes on receiving notifications (sometimes)</title><link>https://devzone.nordicsemi.com/thread/269844?ContentTypeID=1</link><pubDate>Wed, 16 Sep 2020 11:18:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e395c381-cc29-4dd1-ba43-f2763e310d25</guid><dc:creator>George</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/edvin-holmseth"&gt;Edvin&lt;/a&gt;&amp;nbsp;I understand that this thread is old but my question is very simple: above you mentioned that you had opened an internal ticket to investigate the bug mentioned by the author and which you had also replicated. If you remember which ticket that was, was the issue resolved? ...I&amp;#39;m not asking you to help me debug this and the issue does not happen on the DK just as the original author and you found out earlier.&lt;/p&gt;
&lt;p&gt;So I just need to know what was the outcome of that internal ticket. If you don&amp;#39;t remember which one it was that&amp;#39;s fine (I guess you can look it up by date) but anything else is not answering my simple question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect pc pca10059 crashes on receiving notifications (sometimes)</title><link>https://devzone.nordicsemi.com/thread/269835?ContentTypeID=1</link><pubDate>Wed, 16 Sep 2020 11:06:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96e6d151-e70d-4637-9208-1dfafddb71ec</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I just mean that what you do in a notification and what the author of this post does in his notifications may be completely different. The term &amp;quot;crash&amp;quot; is a very diffuse term. Something stops working. I assume that you just see that the device disconnects after a while. in ~90% of the cases, this is caused by an APP_ERROR_CHECK(err_code); that receives an err_code != 0. The log should point to which APP_ERROR_CHECK() that triggered this &amp;quot;crash&amp;quot; when DEBUG is defined in your preprocessor definitions.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What APP_ERROR_CHECK() that caused this is completely application dependent. Remember that we don&amp;#39;t know anything about your application yet.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would recommend that you try to replicate this on a DK, or at least try to add logging so that you can see the log on the dongle.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This post is more than 1.5 years old, so I don&amp;#39;t know whether the author here is still active. As from my side, you need to debug, and check the log. Then I suggest that you create a new ticket if it is not the same issue as in this case:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="Peter Kenyon"]it looks like the slave device starts to receive a seq no error in the LL and continually resends the notification, so the two devices are stuck sending and non acking, until the slave timesout&amp;nbsp;[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/george-saliba"&gt;George&lt;/a&gt; Are you using pc-ble-driver?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect pc pca10059 crashes on receiving notifications (sometimes)</title><link>https://devzone.nordicsemi.com/thread/269802?ContentTypeID=1</link><pubDate>Wed, 16 Sep 2020 09:24:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffc63f89-8fe2-4628-a46c-805060f59dad</guid><dc:creator>George</dc:creator><description>&lt;p&gt;Well, the symptoms are precisely identical so it is quite valid to assume that the issue is the same.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Above you mentioned that you had replicated the issue and made an internal report for it to be fixed so my question is: was this fixed? If so in which firmware release was it fixed?&lt;/p&gt;
&lt;p&gt;I have a DK but if I am using the Dongle I obviously have a reason to do so. My question is specifically about using the nRF52840 Dongle to receive notifications at high rates.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect pc pca10059 crashes on receiving notifications (sometimes)</title><link>https://devzone.nordicsemi.com/thread/269798?ContentTypeID=1</link><pubDate>Wed, 16 Sep 2020 09:12:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de224e2b-3ce9-46e8-bfd5-39832a762005</guid><dc:creator>Edvin</dc:creator><description>[quote user="george saliba"]I think I am having the same issue[/quote]
&lt;p&gt;&amp;nbsp;By this, do you mean that the nRF crashes sometimes when you receive a notification?&lt;/p&gt;
&lt;p&gt;If so, it can be almost anything. Try to define debug in preprocessor definitions and monitor the log. If you don&amp;#39;t figure out the reason for the logs in the error handler, please create a new ticket. It is almost certainly not the same issue as this one.&lt;/p&gt;
&lt;p&gt;Oh, and if you are using an nRF52840 Dongle, please get hold of an nRF52840 DK, as they are much easier to debug.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect pc pca10059 crashes on receiving notifications (sometimes)</title><link>https://devzone.nordicsemi.com/thread/269731?ContentTypeID=1</link><pubDate>Tue, 15 Sep 2020 17:10:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5bc3328d-c828-42ee-b770-8571a8aa2d9e</guid><dc:creator>George</dc:creator><description>&lt;p&gt;Any idea if this issue has been resolved?&lt;/p&gt;
&lt;p&gt;I think I am having the same issue&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect pc pca10059 crashes on receiving notifications (sometimes)</title><link>https://devzone.nordicsemi.com/thread/166021?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 14:19:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff7cf9d8-de8d-4412-a5f7-5676bf54bcf1</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thanks for the update. I added this note to the internal ticket.&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect pc pca10059 crashes on receiving notifications (sometimes)</title><link>https://devzone.nordicsemi.com/thread/165993?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 13:46:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5f9c523-ba72-48d9-bf4d-17c3cde0524a</guid><dc:creator>Peter Kenyon</dc:creator><description>&lt;p&gt;I had a quick look using a sniffer (from Nordic - great job guys), and it looks like the slave device starts to receive a seq no error in the LL and continually resends the notification, so the two devices are stuck sending and non acking, until the slave timesout&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect pc pca10059 crashes on receiving notifications (sometimes)</title><link>https://devzone.nordicsemi.com/thread/165976?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 13:03:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7863eeb8-ccab-4b99-9480-a11f66c04ad8</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thank you for reporting this, and for the details.&lt;/p&gt;
&lt;p&gt;I have replicated this, and I see the same behavior. Also, I see that this does not happen while using a DK, just as you say.&lt;/p&gt;
&lt;p&gt;I have reported this internally, and they will have a look at this.&lt;/p&gt;
&lt;p&gt;Since it works on the PCA10040/10056 (I tested), the issue is not the large MTU, but I believe it is rather the throughput on the USB that is capped. At least that is my theory.&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: nrf connect pc pca10059 crashes on receiving notifications (sometimes)</title><link>https://devzone.nordicsemi.com/thread/165924?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 11:08:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bdf96503-d0ff-4a01-ab55-5d23285b9ecc</guid><dc:creator>Peter Kenyon</dc:creator><description>&lt;p&gt;I just tried another brand new NRF52840 dongle, and let nrf connect update bootlaoder and firmware, and the same problem exists, when receiving notifications it hangs&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect pc pca10059 crashes on receiving notifications (sometimes)</title><link>https://devzone.nordicsemi.com/thread/165921?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 10:57:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab8243d2-bcbc-481e-9f00-e2efa04efd45</guid><dc:creator>Peter Kenyon</dc:creator><description>&lt;p&gt;I am using nrf Connect version v2.6.1.&lt;/p&gt;
&lt;p&gt;I have successfully been using the pca10031 dongle V1.1.0 and everything is OK.&lt;/p&gt;
&lt;p&gt;I changed to using pca10059 dongle 1.0.0 and I am having problems when receiving notifications,&lt;/p&gt;
&lt;p&gt;I have just tried the pca10056 DK and that works OK,&lt;/p&gt;
&lt;p&gt;so &lt;strong&gt;there is a problem with the PCA10059 dongle when receiving floods of notifications&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The nrfConnect app becomes slow but can be recovered by reselecting the device&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect pc pca10059 crashes on receiving notifications (sometimes)</title><link>https://devzone.nordicsemi.com/thread/165791?ContentTypeID=1</link><pubDate>Tue, 15 Jan 2019 14:57:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:518ef57c-2153-4a2e-867e-07335b6d59fb</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Can you please specify what version of nRF Connect you are using? (Version number), and what you mean by &amp;quot;application hangs&amp;quot;? Do you get a white screen, and then it closes, or does it become slow?&amp;nbsp; Have you tried using it with other devices than dongles? E.g. the nRF52832 DK or the nRF52840 DK?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect pc pca10059 crashes on receiving notifications (sometimes)</title><link>https://devzone.nordicsemi.com/thread/165694?ContentTypeID=1</link><pubDate>Tue, 15 Jan 2019 10:27:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3fb0ded-4917-4057-b23b-8ba1a1d273ea</guid><dc:creator>Peter Kenyon</dc:creator><description>&lt;p&gt;nope its nrf connect that crashes, and only with the pca10059 dongle,I think its related to the att mtu settings somehow&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect pc pca10059 crashes on receiving notifications (sometimes)</title><link>https://devzone.nordicsemi.com/thread/165362?ContentTypeID=1</link><pubDate>Mon, 14 Jan 2019 09:05:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ccd100b-f8bf-423f-91f9-08a73f6e4d48</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Are you sure it is not the other device, the device that you are connected to, that receives an error? Does it says that it is disconnected, or is it actually nRF Connect that hangs?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect pc pca10059 crashes on receiving notifications (sometimes)</title><link>https://devzone.nordicsemi.com/thread/164938?ContentTypeID=1</link><pubDate>Thu, 10 Jan 2019 13:48:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7b70117-3b75-4544-aa54-aee1e1a51614</guid><dc:creator>Peter Kenyon</dc:creator><description>&lt;p&gt;by buggy I mean the application hangs&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>