<?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 NRF52DK under ubuntu</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21551/how-to-flash-nrf52dk-under-ubuntu</link><description>Hi,
I am using NRF52 DK board. I use nrfjprog under windows to flash controller. But i want to flash under ubuntu. I searched but i found one .rar file.i extracted but there were not executable to run.
some please guide me flash dk board.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Apr 2017 09:17:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21551/how-to-flash-nrf52dk-under-ubuntu" /><item><title>RE: how to flash NRF52DK under ubuntu</title><link>https://devzone.nordicsemi.com/thread/84612?ContentTypeID=1</link><pubDate>Mon, 24 Apr 2017 09:17:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfc6e8e7-639e-45ad-8b47-d89668b120c9</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;em&gt;nrfjprog&lt;/em&gt; is also support on Linux/Ubuntu.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Download the latest version of &lt;em&gt;nRF5x Command-line tools&lt;/em&gt; for your system: &lt;a href="https://www.nordicsemi.com/eng/nordic/Products/nRF52840/nRF5x-Command-Line-Tools-Linux32/58857"&gt;32-bit&lt;/a&gt; - &lt;a href="https://www.nordicsemi.com/eng/nordic/Products/nRF52840/nRF5x-Command-Line-Tools-Linux64/58852"&gt;64-bit&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Extract the downloaded file to a desired location&lt;/li&gt;
&lt;li&gt;You can now run nrfjprog for the extracted directory.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;To run from any directory:&lt;/p&gt;
&lt;ol start="4"&gt;
&lt;li&gt;Add the path to the executables to PATH: &lt;code&gt;export PATH=&amp;quot;/path/to/nrfjprog:$PATH&amp;quot;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Run &lt;em&gt;nrfjprog&lt;/em&gt; from terminal, just like on Windows&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to flash NRF52DK under ubuntu</title><link>https://devzone.nordicsemi.com/thread/84611?ContentTypeID=1</link><pubDate>Sat, 22 Apr 2017 18:33:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f35a1629-e2c8-4fe4-ae4c-e7fdd090fe33</guid><dc:creator>phob</dc:creator><description>&lt;p&gt;Thanks, pynrfjprog working now. But i think openocd post is much old. i got following error.
[code]
agg@ubuntu:~$ cd stlink.git/
agg@ubuntu:~/stlink.git$ ./autogen.sh
bash: ./autogen.sh: No such file or directory
agg@ubuntu:~/stlink.git$ ./configure
bash: ./configure: No such file or directory
agg@ubuntu:~/stlink.git$ make
/bin/sh: 1: cmake: not found
make: *** [build/Release] Error 127
agg@ubuntu:~/stlink.git$
[\code]&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to flash NRF52DK under ubuntu</title><link>https://devzone.nordicsemi.com/thread/84610?ContentTypeID=1</link><pubDate>Sat, 22 Apr 2017 15:26:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8ba20bc-dc4c-4de6-a35c-1ce8bea01fca</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;But from what I read &lt;a href="http://openocd.org/"&gt;here&lt;/a&gt; it should work with SEGGER J-Link as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to flash NRF52DK under ubuntu</title><link>https://devzone.nordicsemi.com/thread/84609?ContentTypeID=1</link><pubDate>Sat, 22 Apr 2017 15:24:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f036f008-fcc5-46bc-8f3a-fe3c233d321d</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Try pynrfjprog (some tutorial e.g. &lt;a href="https://devzone.nordicsemi.com/blogs/840/nrfjprog-pynrfjprog-intro-mac-os-x-linux-now-suppo/"&gt;here&lt;/a&gt;) or OpenOCD (but I&amp;#39;ve found only &lt;a href="https://pcbreflux.blogspot.cz/2016/09/nrf52832-first-steps-with-st-link-v2.html"&gt;this tutorial with ST-Link&lt;/a&gt; not SEGGER J-Link on nRF52 DK board).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>