<?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>QSPI NOR Flash not entering 4-byte address mode when using SFDP BFP tablesfdp-s</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/127423/qspi-nor-flash-not-entering-4-byte-address-mode-when-using-sfdp-bfp-tablesfdp-s</link><description>I am using QSPI NOR flash (MX25R6435F / MX25L51245G) with nRF5340 . I am trying to enable 4-byte address mode using the SFDP BFP table in the device tree overlay. 
 When I include the SFDP BFP table in the overlay, the flash does not enter 4-byte address</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 27 Mar 2026 08:36:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/127423/qspi-nor-flash-not-entering-4-byte-address-mode-when-using-sfdp-bfp-tablesfdp-s" /><item><title>RE: QSPI NOR Flash not entering 4-byte address mode when using SFDP BFP tablesfdp-s</title><link>https://devzone.nordicsemi.com/thread/564147?ContentTypeID=1</link><pubDate>Fri, 27 Mar 2026 08:36:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f55424e0-19b4-4b7f-8039-afefe69d5771</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;This is taking more time than expected.&lt;br /&gt;Thank you for your patience&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI NOR Flash not entering 4-byte address mode when using SFDP BFP tablesfdp-s</title><link>https://devzone.nordicsemi.com/thread/563841?ContentTypeID=1</link><pubDate>Mon, 23 Mar 2026 09:58:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:817d80a0-caf3-4b64-ac9c-cd452f04b05f</guid><dc:creator>Macherla Swetha</dc:creator><description>&lt;p&gt;ok thanks for your respose&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI NOR Flash not entering 4-byte address mode when using SFDP BFP tablesfdp-s</title><link>https://devzone.nordicsemi.com/thread/563600?ContentTypeID=1</link><pubDate>Wed, 18 Mar 2026 15:16:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4f3b7fb-5317-480b-b204-9420261e1fa3</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;On our nRF5340DK we have a 16MiB external flash, so I do not have that much experience with larger external flash.&lt;/p&gt;
&lt;p&gt;So I can not answer your questions outright.&lt;/p&gt;
&lt;p&gt;Instead, I will connect our nRF9161DK external flash to a nRF5340 DK and try to use the full external flash in this way.&lt;/p&gt;
&lt;p&gt;I have already started this, but it will likely take a couple of days more.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI NOR Flash not entering 4-byte address mode when using SFDP BFP tablesfdp-s</title><link>https://devzone.nordicsemi.com/thread/563499?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2026 18:30:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e045b5f7-1a4e-4b21-9a9f-5f122e9d7bdf</guid><dc:creator>Macherla Swetha</dc:creator><description>&lt;p&gt;1. by register reading&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;uint32_t&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;ifconfig0&lt;/span&gt;&lt;span&gt; = &lt;/span&gt;&lt;span&gt;NRF_QSPI&lt;/span&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;&lt;span&gt;IFCONFIG0&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; /* Extract ADDRMODE field (2 bits) */&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;uint32_t&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;addrmode&lt;/span&gt;&lt;span&gt; =&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(&lt;/span&gt;&lt;span&gt;ifconfig0&lt;/span&gt;&lt;span&gt; &amp;amp; &lt;/span&gt;&lt;span&gt;QSPI_IFCONFIG0_ADDRMODE_Msk&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt; &lt;/span&gt;&lt;span&gt;QSPI_IFCONFIG0_ADDRMODE_Pos&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;if&lt;/span&gt;&lt;span&gt; (&lt;/span&gt;&lt;span&gt;addrmode&lt;/span&gt;&lt;span&gt; == &lt;/span&gt;&lt;span&gt;NRF_QSPI_ADDRMODE_24BIT&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;printk&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;&amp;quot;QSPI Address Mode: 24-bit (3-byte)&lt;/span&gt;&lt;span&gt;\n&lt;/span&gt;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;else&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;if&lt;/span&gt;&lt;span&gt; (&lt;/span&gt;&lt;span&gt;addrmode&lt;/span&gt;&lt;span&gt; == &lt;/span&gt;&lt;span&gt;NRF_QSPI_ADDRMODE_32BIT&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;printk&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;&amp;quot;QSPI Address Mode: 32-bit (4-byte)&lt;/span&gt;&lt;span&gt;\n&lt;/span&gt;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;else&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;printk&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;&amp;quot;QSPI Address Mode: Unknown (&lt;/span&gt;&lt;span&gt;%d&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;\n&lt;/span&gt;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;addrmode&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;2. by storing files in flash and as USB mass storage... if we are in 3-byte address mode and store files above 16MB .. drive not opening (asking for Format)&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1773772225336v1.png" alt=" " /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI NOR Flash not entering 4-byte address mode when using SFDP BFP tablesfdp-s</title><link>https://devzone.nordicsemi.com/thread/563481?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2026 15:21:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b69ca7a-bfc3-4d5a-aed9-67b17b822144</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user=""]With &lt;strong&gt;SFDP BFP table → Flash does not enter 4-byte address mode&lt;/strong&gt;[/quote]
&lt;p&gt;Can you explain how you observe if the Flash is in 4-byte mode or not?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI NOR Flash not entering 4-byte address mode when using SFDP BFP tablesfdp-s</title><link>https://devzone.nordicsemi.com/thread/563439?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2026 12:48:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8268d9a3-fab3-4458-b38c-47eebdc0e5f5</guid><dc:creator>Macherla Swetha</dc:creator><description>&lt;p&gt;iam working on &amp;quot;MX25L51245G&amp;quot; not &amp;quot;mx25r6435f&amp;quot;(i will keep this as just lable name)&lt;br /&gt;&lt;br /&gt;my flash is 64MB(mega byte)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI NOR Flash not entering 4-byte address mode when using SFDP BFP tablesfdp-s</title><link>https://devzone.nordicsemi.com/thread/563438?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2026 12:44:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41d1d3eb-1c95-4f22-b3b0-ce6e87c79f57</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]mx25r64: mx25r6435f@0 {[/quote]
&lt;p&gt;Having a look at the datasheet for this one:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1773751354190v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;It looks like it is 64M-bit = 16MByte if I cound correctly.&lt;/p&gt;
&lt;p&gt;And therefore you do not need 4-byte addressing for this SoC, right?&lt;/p&gt;
&lt;p&gt;The story is different for the&amp;nbsp;MX25L51245G, but this is not yet what you got in your overlay.&lt;/p&gt;
&lt;p&gt;Could this explain the initial errors you see?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: QSPI NOR Flash not entering 4-byte address mode when using SFDP BFP tablesfdp-s</title><link>https://devzone.nordicsemi.com/thread/563350?ContentTypeID=1</link><pubDate>Mon, 16 Mar 2026 14:09:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:659e0aad-50cc-40cf-a440-5486c8b88126</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am looking into this and will let you know what I find soon.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>