<?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>Can&amp;#39;t provision nRF52840 dev kit when running Mesh Light example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96643/can-t-provision-nrf52840-dev-kit-when-running-mesh-light-example</link><description>I&amp;#39;m learning to work with the nRF52840 chip, and ordered the development kit for testing. It arrived today; I flashed the Blinky example and it worked fine, flashed the Light application (nrf/samples/bluetooth/mesh/light) and it seemed to work; I opened</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 03 Mar 2023 12:13:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96643/can-t-provision-nrf52840-dev-kit-when-running-mesh-light-example" /><item><title>RE: Can't provision nRF52840 dev kit when running Mesh Light example</title><link>https://devzone.nordicsemi.com/thread/413238?ContentTypeID=1</link><pubDate>Fri, 03 Mar 2023 12:13:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da9ebffd-4625-4d12-a450-80ad667f9636</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Ah right, I don&amp;#39;t usually enable that unless I have to. So unfortunately I don&amp;#39;t even think about asking if other people do. But I tried to enable it just now, and I am actually seeing the same issue you are. So just to test a Mesh sample, you don&amp;#39;t need to enable it.&lt;/p&gt;
&lt;p&gt;If you do want to enable it to though, you would have to increase the stack size (which is what its complaining about). You can do this by changing the prj.conf file of the project.&lt;/p&gt;
&lt;p&gt;Change CONFIG_BT_RX_STACK_SIZE = 4096&lt;/p&gt;
&lt;p&gt;And add CONFIG_MAIN_STACK_SIZE=4096&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't provision nRF52840 dev kit when running Mesh Light example</title><link>https://devzone.nordicsemi.com/thread/413127?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2023 21:10:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b7113ab-4037-4a56-9608-24345651807b</guid><dc:creator>ZacMid007</dc:creator><description>&lt;p&gt;Breakthrough - every time I was making a build configuration, I had been checking &amp;quot;enable debug options&amp;quot;. I tried leaving it unchecked and it seems to be working now&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't provision nRF52840 dev kit when running Mesh Light example</title><link>https://devzone.nordicsemi.com/thread/413126?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2023 21:03:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3211d057-c8b9-4227-b0bc-f7e149611b7b</guid><dc:creator>ZacMid007</dc:creator><description>&lt;p&gt;Tried again with 2.3.0, no change&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1677790985166v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't provision nRF52840 dev kit when running Mesh Light example</title><link>https://devzone.nordicsemi.com/thread/413122?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2023 20:26:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3fd6c0a1-376f-44c3-9fbe-d4d183ece65f</guid><dc:creator>ZacMid007</dc:creator><description>&lt;p&gt;I reinstalled the SDK, changing from 2.2.0 to 2.3.0-rc1, and reinstalled/updated the VSCode extensions - no change, still crashed (I also deleted and re-created the example from the new SDK install):&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1677788720893v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't provision nRF52840 dev kit when running Mesh Light example</title><link>https://devzone.nordicsemi.com/thread/412656?ContentTypeID=1</link><pubDate>Wed, 01 Mar 2023 08:54:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8da760ce-86c8-465d-b7c1-f4c352ae7441</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;That is interesting.&lt;/p&gt;
&lt;p&gt;Could you try reinstalling your SDK, or trying another version eg. 2.1? And if you are running a VPN when downloading the SDK, could you try turning it off?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't provision nRF52840 dev kit when running Mesh Light example</title><link>https://devzone.nordicsemi.com/thread/412620?ContentTypeID=1</link><pubDate>Wed, 01 Mar 2023 00:01:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:934ec40e-9add-42aa-abca-d1ffa4f47b31</guid><dc:creator>ZacMid007</dc:creator><description>&lt;p&gt;I flashed that version and it ran with no issue; I was able to provision the node without error and observed this output:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1677628859204v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;I indeed am using a 3.0.0 DK; I tried re-flashing the Mesh Light Switch example I have after running your build and it still crashed&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't provision nRF52840 dev kit when running Mesh Light example</title><link>https://devzone.nordicsemi.com/thread/411952?ContentTypeID=1</link><pubDate>Fri, 24 Feb 2023 12:08:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ae4f797-b9c3-499c-b51f-c4cd67f7b681</guid><dc:creator>Elfving</dc:creator><description>[quote user="ZacMid007"]Well I found out I&amp;#39;d been connecting to the wrong COM port (Should I be seeing 2 COM ports when I plug it in?)[/quote]
&lt;p&gt;Ah okey that explains. And yeah, the two ports can be a bit confusing. It might be that you are using a newer DK (eg. v3.0) which uses the nRF5340 as a debugger. It would have two cores, and two COM ports.&lt;/p&gt;
&lt;p&gt;Just to make sure there is nothing wrong with the SDK could you try running this version I&amp;#39;ve built?&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7612.zephyr.hex"&gt;devzone.nordicsemi.com/.../7612.zephyr.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't provision nRF52840 dev kit when running Mesh Light example</title><link>https://devzone.nordicsemi.com/thread/410765?ContentTypeID=1</link><pubDate>Sun, 19 Feb 2023 20:57:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:501faca5-3594-457e-a0f6-27e9091d507a</guid><dc:creator>ZacMid007</dc:creator><description>&lt;p&gt;Now that I&amp;#39;m seeing the COM output, the same thing is happening for the other examples, it evidently just gets further before crashing sometimes - this is from the Light Switch example:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1676858470367v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't provision nRF52840 dev kit when running Mesh Light example</title><link>https://devzone.nordicsemi.com/thread/410764?ContentTypeID=1</link><pubDate>Sun, 19 Feb 2023 20:46:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:599c8b5e-490d-4e74-95b1-604f98a0c143</guid><dc:creator>ZacMid007</dc:creator><description>&lt;p&gt;Well I found out I&amp;#39;d been connecting to the wrong COM port (Should I be seeing 2 COM ports when I plug it in?), otherwise I would have seen this earlier. Strangely, I was unable to connect to the correct COM port using the NRF terminal, I had to open another serial monitor (RealTerm, in this case).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes, I was able to connect to the peripheral uart example and send data without issue, but running &amp;quot;nrfprog --eraseall&amp;quot; didn&amp;#39;t change anything for the Mesh&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1676839484344v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;Edit: unplugged the dk and plugged it back in, didn&amp;#39;t change the Mesh errors but I was then able to use the nRF terminal instead of RealTerm:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1676858337150v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't provision nRF52840 dev kit when running Mesh Light example</title><link>https://devzone.nordicsemi.com/thread/410701?ContentTypeID=1</link><pubDate>Fri, 17 Feb 2023 15:43:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ec30a02-1a9d-4653-b83a-e627d8dc6891</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;I thought first that it had issues configuring after being provisioned, but it seems as if it doesn&amp;#39;t even finish provisioning. Could you check the log of the device when connecting it to a serial terminal?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And just to try this again, running something like &amp;quot;nrfjprog&amp;nbsp;&lt;span&gt;--&lt;/span&gt;&lt;em&gt;eraseall&amp;quot;&amp;nbsp;&amp;nbsp;&lt;/em&gt;before programming doesn&amp;#39;t help?&lt;/p&gt;
&lt;p&gt;Could you also check if you are able to connect the phone to the DK with the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/peripheral_uart/README.html#testing"&gt;peripheral uart sample&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't provision nRF52840 dev kit when running Mesh Light example</title><link>https://devzone.nordicsemi.com/thread/410486?ContentTypeID=1</link><pubDate>Thu, 16 Feb 2023 22:51:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bab41e87-d0d5-4c94-99bf-2eb32645f403</guid><dc:creator>ZacMid007</dc:creator><description>&lt;p&gt;It&amp;#39;s not power, I tried powering it from a USB wall charger instead of my PC and got the same result&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't provision nRF52840 dev kit when running Mesh Light example</title><link>https://devzone.nordicsemi.com/thread/410194?ContentTypeID=1</link><pubDate>Wed, 15 Feb 2023 22:56:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29ca1678-b731-4626-b555-56beb8523d47</guid><dc:creator>ZacMid007</dc:creator><description>&lt;p&gt;I tried with an iPhone, same result but I got a &amp;quot;Status - Device disconnected&amp;quot; message before it returned to the previous screen. With the other examples, I tried following the instructions, but attempting to get composition data (or do anything else) once connected would result in immediate disconnection (my phone was not paired to the board in bluetooth settings). Here are a couple of screen recordings showing a quick and slow failure.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/screen_2D00_20230216_2D00_114823.mp4"&gt;devzone.nordicsemi.com/.../screen_2D00_20230216_2D00_114823.mp4&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/screen_2D00_20230216_2D00_114855.mp4"&gt;devzone.nordicsemi.com/.../screen_2D00_20230216_2D00_114855.mp4&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't provision nRF52840 dev kit when running Mesh Light example</title><link>https://devzone.nordicsemi.com/thread/410081?ContentTypeID=1</link><pubDate>Wed, 15 Feb 2023 12:57:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c28b89d5-f752-4f56-93c6-73c0bc705a75</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;That is odd. Could you try using another phone as well to see if it is showing the same issue?&lt;/p&gt;
[quote user="ZacMid007"]I tried the Mesh Light Switch example as well, and while it did provision, I would get this error:[/quote]
&lt;p&gt;Yeah that looks like an issue I&amp;#39;ve seen before. It finishes provisioning, but doesn&amp;#39;t connect again for the configuration. You should however be able to do so yourself using the instructions that pop up there. &lt;/p&gt;
&lt;p&gt;Could you check if you&amp;#39;ve bonded to the device? If so, try un-pairing it in the phone settings.&lt;/p&gt;
[quote user="ZacMid007"]Potentially of note, the time it takes to go to the Scanner menu is not consistent, sometimes it&amp;#39;s instant and sometimes it takes a couple of seconds.[/quote]
&lt;p&gt;Could you send a me screen recording of how instantly this happens?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't provision nRF52840 dev kit when running Mesh Light example</title><link>https://devzone.nordicsemi.com/thread/409954?ContentTypeID=1</link><pubDate>Tue, 14 Feb 2023 20:17:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c640718-2b43-43c9-bf91-2bf5e8d6c7c8</guid><dc:creator>ZacMid007</dc:creator><description>&lt;p&gt;Correct, there is no pop-up, it goes straight from &amp;quot;Sending provisioning data&amp;quot; to the Scanner menu. It repeats indefinitely as far as I can tell, I tried it a lot. Tried erasing/recovering and reprogramming, no difference. Potentially of note, the time it takes to go to the Scanner menu is not consistent, sometimes it&amp;#39;s instant and sometimes it takes a couple of seconds.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I tried the Mesh Light Switch example as well, and while it did provision, I would get this error:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot_5F00_20230215_2D00_090929.png" /&gt;&lt;/p&gt;
&lt;p&gt;Any attempt to eg add an app key or get composition data after this would result in an immediate disconnection&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Tried Mesh Chat example as well, same result as Light Switch. Going back to the Mesh Light example after trying the Switch and Chat examples did not change anything, it still failed to provision at all&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't provision nRF52840 dev kit when running Mesh Light example</title><link>https://devzone.nordicsemi.com/thread/409835?ContentTypeID=1</link><pubDate>Tue, 14 Feb 2023 12:12:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5c35869-6dfe-45b3-91c5-733056149558</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Isaac,&lt;/p&gt;
&lt;p&gt;So&amp;nbsp;you do not see a&amp;nbsp; Pop-up saying &amp;quot;configuration complete&amp;quot;. Instead you go straight to the Scanner menu. Is this something you could&amp;#39;ve repeated indefinitely?&lt;/p&gt;
&lt;p&gt;Could you try manually erasing the flash before flashing the sample and see if that makes any difference? You can for instance run &amp;quot;nrfjprog --recover&amp;quot;.&lt;/p&gt;
&lt;p&gt;Are you seeing the same issue with another mesh samples?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>