<?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>External flash over QSPI not taking DFU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/98748/external-flash-over-qspi-not-taking-dfu</link><description>I have a project that incorporates MCUBoot and allows for DFU over a serial port. I have it set up to use an external flash chip to store the application images, and it works well with a Macronix MX25U1633F. I want to now run the same code using an ISSI</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Apr 2023 19:49:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/98748/external-flash-over-qspi-not-taking-dfu" /><item><title>RE: External flash over QSPI not taking DFU</title><link>https://devzone.nordicsemi.com/thread/420861?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2023 19:49:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3f2079f-dd51-4556-ab5e-fef936059a07</guid><dc:creator>BDA</dc:creator><description>&lt;p&gt;Aha!&amp;nbsp; I was using the wrong&amp;nbsp;read/write commands.&amp;nbsp; I&amp;#39;m using the following settings now in the overlay file and everything is working as expected:&lt;/p&gt;
&lt;p&gt;writeoc = &amp;quot;pp4o&amp;quot;;&lt;br /&gt; readoc = &amp;quot;read4o&amp;quot;;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Does anyone have any insight into which commands these things correspond to?&amp;nbsp; Every flash datasheet I&amp;#39;ve looked at uses a slightly different nomenclature, but ultimately provides the hex code (0x32, 0x38).&amp;nbsp; Anybody know which zephyr values correspond with which hex codes...?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External flash over QSPI not taking DFU</title><link>https://devzone.nordicsemi.com/thread/420833?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2023 14:48:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45e68b86-d5e3-46b4-8372-8b2668213928</guid><dc:creator>BDA</dc:creator><description>&lt;p&gt;That is correct, that datasheet is what I&amp;#39;ve been using.&amp;nbsp; I&amp;#39;ve poured over it for differences, but haven&amp;#39;t found anything yet that would preclude it working as a replacement for the Macronix chip.&amp;nbsp; The DTS file I&amp;#39;m using is as follows:&lt;/p&gt;
&lt;p&gt;/ {&lt;br /&gt; chosen {&lt;br /&gt; zephyr,code-partition = &amp;amp;boot_partition;&lt;br /&gt; nordic,pm-ext-flash = &amp;amp;flashsearch;&lt;br /&gt; };&lt;br /&gt;};&lt;/p&gt;
&lt;p&gt;&amp;amp;qspi {&lt;br /&gt; compatible = &amp;quot;nordic,nrf-qspi&amp;quot;;&lt;br /&gt; status = &amp;quot;okay&amp;quot;;&lt;br /&gt; sck-pin = &amp;lt;19&amp;gt;;&lt;br /&gt; io-pins = &amp;lt;20&amp;gt;, &amp;lt;21&amp;gt;, &amp;lt;22&amp;gt;, &amp;lt;23&amp;gt;;&lt;br /&gt; csn-pins = &amp;lt;17&amp;gt;;&lt;br /&gt; flashsearch: flashsearch@0{&lt;br /&gt; compatible = &amp;quot;nordic,qspi-nor&amp;quot;;&lt;br /&gt; status = &amp;quot;okay&amp;quot;;&lt;br /&gt; reg = &amp;lt;0&amp;gt;;&lt;br /&gt; quad-enable-requirements = &amp;quot;S1B6&amp;quot;;&lt;br /&gt; writeoc = &amp;quot;pp4io&amp;quot;;&lt;br /&gt; readoc = &amp;quot;read4io&amp;quot;;&lt;br /&gt; sck-frequency = &amp;lt;66000000&amp;gt;;&lt;br /&gt; sck-delay = &amp;lt;7&amp;gt;;&lt;br /&gt; rx-delay = &amp;lt;1&amp;gt;;&lt;br /&gt; jedec-id = [ 9D 70 15 ];&lt;br /&gt; label = &amp;quot;IS25WP016D&amp;quot;;&lt;br /&gt; size = &amp;lt;16777216&amp;gt;;&lt;br /&gt; };&lt;br /&gt;};&lt;/p&gt;
&lt;p&gt;&amp;amp;uart0 {&lt;br /&gt; hw-flow-control;&lt;br /&gt;};&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External flash over QSPI not taking DFU</title><link>https://devzone.nordicsemi.com/thread/420771?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2023 12:35:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0dc2e34d-5643-4023-be12-c9b9f22c1ed7</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Based on your statements it seems like you&amp;#39;ve remembered and included everything you need to properly set up and enable the external flash, but just to be safe and to have another set of eyes look over things, could you:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Provide me with the .dts showing the configuration of the ISSI IS25WP016D external flash?&amp;nbsp;&lt;/li&gt;
&lt;li&gt;I am assuming that this is the datasheet you&amp;#39;ve been following when configuring the device?&amp;nbsp;&lt;a href="https://www.issi.com/WW/pdf/25LP-WP016D.pdf"&gt;https://www.issi.com/WW/pdf/25LP-WP016D.pdf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Could you provide any configurations, overlay or child images that are relevant for this project?&lt;/li&gt;
&lt;li&gt;Have you checked if you need to make any other modifications when swapping from the Macronix chip to the ISSI chip such as start/end/partition addresses and sizes?&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Keep in mind that you only post public information as this is a public ticket just in case you&amp;#39;re working on a project with sensitive information.&lt;/p&gt;
&lt;p&gt;Just to mention this additional resource if you haven&amp;#39;t seen it already:&amp;nbsp;&lt;a href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples"&gt;https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples&amp;nbsp;&lt;/a&gt;this repository with emphasis on the serial_recovery should illustrate how to do serial dfu, with the exception that the samples here only uses the on board macronix flash chip. You might be able to exctract something from here that could help you narrow down what causes the issue.&lt;/p&gt;
&lt;p&gt;Let me know about these things and I&amp;#39;ll get back to you&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>