<?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>NRF52840 Dongle</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119101/nrf52840-dongle</link><description>Hi, how can i build and flash the Thread CLI sample code to my dongle? doesnt seems to work the .hex file? any links or steps tutorial i can follow closely please. i am setting up my rpi as my thread border router. I am able to flash the sample code of</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 Feb 2025 13:59:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119101/nrf52840-dongle" /><item><title>RE: NRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/524630?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2025 13:59:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26cbc56b-3203-4b3c-a4af-1b6501de97ba</guid><dc:creator>jonathanljc</dc:creator><description>&lt;p&gt;oh i think i manage to solve it! so sorry i didnt choose the board target as dongle thus it didnt generate a zephyr.hex file instead. Thank u Edvin.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/524619?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2025 13:45:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8282c95d-21d2-4b60-a9a5-5102156331d0</guid><dc:creator>jonathanljc</dc:creator><description>&lt;p&gt;im not sure i am doing it correctly, i manage to build the sample openthread cli it generate a merged.hex (im not sure is the correct .hex file) then i try flashing into the dongle it shows the error as seen in the 1st picture log. for the base configuration setting i uses the prj.conf located at file&amp;nbsp;&lt;strong&gt;C:\ncs\v2.9.0\nrf\samples\openthread\cli.&lt;/strong&gt;&amp;nbsp;Not sure which part when wrong?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;And u mention zephyr.hex? i dont get this part as the sample cli code is from openthread CLI as per from the NRF Connect SDK sample code though.&amp;nbsp;&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/pastedimage1740490850170v2.png" alt=" " /&gt;&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/pastedimage1740490880986v3.png" alt=" " /&gt;&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/pastedimage1740491128980v5.png" alt=" " /&gt;&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/pastedimage1740490981525v4.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/524603?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2025 13:20:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:596dbf36-85fe-4372-bbd4-9c2753c8300c</guid><dc:creator>Edvin</dc:creator><description>[quote user="jonathanljc"]how can i build the cli sample code and generate a .hex file so i can flash into my dongle.[/quote]
&lt;p&gt;Ok, so the issue is not related to flashing, but to building, then.&lt;/p&gt;
&lt;p&gt;You need to build for the correct board:&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/pastedimage1740489379292v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Then it will generate the .hex file found in: build\cli\zephyr\zephyr.hex. Use this to program the dongle using nRF Connect for Desktop -&amp;gt; Programmer.&lt;/p&gt;
&lt;p&gt;When you insert the dongle, you need to put it in DFU mode. To do this, press the reset button while it is powered (not the big white button, but the gray one next to it). Then it should start blinking red, and it is ready to be programmed.&amp;nbsp;&lt;/p&gt;
[quote user="jonathanljc"]Additionally, i downloaded anotherthread cli zephyr[/quote]
&lt;p&gt;Not sure what you mean by this, or what your COM14 - PuTTy is supposed to show. Did you get it working, or is that some 3rd party application?&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: NRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/524558?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2025 10:37:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4674efe-8b97-4a8d-a3d2-2117b09df36e</guid><dc:creator>jonathanljc</dc:creator><description>&lt;p&gt;Hi Edvin, as i have no idea how can i build the cli sample code and generate a .hex file so i can flash into my dongle.&lt;br /&gt;&lt;br /&gt;the documentation shown is using the nrf52840 board but i am using the dongle instead so the setup is different.&lt;br /&gt;&lt;br /&gt;Additionally, i downloaded anotherthread cli zephyr&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1740479718057v2.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&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/pastedimage1740479808007v3.png" alt=" " /&gt;&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/pastedimage1740479836975v4.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;but doesnt work though. Anyways steps to mitigate it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/524533?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2025 09:40:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38909b11-bbd2-404a-9c0c-6f2064f52004</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;When you say that you are not able to flash it, what does that mean exactly?&lt;/p&gt;
&lt;p&gt;Are you able to flash it, but it doesn&amp;#39;t behave as expected? Or are you not able to program the device? If so, what happens? Do you have some sort of logs or screenshots?&lt;/p&gt;
&lt;p&gt;BR,&lt;br /&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/524465?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2025 02:11:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:300e250b-bd9b-4a93-8640-16a8af49dc0f</guid><dc:creator>jonathanljc</dc:creator><description>&lt;p&gt;Hi Edvin thank you for your reply. I am able to flash the co-processor sample to the dongle but not the CLI sample to my another dongle. I have two in total, one which already flashed with the &amp;quot;Coprocessor&amp;quot; the other one i intended to flash the CLI sample to it but to no avail, it doesnt work.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/523872?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2025 11:18:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed5f8d32-82d5-43ec-9460-bf33460b8d67</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;If you want to use the dongle as the radio device for a Raspberry Pi acting as a Thread Border Router, then I assume you want to build the &amp;quot;coprocessor&amp;quot; sample, not the &amp;quot;cli&amp;quot; sample.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;However, it will still give you a .hex file, and you can&amp;#39;t flash it directly in VS Code. What you want to do is to use the &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Connect-for-Desktop"&gt;nRF Connect for Desktop&lt;/a&gt; applicatio, install it&amp;#39;s &amp;quot;programmer&amp;quot; app, and use that to program the .hex file that was built. (build\merged.hex)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Let me know if you are stuck in any of these steps.&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>