<?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>nRF52 DK flashing with jlink in ubuntu</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12719/nrf52-dk-flashing-with-jlink-in-ubuntu</link><description>Hi. 
 Trying to set up the Ubuntu development environment for you nRF52 development kit. 
 I followed this tutorial:
 devzone.nordicsemi.com/.../ 
 Stuff done so far: 
 
 Installed latest gcc-arm-none-eab tools under /usr/local/ 
 installed 32</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 23 Mar 2016 13:51:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12719/nrf52-dk-flashing-with-jlink-in-ubuntu" /><item><title>RE: nRF52 DK flashing with jlink in ubuntu</title><link>https://devzone.nordicsemi.com/thread/48303?ContentTypeID=1</link><pubDate>Wed, 23 Mar 2016 13:51:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5980798-d0d4-4196-91c2-b598c321337a</guid><dc:creator>Matts</dc:creator><description>&lt;p&gt;Thanks, that did it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 DK flashing with jlink in ubuntu</title><link>https://devzone.nordicsemi.com/thread/48302?ContentTypeID=1</link><pubDate>Wed, 23 Mar 2016 13:38:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6738d626-576b-4a69-af52-e8e74eeaf7e2</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Try to erase the flash first: &lt;code&gt;nrfjprog -e&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Then program the application (and SoftDevice if used). If application and SoftDevice are not compatible, or if memory settings for the application is wrong, then there might be an overlap in memory for where to put SoftDevice and application and you will still get that error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 DK flashing with jlink in ubuntu</title><link>https://devzone.nordicsemi.com/thread/48301?ContentTypeID=1</link><pubDate>Wed, 23 Mar 2016 09:45:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a71f37b-2b00-4b0e-bfcf-affba02a3e4a</guid><dc:creator>Matts</dc:creator><description>&lt;p&gt;Ok, the sudo JLinkExe -device nrf52 -if swd -speed 4000 updated the firmware:&lt;/p&gt;
&lt;p&gt;SEGGER J-Link Commander V5.10u (Compiled Mar 17 2016 19:06:22)
DLL version V5.10u, compiled Mar 17 2016 19:06:19&lt;/p&gt;
&lt;p&gt;Connecting to J-Link via USB...Updating firmware:  J-Link OB-SAM3U128-V2-NordicSemi compiled Mar 15 2016 18:03:17
Replacing firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Jan 21 2016 17:58:20
Waiting for new firmware to boot
New firmware booted successfully
O.K.
Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Mar 15 2016 18:03:17
Hardware version: V1.00
S/N: 682343799
VTref = 3.300V&lt;/p&gt;
&lt;p&gt;After that I tried flashing the blinky, but now I get another error:&lt;/p&gt;
&lt;p&gt;sudo nrfjprog --family nRF52 --program _build/nrf52832_xxaa.hex
Parsing hex file.
Reading flash area to program to guarantee it is erased.
ERROR: The area to write is not erased.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 DK flashing with jlink in ubuntu</title><link>https://devzone.nordicsemi.com/thread/48299?ContentTypeID=1</link><pubDate>Tue, 22 Mar 2016 16:04:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f4a8018-1f20-401e-9712-0082361f0271</guid><dc:creator>Justin</dc:creator><description>&lt;p&gt;Why not just use the JLINK DEB file from Segger?  My guess is you have a permission issue.  To test that try  &lt;code&gt;sudo JLinkExe -device nrf52 -if swd -speed 4000&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 DK flashing with jlink in ubuntu</title><link>https://devzone.nordicsemi.com/thread/48300?ContentTypeID=1</link><pubDate>Tue, 22 Mar 2016 15:15:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0abc8e3e-23ab-4fe8-ad45-41f0bb804c99</guid><dc:creator>Brook Gebremedhin</dc:creator><description>&lt;p&gt;Try this command
JLinkExe -device nrf51822_xxaa -if swd -speed 4000&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>