<?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>VS Code / hex.file</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115832/vs-code-hex-file</link><description>Hello ! 
 So i have this issue. I use nrf52840 Dongle, from some article long time ago i saw that i cant connect dongle to VS Code because it does not support bootloader, is it fix or still not ?. Article continues that i need to use Connect to Desktop</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 Oct 2024 10:02:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115832/vs-code-hex-file" /><item><title>RE: VS Code / hex.file</title><link>https://devzone.nordicsemi.com/thread/508107?ContentTypeID=1</link><pubDate>Mon, 28 Oct 2024 10:02:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb36c7a9-d940-4638-b16e-b647d0bc2a37</guid><dc:creator>SwRa</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The nRF52840 dongle does not have a debugger on it, so in order for it to be detected in VS Code/to program it, you will need to use the Debug Out port of any of the DK&amp;#39;s or an external debugger (like JLink).. Say you are using an nRF5840-DK, you can just connect the Debug Out port of the DK to the dongle using a 10-pin connector as stated here:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ug_nrf52840_dk/page/UG/dk/hw_debug_out.html"&gt;https://docs.nordicsemi.com/bundle/ug_nrf52840_dk/page/UG/dk/hw_debug_out.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can also take a look at the documentation for the dongle:&lt;a href="https://docs.nordicsemi.com/bundle/ug_nrf52840_dongle/page/UG/nrf52840_Dongle/programming.html"&gt;https://docs.nordicsemi.com/bundle/ug_nrf52840_dongle/page/UG/nrf52840_Dongle/programming.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, VS Code do havF2840 dongle in the target lists:&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/0878.pastedimage1730109538119v1.png" alt=" " /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You could also use the command prompt in the SDK to build and flash (using west commands), or use the programmer to flash the hex file.&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/pastedimage1730109911935v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Swathy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>