<?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>JLink fails to program PCA100028</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/28197/jlink-fails-to-program-pca100028</link><description>Hi, 
 All of a sudden (isn&amp;#39;t it always the case :) the JLink debugger fails to flash the app code to the dev kit (PCA100028)
The Project&amp;#39;s softdevice is flashing well without any problem and so does sample projects so the problem is not with the hardware</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Dec 2017 10:00:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/28197/jlink-fails-to-program-pca100028" /><item><title>RE: JLink fails to program PCA100028</title><link>https://devzone.nordicsemi.com/thread/111399?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2017 10:00:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f331211a-d759-486c-baac-90c659a55afd</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Did you enable readback protection? Try to do a &lt;code&gt;nrfjprog --recover&lt;/code&gt;, and then program the SoftDevice, and then the application.&lt;/p&gt;
&lt;p&gt;Also make sure that your &amp;quot;Options for Target&amp;quot; configuration looks like this:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/attachment/ba8c222b4eafc9f1be5ccd3c436cb9f4" alt="image description" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JLink fails to program PCA100028</title><link>https://devzone.nordicsemi.com/thread/111398?ContentTypeID=1</link><pubDate>Sat, 09 Dec 2017 20:12:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dea0235a-6038-4794-9d46-ec44b9bc164d</guid><dc:creator>eyalasko</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve Followed your guidelines - &amp;#39;Erase all&amp;#39; then &amp;#39;Program soft device&amp;#39; ( nRF5_SDK_12.3.0_d7731ad/components/softdevice/s130/hex/s130_nrf51_2.0.1_softdevice.hex).&lt;/p&gt;
&lt;p&gt;Unfortunately I still get &amp;quot;Flash download failed - Cortex M0&amp;quot; error message when trying to load through keil MDK ....&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4503.7_2D00_12_2D00_09-22_5F00_09_5F00_29_2D00_whirlpool_5F00_adg_2D00_3340_2D00_ix_5F00_sm.pdf-_2D00_-Foxit-Reader.png" alt="image description" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JLink fails to program PCA100028</title><link>https://devzone.nordicsemi.com/thread/111400?ContentTypeID=1</link><pubDate>Sat, 09 Dec 2017 12:44:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86ff7cd5-f8e5-47e7-99e0-907b89c544ae</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Please download and use SDK 12.3 from &lt;a href="https://www.nordicsemi.com/eng/nordic/Products/nRF51822/nRF5-SDK-v12-zip/54280"&gt;here&lt;/a&gt; and the latest &lt;a href="https://www.nordicsemi.com/eng/nordic/Products/nRF51822/nRF5x-Command-Line-Tools-Win32/33444"&gt;nRF5x Command line tools&lt;/a&gt;. If you want a GUI to flash the SoftDevice you can also download and install &lt;a href="https://www.nordicsemi.com/eng/nordic/Products/nRF51822/nRFgo-Studio-Win32/46435"&gt;nRF Go Studio&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Use either &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.tools/dita/tools/nrf5x_command_line_tools/nrf5x_nrfjprogexe.html?cp=5_1_3"&gt;nrfjprog&lt;/a&gt;(nrfjprog -f nrf51 -e) or nRFGo Studio to do a chip erase. Then flash the chip with the S130 v.2.0.1 SoftDevice. This SoftDevice can be found in the folder &lt;code&gt;SDK12_3_folder\components\softdevice\s130\hex&lt;/code&gt;. Then use Keil to flash the example application. The example application will be placed at top of the SoftDevice in flash.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JLink fails to program PCA100028</title><link>https://devzone.nordicsemi.com/thread/111397?ContentTypeID=1</link><pubDate>Fri, 08 Dec 2017 10:01:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07cbd154-be89-4c32-a29d-acca133b2efe</guid><dc:creator>eyalasko</dc:creator><description>&lt;p&gt;Hi Sigurd, thanks for your prompt reply.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve followed your instruction. however now I get another error message...&lt;/p&gt;
&lt;p&gt;What should be the next step ?&lt;/p&gt;
&lt;p&gt;Thanks again.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2017_2D00_12_2D00_08-11_5F00_56_5F00_22_2D00_Settings.png" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2017_2D00_12_2D00_08-11_5F00_54_5F00_05_2D00_Movies-_2600_-TV.png" alt="image description" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JLink fails to program PCA100028</title><link>https://devzone.nordicsemi.com/thread/111396?ContentTypeID=1</link><pubDate>Fri, 08 Dec 2017 09:29:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a17bf19-f47e-46d3-9433-d68cb9141f2b</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Looks like you have configured Keil to use JTAG instead of SWD. Make sure that you have &amp;quot;SW&amp;quot; under PORT in the Jlink driver setup:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2425.SWD.PNG" alt="image description" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>