<?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>Programming nRF51 bootloader with nrfjprog.exe 7.5.1</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7854/programming-nrf51-bootloader-with-nrfjprog-exe-7-5-1</link><description>Hi 
 I&amp;#39;ve installed the new tools in version 7.5.1 to support the new nRF52 family. While working on the nRF51 again i found out, that the old parameters i used for programming my bootloader are not working anymore.
Old call: nrfjprog.exe --reset -</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 29 Jun 2015 10:42:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7854/programming-nrf51-bootloader-with-nrfjprog-exe-7-5-1" /><item><title>RE: Programming nRF51 bootloader with nrfjprog.exe 7.5.1</title><link>https://devzone.nordicsemi.com/thread/27989?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2015 10:42:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da5a6ae2-ec76-4607-be1f-97fe85996e7b</guid><dc:creator>Adrian Eggenberger</dc:creator><description>&lt;p&gt;I just checked and found out that we were not using the latest version... We use nrfjprog Version: 5.1.1.43514.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF51 bootloader with nrfjprog.exe 7.5.1</title><link>https://devzone.nordicsemi.com/thread/27990?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2015 10:34:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24fb5a22-45f4-4437-ba07-403919b36bfe</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi Adrian, can you give us the older version number of nrfjprog  that you were using before 7.5.1&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF51 bootloader with nrfjprog.exe 7.5.1</title><link>https://devzone.nordicsemi.com/thread/27999?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2015 09:32:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:623c2714-d033-4148-8dd5-38f70f56f1a8</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Talked to the developer, We will try to find some solution without compromising the integrity of write operation. Please keep an eye on the new release of this tool. Ill update this thread if we have any new information.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF51 bootloader with nrfjprog.exe 7.5.1</title><link>https://devzone.nordicsemi.com/thread/27998?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2015 08:15:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc04a04d-a675-4cea-a7aa-9f2dc7dc8a85</guid><dc:creator>Adrian Eggenberger</dc:creator><description>&lt;p&gt;I&amp;#39;m looking forward to there statement. Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF51 bootloader with nrfjprog.exe 7.5.1</title><link>https://devzone.nordicsemi.com/thread/27997?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2015 07:55:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a87e5aac-ec99-4fb1-a43a-2c2373620693</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I agree, I will request the developer of nrfjprog to answer your question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF51 bootloader with nrfjprog.exe 7.5.1</title><link>https://devzone.nordicsemi.com/thread/27996?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2015 07:48:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d09de7a-5f73-49b4-b282-6109a8a181d2</guid><dc:creator>Adrian Eggenberger</dc:creator><description>&lt;p&gt;That would make development of bootloader parts a lot harder, because before programming a new bootloader the chip has to be erased (all data and application gone). In my opinion this would be a step backwards.
In general i agree that the nrfjprog should check if area to be programmed is clean, but for the UICR it brings a lot of negativ consequences.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF51 bootloader with nrfjprog.exe 7.5.1</title><link>https://devzone.nordicsemi.com/thread/27995?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2015 07:42:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f069d6b6-7324-407a-a11c-44dae5120b8b</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;No, I think the newer tools will always check that the memory they are writing to is erased (clean) before writing, this is diverging from old versions behavior.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF51 bootloader with nrfjprog.exe 7.5.1</title><link>https://devzone.nordicsemi.com/thread/27994?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2015 07:40:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e446b35c-0154-4e3c-bbf7-99300e652ad6</guid><dc:creator>Adrian Eggenberger</dc:creator><description>&lt;p&gt;Oh i didn&amp;#39;t see that either. Will there be a corrected version of the nRF tools that can work the same way as the old version did?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF51 bootloader with nrfjprog.exe 7.5.1</title><link>https://devzone.nordicsemi.com/thread/27993?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2015 07:31:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c3bee2e-87ed-4891-9dd8-c41d8397e06a</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi Adrian,
I am sorry, I have forgotten that --eraseuicr option on nRF51 chips is only available if the chip  is pre factory programmed. In your case it is not so --eraseuicr will not work. I have edited my answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF51 bootloader with nrfjprog.exe 7.5.1</title><link>https://devzone.nordicsemi.com/thread/27992?ContentTypeID=1</link><pubDate>Fri, 26 Jun 2015 09:45:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca096de5-7d83-4722-bf68-2e37562b6a4d</guid><dc:creator>Adrian Eggenberger</dc:creator><description>&lt;p&gt;Thank you Aryan. I&amp;#39;ll use the old version for nRF51 until an update is released.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF51 bootloader with nrfjprog.exe 7.5.1</title><link>https://devzone.nordicsemi.com/thread/27991?ContentTypeID=1</link><pubDate>Fri, 26 Jun 2015 08:41:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0098f029-40d5-4b97-8655-ab8e91394867</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;normally this should work&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrfjprog.exe --eraseuicr
nrfjprog.exe --erasepage 0X3C000-0X40000
nrfjprog.exe --reset --program &amp;quot;bootloader.HEX&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;But i have problem with --eraseuicr not working for pca100028 with
nrfjprog version: 7.5.1
JLinkARM.dll version: 4.98c&lt;/p&gt;
&lt;h2&gt;EDIT:&lt;/h2&gt;
&lt;p&gt;--eraseuicr is not available on nRF51 chips if it is not pre programmed with software at the production time.
So you probably have to erase full chip if you want to write your bootloader file.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrfjprog.exe --eraseall
nrfjprog.exe --reset --program &amp;quot;bootloader.HEX&amp;quot;
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>