<?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>Unable to program the NRF51422 using J-link</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22395/unable-to-program-the-nrf51422-using-j-link</link><description>Hi
The j-link detects the chip, but for not obvious reason the j-link and keil will trough an error when I want to program the chip, here is the j-link out put. do you have any idea? 
 
 Load
&amp;quot;C:\Users\ASiDesigner\Desktop\Test\SmartLamp\MCU\Smart</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 30 May 2017 07:41:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22395/unable-to-program-the-nrf51422-using-j-link" /><item><title>RE: Unable to program the NRF51422 using J-link</title><link>https://devzone.nordicsemi.com/thread/88082?ContentTypeID=1</link><pubDate>Tue, 30 May 2017 07:41:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bac110f0-f697-47c8-8883-6ea8751ca491</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The Keil flashing-algorithm has a check that stops it from overwriting an existing SoftDevice with the application firmware. This is a safety mechanism put in place that prevents the application firmware to be flashed to the flash-region where the SoftDevice is located.&lt;/p&gt;
&lt;p&gt;The “peripheral” examples in the SDK usually doesn’t use the SoftDevice, and is by default placed in the same flash-region where the SoftDevice is located (at the start of the flash). If you in this case have already flashed the SoftDevice, you will either need to move the application above the SoftDevice region, or erase the SoftDevice with nrfjprog using the eraseall command.&lt;/p&gt;
&lt;p&gt;Note that you can use Keils integrated command line functionality with nrfjprog. See &lt;a href="https://devzone.nordicsemi.com/blogs/856/keil-nrfjprog-true/"&gt;this blog post&lt;/a&gt; for more information about that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to program the NRF51422 using J-link</title><link>https://devzone.nordicsemi.com/thread/88081?ContentTypeID=1</link><pubDate>Tue, 30 May 2017 05:07:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c57e396-cba4-448a-a176-86d5d2c6dbfa</guid><dc:creator>myjtag</dc:creator><description>&lt;p&gt;the problem was solved, there was a soft device programmed on the device, but why not supply the j-link ini setup file integrated into keils project so the keil could erase the chip too!!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to program the NRF51422 using J-link</title><link>https://devzone.nordicsemi.com/thread/88080?ContentTypeID=1</link><pubDate>Mon, 29 May 2017 06:54:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bff5b21-fa60-4bd7-9ee2-9bf3d1886a91</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;What example in the SDK is this? Is the example using the SoftDevice? How does your IRAM/IROM settings look like?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>