<?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>How program and debug nrf52832?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39241/how-program-and-debug-nrf52832</link><description>Hi, 
 I&amp;#39;m on Linux (openSuse Leap15 and Debian) and got so far that I can program nRF52832 and debug with breakpoints and local variable display with this USB breakout &amp;quot;BLE Nano v2 from RedBearLab&amp;quot;: 
 https://www.sparkfun.com/products/retired/14154 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Oct 2018 11:29:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39241/how-program-and-debug-nrf52832" /><item><title>RE: How program and debug nrf52832?</title><link>https://devzone.nordicsemi.com/thread/152197?ContentTypeID=1</link><pubDate>Tue, 09 Oct 2018 11:29:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad19221a-10b0-4c78-b021-6e155a7a76e3</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;I agree with&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/awneil"&gt;awneil&lt;/a&gt;. I would get a J-Link. The 52840 dongle only has uart logging &amp;amp; no RTT logging (since it does not have a segger j-link).&lt;/p&gt;
[quote user=""]Can I do the same (program, deploy, debug with breakpoints and have a serial console) with a plain nrf52840 dongle?[/quote]
&lt;p&gt;No, but what you could do is buy a 52832 or 52840 dev kit, solder on a SWD connector (same one as used on the dev kits debug in &amp;amp; out ports) &amp;amp; connect the dev kit to the 52840 dongle via an SWD cable. That way, you would have full debugging support. I have tried this myself &amp;amp; it works very well. &lt;/p&gt;
&lt;p&gt;You can program the dongle either via DFU on the nRF Connect for Desktop Programmer application or via the dev kit debug out port. I would recommend trying the DFU solution first, as it is simpler &amp;amp; works out of the box. Multiple customers have tried programming via a dev kit &amp;amp; run into issues when trying to use nrf connect again (they erased the pre-programmed bootloader on the dongle). However, if you do things correctly, it&lt;/p&gt;
&lt;p&gt;I would also recommend taking a look at Segger Embedded Studio. It is &lt;a href="https://www.segger.com/news/segger-embedded-studio-ide-now-free-for-nordic-sdk-users/"&gt;free to use for Nordic products&lt;/a&gt;, if you decide to buy a 52 DK for example. Hope that helps!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How program and debug nrf52832?</title><link>https://devzone.nordicsemi.com/thread/152078?ContentTypeID=1</link><pubDate>Mon, 08 Oct 2018 13:42:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92791cdc-3d97-4ff1-89a7-f3b5634cfed6</guid><dc:creator>awneil</dc:creator><description>[quote userid="74412" url="~/f/nordic-q-a/39241/how-program-and-debug-nrf52832"]the Nano v2 USB break out board is not available any more[/quote]
&lt;p&gt;In fact, it seems that Red Bear itself is no more:&amp;nbsp;&lt;a href="https://redbear.cc/"&gt;https://redbear.cc/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The above is undated, but&amp;nbsp;&lt;a href="https://twitter.com/redbear/status/978629341780127744"&gt;https://twitter.com/redbear/status/978629341780127744&lt;/a&gt;&amp;nbsp;suggests it happened early this year.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;That explains why I couldn&amp;#39;t get hold of RedBear stuff earlier this year ... !&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How program and debug nrf52832?</title><link>https://devzone.nordicsemi.com/thread/152076?ContentTypeID=1</link><pubDate>Mon, 08 Oct 2018 13:38:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f115ad78-415c-4507-8dca-5e3afa674d1d</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;If you have the cash, buy a J-Link.&lt;/p&gt;
&lt;p&gt;The Nordic dev kits have an on-board JLink which can be used to program &amp;amp; debug external targets.&lt;/p&gt;
&lt;p&gt;AIUI, The &amp;quot;DAPLink&amp;quot; in the Red Bear kit is CMSIS DAP - so any other CMSIS DAP unit should do?&lt;/p&gt;
&lt;p&gt;Various people have reported here success using ST-Link - search the forum&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;EDIT&lt;/p&gt;
&lt;p&gt;It appears that&amp;nbsp; the RedBear DAPLink firmware (not source) is available for download:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/RedBearLab/BLENano/tree/master/USB-IF"&gt;github.com/.../USB-IF&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>