<?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>Matter Lighting-App NRF52840 Dongle Cannot Run</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/103163/matter-lighting-app-nrf52840-dongle-cannot-run</link><description>Hello, 
 I am facing an issue with the firmware I compiled for the nrf52840dongle using the lighting-app example. The firmware is not functioning properly, and the LED is not blinking as expected. I would appreciate your assistance in identifying the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 Sep 2023 09:24:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/103163/matter-lighting-app-nrf52840-dongle-cannot-run" /><item><title>RE: Matter Lighting-App NRF52840 Dongle Cannot Run</title><link>https://devzone.nordicsemi.com/thread/444266?ContentTypeID=1</link><pubDate>Mon, 04 Sep 2023 09:24:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9604a7e8-a9fc-4b6b-b47b-e90ea98624c1</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi GaryZheng,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s good to know that things have worked now. Please feel free to close this question at your convenience.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Lighting-App NRF52840 Dongle Cannot Run</title><link>https://devzone.nordicsemi.com/thread/444207?ContentTypeID=1</link><pubDate>Mon, 04 Sep 2023 03:15:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8681367c-c7ac-463b-bb21-c731eb1a0bc7</guid><dc:creator>GaryZheng</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi&amp;nbsp;Hieu，&lt;/span&gt;&lt;br /&gt;Based on your advice, I made the necessary modifications and it is now working. Thank you very much for helping me resolve this issue!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Lighting-App NRF52840 Dongle Cannot Run</title><link>https://devzone.nordicsemi.com/thread/443939?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2023 13:47:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87d25f9b-5c60-44b3-acab-59d9c260d085</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi GaryZheng,&lt;/p&gt;
