<?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/load UICR without erase</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61811/flash-load-uicr-without-erase</link><description>Hi, 
 Is it possible to write to the UICR (with SES) without erasing it first? 
 Normally the boot loader sets the correct values in UICR, but for development I want to have some fallback values written to the UICR (mostly PSELRESET and REGOUT). But when</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 29 May 2020 08:26:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61811/flash-load-uicr-without-erase" /><item><title>RE: Flash/load UICR without erase</title><link>https://devzone.nordicsemi.com/thread/252316?ContentTypeID=1</link><pubDate>Fri, 29 May 2020 08:26:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11598df1-e721-4f9f-bafe-7140ad318f32</guid><dc:creator>Remco Poelstra</dc:creator><description>&lt;p&gt;Thanks for your response. I&amp;#39;ll contact Segger for a possible solution.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash/load UICR without erase</title><link>https://devzone.nordicsemi.com/thread/252262?ContentTypeID=1</link><pubDate>Thu, 28 May 2020 16:05:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1be2ef8-0e28-43d1-ab73-e958b08074e8</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Unfortunately, I&amp;#39;m not aware of any ways to do this from SES (except from writing the UICR from the code). I was thinking that you could do it in the &amp;quot;Load end script&amp;quot; config in the Target script section, but it seems like adding &amp;quot;TargetInterface.pokeUint32(0x10001018, 0xFE000)&amp;quot; does also erase the full UICR, even with the MemorySections in UICR removed.&lt;/p&gt;
&lt;p&gt;Maybe you can ask in the &lt;a href="https://forum.segger.com/"&gt;Segger forum&lt;/a&gt; if they have any solutions for this?&lt;/p&gt;
&lt;p&gt;You can certainly write the values with nrfjprog (ex: nrfjprog --memwr 0x10001304 --val 0x00000000), but this would be outside of SES.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>