<?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>nRF Connect VS Code flash nrf52840 Dongle</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93381/nrf-connect-vs-code-flash-nrf52840-dongle</link><description>Hi, 
 
 I am new to nRF Connect and the nrf52840 Dongle and I am a little confused on how to get started. 
 I followed the getting started a bit, but somehow I suspect this is a little out-of-date as it lists the nRF5 SDK and the SEGGER Embedded Studio</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 31 Oct 2022 09:18:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93381/nrf-connect-vs-code-flash-nrf52840-dongle" /><item><title>RE: nRF Connect VS Code flash nrf52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/393171?ContentTypeID=1</link><pubDate>Mon, 31 Oct 2022 09:18:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04adf17b-ade3-4127-99df-a7211e540066</guid><dc:creator>Einar Thorsrud</dc:creator><description>[quote user="teeuu"]So did I miss this in the documentation? Is there a note somewhere which says that all this JLink stuff is not needed?[/quote]
&lt;p&gt;I don&amp;#39;t think it is mentioned anywhere as it is generally needed, as for any real development you want a debugger, and J-Link is the debugger family we support. It is just that the dongle is not a development board, and does not have an onboard debugger.&lt;/p&gt;
[quote user="teeuu"]&lt;p&gt;And is there some documentation which specifies that the nRF Connect Programmer should be used? (I only saw &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=/ug_nrf52840_dongle/UG/nrf52840_Dongle/getting_started.html"&gt;point 5&lt;/a&gt; as optional.)&lt;/p&gt;
&lt;p&gt;I would think that integrating the nRF Connect Programmer functionality into VS Code should be possible, that might be helpful...&lt;/p&gt;[/quote]
&lt;p&gt;You are right, that is a good feedback. But again, you will never get a full experience without a debugger so this probably a&amp;nbsp;niche.&lt;/p&gt;
[quote user="teeuu"]And is VS Code recommended for the Dongle, seeing that it lacks support for it, or does it make more sense to just use the command line tools?[/quote]
&lt;p&gt;That is up to you. It is not so that VS Code lack support for the dongle, it is just that the dongle does not have a debugger, and that limits what you can do with it. For coding and building, VS Code works well also for the dongle.&lt;/p&gt;
[quote user="teeuu"]What about the second example for the Dongle? Any idea what this could be?[/quote]
&lt;p&gt;This refers to the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/basic/blinky/README.html"&gt;zephyr&amp;nbsp;blinky sample&lt;/a&gt;. Note that most samples that do not require more buttons can work on the dongle.&lt;/p&gt;
[quote user="teeuu"]And from &lt;a href="https://www.nordicsemi.com/Products/Development-hardware/nrf52840-dongle"&gt;nRF52840 Dongle &lt;/a&gt;site: &amp;quot;It is supported by most of the nRF Connect for Desktop apps and will automatically be programmed if needed.&amp;quot; I wonder what all those apps are supposed to be?[/quote]
&lt;p&gt;See the list of nRF Connect for desktop apps &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-connect-for-desktop"&gt;here&lt;/a&gt;.&lt;/p&gt;
[quote user="teeuu"]And is the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=/ug_nrf52840_dongle/UG/nrf52840_Dongle/getting_started.html"&gt;infocenter&lt;/a&gt; page outdated? Or are the points 3 and 4 still a valid option?[/quote]
&lt;p&gt;Step 3-5 are only relevant when working with the older nRF5 SDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect VS Code flash nrf52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/393160?ContentTypeID=1</link><pubDate>Mon, 31 Oct 2022 08:36:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:495a97da-ae26-414a-bd61-8fe7f5a6547c</guid><dc:creator>teeuu</dc:creator><description>&lt;p&gt;Thanks for the answer!&lt;/p&gt;
&lt;p&gt;And thanks for clarifying the lack of support for the Dongle in VS Code.&lt;/p&gt;
&lt;p&gt;So did I miss this in the documentation? Is there a note somewhere which says that all this JLink stuff is not needed?&lt;/p&gt;
&lt;p&gt;And is there some documentation which specifies that the nRF Connect Programmer should be used? (I only saw &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=/ug_nrf52840_dongle/UG/nrf52840_Dongle/getting_started.html"&gt;point 5&lt;/a&gt; as optional.)&lt;/p&gt;
&lt;p&gt;I would think that integrating the nRF Connect Programmer functionality into VS Code should be possible, that might be helpful...&lt;/p&gt;
&lt;p&gt;And is VS Code recommended for the Dongle, seeing that it lacks support for it, or does it make more sense to just use the command line tools?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What about the second example for the Dongle? Any idea what this could be?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And from &lt;a href="https://www.nordicsemi.com/Products/Development-hardware/nrf52840-dongle"&gt;nRF52840 Dongle &lt;/a&gt;site: &amp;quot;It is supported by most of the nRF Connect for Desktop apps and will automatically be programmed if needed.&amp;quot; I wonder what all those apps are supposed to be?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And is the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=/ug_nrf52840_dongle/UG/nrf52840_Dongle/getting_started.html"&gt;infocenter&lt;/a&gt; page outdated? Or are the points 3 and 4 still a valid option?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect VS Code flash nrf52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/393150?ContentTypeID=1</link><pubDate>Mon, 31 Oct 2022 07:46:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b11a655c-48c1-4d6b-badd-8d765a871fff</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The dongle does not have an onboard debugger, so the J-Link drivers and tools are not needed. Moreover, this means that you cannot debug it, nor program it from VS Code. The only way to program it (unless you use an external debugger) is to program via USB DFU. The simplest way to do this is using &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nc_programmer/UG/nrf_connect_programmer/ncp_introduction.html"&gt;nRF Connect Programmer&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;PS: The lack of debugger makes the dongle less than ideal for development, so if you intend to use it as a development platform I would recommend obtaining a DK instead (the dongle is still good for use with for instance &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-connect-for-desktop"&gt;nRF Connect&amp;nbsp;Bluetooth&lt;/a&gt; or &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-sniffer-for-bluetooth-le"&gt;nRF Sniffer&lt;/a&gt;).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>