&lt;p&gt;I find that the example has an issue&amp;nbsp;on the dongle due to USB peripheral initialization. Could you please apply this change to the example and see if it works now.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;diff --git a/examples/lighting-app/nrfconnect/main/main.cpp b/examples/lighting-app/nrfconnect/main/main.cpp
index 69e83a6935..aad6ced174 100644
--- a/examples/lighting-app/nrfconnect/main/main.cpp
+++ b/examples/lighting-app/nrfconnect/main/main.cpp
@@ -40,9 +40,9 @@ static int InitUSB()
 {
     int err = usb_enable(nullptr);
-    if (err)
+    if (err != (-EALREADY))
     {
-        LOG_ERR(&amp;quot;Failed to initialize USB device&amp;quot;);
+        LOG_ERR(&amp;quot;usb_enable %d&amp;quot;, err);
         return err;
     }&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Lighting-App NRF52840 Dongle Cannot Run</title><link>https://devzone.nordicsemi.com/thread/443479?ContentTypeID=1</link><pubDate>Tue, 29 Aug 2023 03:12:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de09518a-c956-429d-af91-32fd16ded168</guid><dc:creator>GaryZheng</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi&amp;nbsp;Hieu，&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt;We prefer to use the Matter repository example. I compiled the firmware using the command &amp;#39;west build . -b nrf52840dongle_nrf52840 -DCONF_FILE=&amp;quot;./prj_no_dfu.conf&amp;quot;&amp;#39; and tested it, but I am still encountering the same problem. The firmware is unable to run.&lt;/span&gt;&lt;/p&gt;
&lt;div id="gtx-trans" style="left:-6px;position:absolute;top:22.6px;"&gt;
&lt;div class="gtx-trans-icon"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Lighting-App NRF52840 Dongle Cannot Run</title><link>https://devzone.nordicsemi.com/thread/443317?ContentTypeID=1</link><pubDate>Mon, 28 Aug 2023 09:10:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2851255d-5cb6-405e-9b50-153e92fc964d</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi GaryZheng,&lt;/p&gt;
[quote user="vthieu"]I can see that the nrf52840dongle_nrf52840 target is intended to be built with the prj_no_dfu.conf file instead of the normal prj.conf. Please try building with:&amp;nbsp;[/quote]
&lt;p&gt;It looks like I forgot to&amp;nbsp;put in the build command, but have you tried building with prj_no_dfu.conf? If you&amp;nbsp;haven&amp;#39;t yet figured out how, the command is:&amp;nbsp;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;west build . -b nrf52840dongle_nrf52840 -DCONF_FILE=&amp;quot;./prj_no_dfu.conf&amp;quot;&lt;/span&gt;&lt;/p&gt;
[quote user="GaryZheng"]Since the examples in the Matter repository are provided by your team, can you resolve this issue and enable the dongles to run?[/quote]
&lt;p&gt;Please understand that I haven&amp;#39;t said that there is an issue with the example on the connectedhomeip (CHIP) repository.&lt;/p&gt;
&lt;p&gt;In case you misunderstood, what I said is that:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.1/nrf/samples/matter.html"&gt;the samples in&amp;nbsp;the nRF Connect SDK&lt;/a&gt;&amp;nbsp;are&amp;nbsp;created for the Development Kit, and make use of the buttons and LEDs available.&lt;/p&gt;
&lt;p&gt;On the dongle, you only have access to&amp;nbsp;one button, so you cannot evaluate the samples fully. You can still make modification to the samples to get it to work. For example, instead of triggering specific tasks on a button press, trigger such tasks when the application receives a &amp;#39;1&amp;#39;, &amp;#39;2&amp;#39; or &amp;#39;3&amp;#39; over USB CDC ACM UART instead.&lt;/p&gt;
&lt;p&gt;Alternatively, you can also solder an additional circuit with a button to the dongle, and setup new the buttons in a DTS overlay file.&lt;/p&gt;
&lt;p&gt;Once again, please understand that what I have just said is regarding the samples in the nRF Connect SDK. Regarding the example in the CHIP repository, please try my suggestion above first.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Lighting-App NRF52840 Dongle Cannot Run</title><link>https://devzone.nordicsemi.com/thread/443264?ContentTypeID=1</link><pubDate>Mon, 28 Aug 2023 03:21:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5122522c-5002-4017-82c4-737a59ec05e3</guid><dc:creator>GaryZheng</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Hieu，&lt;br /&gt;&lt;br /&gt;Thank you for your reply.&lt;br /&gt;&lt;br /&gt;We need to connect a large number of Matter devices under the gateway for testing purposes. We believe that using nRF52840 Dongle as Matter devices for testing would be more convenient, especially considering that we have many dongles available. However, Development Kits are in short supply. Since the examples in the Matter repository are provided by your team, can you resolve this issue and enable the dongles to run?&lt;br /&gt;&lt;br /&gt;Thank you&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Lighting-App NRF52840 Dongle Cannot Run</title><link>https://devzone.nordicsemi.com/thread/443205?ContentTypeID=1</link><pubDate>Fri, 25 Aug 2023 15:40:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0199e8a-4e7f-458a-82bd-3b6653205a73</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi GaryZheng,&lt;/p&gt;
&lt;p&gt;I am unfamiliar with&amp;nbsp;building examples from the Matter repository and have been&amp;nbsp;having some environment issues trying to build the example.&amp;nbsp;However, from the&amp;nbsp;example setup, I can see that the nrf52840dongle_nrf52840 target is intended to be built with the prj_no_dfu.conf file instead of the normal prj.conf. Please try building with:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;By the way, are you using a nRF52840 Dongle? Please know that it is not the best tool for development.&amp;nbsp;&lt;span&gt;If you are looking into developing an application on a nRF52 SoC, I recommend&amp;nbsp;&lt;/span&gt;&lt;a href="https://www.nordicsemi.com/Products/Bluetooth-Low-Energy/Development-hardware?lang=en#infotabs"&gt;getting a Development Kit&lt;/a&gt;&lt;span&gt;&amp;nbsp;instead of the Dongle.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;We also have Matter sample projects in our nRF Connect SDK. You can find them here:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.1/nrf/samples/matter.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.1/nrf/samples/matter.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;However, they are also designed to work with the Development Kits rather than the Dongle.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Hieu&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>