<?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 to flash a Zephyr RTOS sample project to the nrf52840 dongle using J-Link Base debugger and SWD</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78869/how-to-flash-a-zephyr-rtos-sample-project-to-the-nrf52840-dongle-using-j-link-base-debugger-and-swd</link><description>Hi, 
 I&amp;#39;m a beginner at this, I&amp;#39;m a software developer so I&amp;#39;ve never worked with hardware but now I need to and I don&amp;#39;t seem to be able to make it work. 
 I would need help from top to bottom as to how can I flash a Zephyr RTOS sample project to the nrf52840</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 Aug 2021 20:13:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78869/how-to-flash-a-zephyr-rtos-sample-project-to-the-nrf52840-dongle-using-j-link-base-debugger-and-swd" /><item><title>RE: How to flash a Zephyr RTOS sample project to the nrf52840 dongle using J-Link Base debugger and SWD</title><link>https://devzone.nordicsemi.com/thread/326621?ContentTypeID=1</link><pubDate>Wed, 25 Aug 2021 20:13:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a55e6f42-36d9-45bb-86bb-10baebe53787</guid><dc:creator>SachaPerson</dc:creator><description>&lt;p&gt;I see, and does the plug of nails connector connect to all these pins ? How can I power the dongle without the J-Link disconnecting ? What is a way to do it that prevents what I&amp;#39;ve said in my fist post such as the J-Link&amp;#39;s green light turning off ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for helping Kenneth you&amp;#39;re saving me right now&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to flash a Zephyr RTOS sample project to the nrf52840 dongle using J-Link Base debugger and SWD</title><link>https://devzone.nordicsemi.com/thread/326524?ContentTypeID=1</link><pubDate>Wed, 25 Aug 2021 11:37:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27d0683f-3c1f-40ac-a303-74507c3d6d0f</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;The board you want to program or debug needs to be powered, for instance through USB or other power supply. After ensuring your board is powered the next step is to attach the j-link programmer.&lt;/p&gt;
&lt;p&gt;The j-link programmer need to connect 4 pins in total:&lt;/p&gt;
&lt;p&gt;GND, SWDIO, SWDCLK and VDD.&lt;/p&gt;
&lt;p&gt;VDD needs to be connected to the Vtarget of the j-link programmer,&amp;nbsp;VDD&amp;nbsp;is used&amp;nbsp;set SWDIO and SWDCLK to the correct voltage levels.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to flash a Zephyr RTOS sample project to the nrf52840 dongle using J-Link Base debugger and SWD</title><link>https://devzone.nordicsemi.com/thread/326428?ContentTypeID=1</link><pubDate>Tue, 24 Aug 2021 19:51:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:876c9861-dc91-4ae2-93f2-9ba0c16c7373</guid><dc:creator>SachaPerson</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for your answer.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What kind of electrical problems could it be ? I don&amp;#39;t know if the board is powered properly as I don&amp;#39;t know how to have power going through it while connected to the J-Link, is the J-Link supposed to provide power to the board ?&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t connected anything else but SWD to the board as I thought it was enough just as I saw it on a tutorial, here are some pictures:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/8400.pic1.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/4212.pic2.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Are the vdd/vtg, gnd, swdio and swdclk the things we need to connect with a breadboard and cables ?&lt;/p&gt;
&lt;p&gt;I would love to order a DK but after having spent $600 on the J-Link I&amp;#39;d like to make it work haha, also I saw on every website people recommending J-Link because it worked well with Nordic boards so I know I&amp;#39;m doing something wrong, but please help me figure it out.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to flash a Zephyr RTOS sample project to the nrf52840 dongle using J-Link Base debugger and SWD</title><link>https://devzone.nordicsemi.com/thread/326348?ContentTypeID=1</link><pubDate>Tue, 24 Aug 2021 11:30:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4172082-7fe3-428d-99f3-42481bd0cf36</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;It may seem as you have some electrical problems. Are you sure the board is powered properly, and that you have connected both vdd/vtg, gnd, swdio and swdclk from the j-link to the target board? I recommend to order yourself an nRF52840-DK, this should work out of the box.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>