<?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>Mesh does not work on nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69808/mesh-does-not-work-on-nrf52840-dongle</link><description>Hi there! 
 I have run light switch example for Mesh demo but no activity could be found via nRF Mesh app even my dongles have never been provsioned.The version of SDK and SDK for Mesh is 17.0.2 and V5.0.0 respectively, PCA10056 is changed PCA10059 before</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 Jan 2021 09:30:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69808/mesh-does-not-work-on-nrf52840-dongle" /><item><title>RE: Mesh does not work on nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/287154?ContentTypeID=1</link><pubDate>Mon, 04 Jan 2021 09:30:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07577f35-1363-41d6-9e25-5704f9ca5562</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Archie,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s hard to tell what can be the issue here. You may want to start debugging by:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-&amp;nbsp;Update simple application of blinking an LED, just to be sure the Bootloader can program the board properly.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- Update the Mesh application with added blinking LED in an infinite loop to be as the anchor point. First put the infinite loop of blinking at the beginning of main(). Then when you see the LED blink, you can move it down in the code, to the point you don&amp;#39;t see the blinking any more.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I still suspect the previous flash data caused the flash library to confuse and crashed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Again, the dongle is not made to be a development kit. It&amp;#39;s made as the hardware back end for nRF Connect app. It would save you a lot of time if you can solder the header on P1 and can debug easily.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh does not work on nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/286600?ContentTypeID=1</link><pubDate>Sat, 26 Dec 2020 12:14:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ba3e5a6-eb7c-431a-995a-c4a0caa15843</guid><dc:creator>Archiet</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;May I&amp;nbsp;know&amp;nbsp;when&amp;nbsp;do LED_1,LED_2 and LED_4 keep at ON&amp;nbsp; state after programming(using nRF connnect programmer) the dongle with&amp;nbsp;&lt;span&gt;light switch example?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I got 2 dongles now, one of them works fine on both server and client (I can&amp;nbsp;find it on nrf MESH app) but there is nothing on another dongle and LED 1,LED_2&amp;nbsp;and LED_4&amp;nbsp;are&amp;nbsp;at ON state all the time.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I have followed this post, &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44727/nrf52840-dongle-erase-provisioning-data"&gt;devzone.nordicsemi.com/.../nrf52840-dongle-erase-provisioning-data&lt;/a&gt;, to erase those provision data by adding &amp;quot;mesh_stack_config_clear()&amp;quot; and&amp;nbsp; &amp;quot;&lt;span&gt;node_reset()&amp;quot; to main function. The one which can be found on&amp;nbsp;nrf MESH app before works fine again, its LEDs are flashing during reset process. Yet, another one shows nothing but LED_1,LED_2&amp;nbsp;and LED_4&amp;nbsp;keep at ON&amp;nbsp; state after the reset program is uploaded to the dongle.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Both dongles work fine with BLE central and peripheral examples but only one of them works fine with Mesh example.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I think the hardware of the &amp;quot;abnormal &amp;quot; one should be fine&amp;nbsp;as it can have expected responses in&amp;nbsp;BLE central and peripheral examples.&amp;nbsp;All programs used above are the same among these 2 dongles. Therefore, could you give me some suggestions on the &amp;quot;abnormal&amp;quot; dongle in order to make it work on Mesh examples as well?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;cheers~&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh does not work on nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/286503?ContentTypeID=1</link><pubDate>Wed, 23 Dec 2020 15:42:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c77dae3-6d6d-4d2a-8554-e3f9e05b6059</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;No I don&amp;#39;t think so. It should work. But I mentioned, it depends on what you have on the dongle previously it might not work due to dirty application data flash area.&amp;nbsp;&lt;br /&gt;You don&amp;#39;t need to solder the header on all of your dongle. You just need to develop a working example on one dongle with the header and then you can use the normal way to program all other dongles.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh does not work on nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/286494?ContentTypeID=1</link><pubDate>Wed, 23 Dec 2020 14:57:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47e40996-67a5-4ffd-ab0e-32831bd9a074</guid><dc:creator>Archiet</dc:creator><description>&lt;p&gt;Hi Hung!&lt;/p&gt;
&lt;p&gt;I am using the server firmware from light switch example. This firmware is fine when I use &lt;span&gt;PCA10056 but&amp;nbsp;PCA10059.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;When I use dongle, I follow the procedure&amp;nbsp;from this post&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial"&gt;https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Before diving into P1 header and debugger, I would like to make sure I have done enough, or do I miss some key steps?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh does not work on nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/286483?ContentTypeID=1</link><pubDate>Wed, 23 Dec 2020 14:13:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77715e09-86f7-4d18-ab3d-91a6d607e7ae</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Please make sure your firmware supports PB-GATT to provision from mobile app.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;There could be a chance that the code assert somewhere. But without any logging or capability to debug it&amp;#39;s really hard to tell what went wrong. Any leftover application data can cause a crash because the flash is not clean.&lt;br /&gt;I would strongly suggest to solder the P1 header and use a debugger on it.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh does not work on nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/286479?ContentTypeID=1</link><pubDate>Wed, 23 Dec 2020 13:59:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b565f5c-a4e0-4898-981c-1f3287595a45</guid><dc:creator>Archiet</dc:creator><description>&lt;p&gt;Hi Hung!&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;Yes, I have also uploaded softdevice 140 via nRF Connect programmer. After the process, I could see LED1 and 2 are ON but nothing could be found on nRF Mesh app. Since this is the first time I run this example, my dongle should not be provisioned that&amp;#39;s why I am confused.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh does not work on nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/286477?ContentTypeID=1</link><pubDate>Wed, 23 Dec 2020 13:48:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:616c4718-501c-4aab-a6a2-0f05bbcc98fd</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;How did you program the PCA10059 dongle ?&amp;nbsp;&lt;br /&gt;If you program it via the NRF Connect Programmer (which use DFU to update the dongle, not directly via SWD interface) then the board only have the MBR and the application. YOu would need to program the softdevice and then program the application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note that the dongle is not the best tool for testing mesh. The reason is that when it&amp;#39;s provisioned it&amp;#39;s not possible to erase bond information unless you write code on the dongle to do that. The reason is that the DFU update wouldn&amp;#39;t clear the application data, hence the provisioning data will remains even after&amp;nbsp; you update it to new firmware.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;If you want to test mesh on the dongle, I would suggest to solder the header P1 on the dongle to flash it directly via SWD interface from a programmer. Make sure you do an erase all to delete the bootloader on the dongle.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>