<?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>flash programming issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37220/flash-programming-issue</link><description>Hello, 
 
 I&amp;#39;m preparing production. 
 My development environments are : 
 - SDK : V12.3.0, IDE : miniJLink, Softdevice : s130_nrf51_2.0.1_softdevice.hex 
 - OS : Windows 
 
 I&amp;#39;m programming SD / application / boot seperately using nRFgo Studio now. </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Aug 2018 13:35:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37220/flash-programming-issue" /><item><title>RE: flash programming issue</title><link>https://devzone.nordicsemi.com/thread/143382?ContentTypeID=1</link><pubDate>Wed, 08 Aug 2018 13:35:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfa73c47-634a-4fa9-9866-ca1eb5ad41df</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;You need to do an erase all (-e) before writing to UICR (-rbo ALL), it think that&amp;#39;s the problem.&lt;br /&gt;&lt;br /&gt;Du you have a log?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flash programming issue</title><link>https://devzone.nordicsemi.com/thread/143288?ContentTypeID=1</link><pubDate>Wed, 08 Aug 2018 04:47:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:759ac2c9-732c-43a4-a054-ed46da76349b</guid><dc:creator>air</dc:creator><description>&lt;p&gt;The error message is display in --verify --program procedure.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;ERROR: The area to write is not erased.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flash programming issue</title><link>https://devzone.nordicsemi.com/thread/143286?ContentTypeID=1</link><pubDate>Wed, 08 Aug 2018 04:39:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b645f8e-5100-4a6d-a75a-cbf11d5dc883</guid><dc:creator>air</dc:creator><description>&lt;p&gt;I found it.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;1. I merged all.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; -&amp;nbsp;mergehex -m s130_nrf51_2.0.1_softdevice.hex outer_v1.5.20_20180730_1410.hex boot_set_v1.5.20_20180730_1410.hex -o all.hex&lt;/p&gt;
&lt;p&gt;2. program/verify and read-back protection&lt;/p&gt;
&lt;p&gt;nrfjprog -f nrf51 -e&lt;br /&gt;nrfjprog -f nrf51 --verify --program all.hex&lt;br /&gt;nrfjprog -f nrf51 --rbp ALL&lt;br /&gt;nrfjprog -f nrf51 -r&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;3. It fails sometimes.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know why.&lt;/p&gt;
&lt;p&gt;Would you let me know more why?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flash programming issue</title><link>https://devzone.nordicsemi.com/thread/143183?ContentTypeID=1</link><pubDate>Tue, 07 Aug 2018 10:11:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e096933-1eaa-4d40-b1bf-2e7bbfbd6470</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;See&amp;nbsp;&lt;a title="Merging files with mergehex" href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.tools/dita/tools/nrf5x_command_line_tools/nrf5x_mergehex.html?cp=5_1_2"&gt;Merging files with mergehex&lt;/a&gt;, and&amp;nbsp;&lt;a title="nrfjprog DLL" href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.tools/dita/tools/nrf5x_command_line_tools/nrf5x_nrfjprogdll.html?cp=5_1_4"&gt;nrfjprog DLL&lt;/a&gt;&amp;nbsp;or&amp;nbsp;&lt;a title="nRF5x pynrfjprog" href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.tools/dita/tools/pynrfjprog/pynrfjprog_lpage.html?cp=5_2"&gt;nRF5x pynrfjprog&lt;/a&gt;. You&amp;#39;ll need to write a script that writes 0x00 to RBPCONF.PALL register in UICR at address&amp;nbsp;0x10001004 after it has flashed the merged hexes.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>