<?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>nrfutil device program 54l15 external spi flash problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123059/nrfutil-device-program-54l15-external-spi-flash-problem</link><description>hi support team, 
 docs says we can program 54l15 external spi flash ,please refer to : https://docs.nordicsemi.com/bundle/nrfutil/page/nrfutil-device/guides/programming_external_memory.html 
 and i copied this : https://docs.nordicsemi.com/bundle/nrfutil</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Aug 2025 02:45:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123059/nrfutil-device-program-54l15-external-spi-flash-problem" /><item><title>RE: nrfutil device program 54l15 external spi flash problem</title><link>https://devzone.nordicsemi.com/thread/544862?ContentTypeID=1</link><pubDate>Thu, 07 Aug 2025 02:45:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e75cd315-a550-4094-a71e-461583d702d6</guid><dc:creator>William.wei</dc:creator><description>&lt;p&gt;Yes Hung Bui,&lt;/p&gt;
&lt;p&gt;Great, it works, but our doc(&lt;a id="" href="https://docs.nordicsemi.com/bundle/nrfutil/page/nrfutil-device/guides/programming_external_memory.html"&gt;https://docs.nordicsemi.com/bundle/nrfutil/page/nrfutil-device/guides/programming_external_memory.html&lt;/a&gt;) doesn&amp;#39;t make it clear. there is no comment or note as you said:&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/123059/nrfutil-device-program-54l15-external-spi-flash-problem/544282"]&lt;p&gt;We found that the reason you see the internal flash get erased is that the default behavior for the command is to do an ERASEALL.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So you need to add:&amp;nbsp;--options chip_erase_mode=ERASE_NONE in to the command.&amp;nbsp;&lt;/p&gt;[/quote]
&lt;p&gt;by the way, this doc doesn&amp;#39;t clarify if it works on 91xx.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;William.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil device program 54l15 external spi flash problem</title><link>https://devzone.nordicsemi.com/thread/544282?ContentTypeID=1</link><pubDate>Fri, 01 Aug 2025 08:27:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a3c977f-2fae-4390-8df8-00b8008a6c3b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Lieping,&lt;/p&gt;
&lt;p&gt;We found that the reason you see the internal flash get erased is that the default behavior for the command is to do an ERASEALL.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So you need to add:&amp;nbsp;--options chip_erase_mode=ERASE_NONE in to the command.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;This is independent from the&amp;nbsp;ext_mem_erase_mode=ERASE_RANGES_TOUCHED_BY_FIRMWARE that you used.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil device program 54l15 external spi flash problem</title><link>https://devzone.nordicsemi.com/thread/543449?ContentTypeID=1</link><pubDate>Thu, 24 Jul 2025 09:04:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a397a14e-2565-4ad9-a9aa-2ba8e39481b4</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;No, sorry. I was sure I saw the program command before --x-ext-mem-config-file, but I was wrong. Unfortunately I don&amp;#39;t have any good ideas to what this is caused by. I will ask someone with more expertise to look into it next week. I&amp;#39;m afraid I won&amp;#39;t be able to this week due to the staff shortage during summer.&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><item><title>RE: nrfutil device program 54l15 external spi flash problem</title><link>https://devzone.nordicsemi.com/thread/543276?ContentTypeID=1</link><pubDate>Wed, 23 Jul 2025 06:07:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:367f1b6b-7dd6-4c44-9cc5-5d1e1a66e122</guid><dc:creator>William.wei</dc:creator><description>[quote userid="85273" url="~/f/nordic-q-a/123059/nrfutil-device-program-54l15-external-spi-flash-problem"]2:&amp;nbsp; &amp;nbsp;C:\Users\William&amp;gt;nrfutil device --x-ext-mem-config-file C:\Users\William\Desktop\54L15.json program --firmware C:\Users\William\zephyr1.hex --options ext_mem_erase_mode=ERASE_RANGES_TOUCHED_BY_FIRMWARE,verify=VERIFY_READ[/quote]
&lt;p&gt;yes simon,&lt;/p&gt;
&lt;p&gt;you see i have already put the program command after the&amp;nbsp;&lt;span&gt;--x-ext-mem-config-file command.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;or, i misunderstand you meaning?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;William.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil device program 54l15 external spi flash problem</title><link>https://devzone.nordicsemi.com/thread/543107?ContentTypeID=1</link><pubDate>Tue, 22 Jul 2025 07:36:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d10edf4-9b3e-4d90-b006-0f8ef1b2367a</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi William&lt;/p&gt;
&lt;p&gt;I think you need to put the &lt;a href="https://docs.nordicsemi.com/bundle/nrfutil/page/nrfutil-device/guides/programming_external_memory.html#programming-external-memory-command"&gt;program command&lt;/a&gt; should come after the --x-ext-mem-config-file command as in the explanation of how to program only the .hex file to the external flash. With the one you&amp;#39;ve done here I think you also write it to the SoC as well as the external device.&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>