<?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>nrfjprog still not quite flashing HEX files in Non-Secure flash</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70139/nrfjprog-still-not-quite-flashing-hex-files-in-non-secure-flash</link><description>There is a marked improvement in the handling of TrustZone in nrfjprog 10.11.0 and 10.12.00, but it seems it&amp;#39;s still not quite all the way there. I can do: 
 
 
 and am able to read and write to the Non-Secure region of flash, which was not the case previously</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Feb 2021 15:49:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70139/nrfjprog-still-not-quite-flashing-hex-files-in-non-secure-flash" /><item><title>RE: nrfjprog still not quite flashing HEX files in Non-Secure flash</title><link>https://devzone.nordicsemi.com/thread/294222?ContentTypeID=1</link><pubDate>Fri, 12 Feb 2021 15:49:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3ed58a4-410a-439f-9c90-4a2e4659f172</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I talked to a developer internally and got informed this is a bug. An internal ticket is created. I&amp;#39;ll keep you updated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog still not quite flashing HEX files in Non-Secure flash</title><link>https://devzone.nordicsemi.com/thread/293864?ContentTypeID=1</link><pubDate>Wed, 10 Feb 2021 19:46:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1fbcd2d3-202d-45d5-9c7e-a887c812a78b</guid><dc:creator>erik.johnson</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;Sounds good!&lt;/p&gt;
&lt;p&gt;One additional thing I&amp;#39;ve found that might make testing it on your end a little easier (won&amp;#39;t need to deal with flashing a HEX file) is that the behavior also exists with trying to erase a page:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfjprog.exe --erasepage 0xb0000
Erasing addresses 0xB0000 to 0xB0FFF.
ERROR: The operation attempted is unavailable due to readback protection in
ERROR: your device. Please use --recover to unlock the device.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;But I can actually dump the contents of the entire page out with the read:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfjprog.exe --memrd 0xb0000 --n 0x1000
0x000B0000: 00000000 00000000 00000000 00000000   |................|
0x000B0010: 00000000 00000000 00000000 00000000   |................|
0x000B0020: 00000000 00000000 00000000 00000000   |................|
0x000B0030: 00000000 00000000 00000000 00000000   |................|
0x000B0040: 00000000 00000000 00000000 00000000   |................|&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;So there appears to be some check done in the --erasepage and --program operations that isn&amp;#39;t done with --memrd (or --memwr for that matter).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog still not quite flashing HEX files in Non-Secure flash</title><link>https://devzone.nordicsemi.com/thread/293761?ContentTypeID=1</link><pubDate>Wed, 10 Feb 2021 12:44:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:357a2ad6-e44e-4fbc-87ab-113942fd4480</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Hello Erik,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll just inform you that I&amp;#39;ll&amp;nbsp;look into this the next couple of days.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog still not quite flashing HEX files in Non-Secure flash</title><link>https://devzone.nordicsemi.com/thread/293392?ContentTypeID=1</link><pubDate>Mon, 08 Feb 2021 15:51:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d9bcea9-85ac-4817-9784-e429a5628939</guid><dc:creator>erik.johnson</dc:creator><description>&lt;p&gt;Well, we just have a Secure firmware image that writes NRF_UICR-&amp;gt;SECUREAPPROTECT to prevent Secure debugger access. We also have a Non-Secure firmware image running in the region that the Secure firmware sets up (NRF_SPU_S-&amp;gt;FLASHREGION).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog still not quite flashing HEX files in Non-Secure flash</title><link>https://devzone.nordicsemi.com/thread/288078?ContentTypeID=1</link><pubDate>Fri, 08 Jan 2021 06:38:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1198095-4458-4470-b405-e5a604fb0c46</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I was not able to reproduce this. Could you give a detailed step-by-step on how to reproduce it?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>