<?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>Flashing softdevice with the latest nrfjprog</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10134/flashing-softdevice-with-the-latest-nrfjprog</link><description>I haven&amp;#39;t updated my copies of the nRF tools, or mBed&amp;#39;s nRF51 code for some time. I just did and now it seems my old method of flashing no longer works. I was doing something like: 
 nrfjprog --erase-all --programs s130_..._.hex --program my_firmware</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Nov 2015 10:24:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10134/flashing-softdevice-with-the-latest-nrfjprog" /><item><title>RE: Flashing softdevice with the latest nrfjprog</title><link>https://devzone.nordicsemi.com/thread/37590?ContentTypeID=1</link><pubDate>Mon, 09 Nov 2015 10:24:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cba390ef-5d6b-4e1b-b4bf-c0a8a5012d88</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;In general, you can program the device using nrfjprog version 7.6.0 in the following way.&lt;/p&gt;
&lt;p&gt;Erase all, program SoftDevice and verify:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrfjprog.exe --family NRF51 --program s130_softdevice.hex --chiperase --verify
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Program application and verify (use &lt;code&gt;--sectorerase&lt;/code&gt; in addition to erase old application before programming):&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrfjprog.exe --family NRF51 --program nrf51422_xxac_s130.hex --verify
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Apply reset in order to start the application.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrfjprog.exe --family NRF51 --reset
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You only need the  &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v9.0.0/examples_ble_dfu.html?cp=4_1_0_4_3"&gt;Bootloader&lt;/a&gt; if you use DFU.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>