<?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>Configuration of custom flash memory for standard zephyr driver</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110400/configuration-of-custom-flash-memory-for-standard-zephyr-driver</link><description>Hello! 
 I have a device on which the S25HL01GT memory is soldered. The problem is that I don’t understand how I should work with .dts in order for this memory to work with the standard driver from zephyr. 
 I added the following to the .overlay: 
 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Nov 2024 08:09:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110400/configuration-of-custom-flash-memory-for-standard-zephyr-driver" /><item><title>RE: Configuration of custom flash memory for standard zephyr driver</title><link>https://devzone.nordicsemi.com/thread/508760?ContentTypeID=1</link><pubDate>Fri, 01 Nov 2024 08:09:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96844737-1d30-43f4-b010-5434093ce805</guid><dc:creator>Yury Morgunov</dc:creator><description>&lt;p&gt;We refused this memory. However, such a configuration worked on one of the chips, but not for long. The chips that we got were apparently defective. I can say that there is no point in specifying more than 3 bytes of jedec-id in the source code, only three bytes are used.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuration of custom flash memory for standard zephyr driver</title><link>https://devzone.nordicsemi.com/thread/480787?ContentTypeID=1</link><pubDate>Fri, 26 Apr 2024 04:11:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e96e9d59-fe66-4f4f-98a8-3fc2730293bb</guid><dc:creator>Yury Morgunov</dc:creator><description>&lt;p&gt;Hi, thank you for your support.&lt;br /&gt;It&amp;#39;s just a defective board or chip. Jedek-id was successfully read on the other board and the driver was initialized.&lt;br /&gt;I can say that my configuration works except for sfdp-bfp, which I will check as soon as I have a working board.&lt;br /&gt;I&amp;#39;ll try to post the correct dts before closing the topic.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuration of custom flash memory for standard zephyr driver</title><link>https://devzone.nordicsemi.com/thread/480578?ContentTypeID=1</link><pubDate>Thu, 25 Apr 2024 06:58:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8fd96bec-38ea-4312-bb42-0d429392f5e9</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="Yury Morgunov"]Sorry for the short pause,[/quote]
&lt;p&gt;&amp;nbsp;No worries at all, I always have other users to answer.&lt;/p&gt;
[quote user="Yury Morgunov"]One of the data pins (DQ3_RESET#) is used as reset and it turns out there is 2.3V DC.[/quote]
&lt;p&gt;Try to configure the reset pin in Pinctrl to pullup/pulldown depending on what you need to not reset the external flash.&lt;/p&gt;
&lt;p&gt;I suspect that our external flash driver does not have reset pre-configured.&lt;/p&gt;
&lt;p&gt;If that works, we can look into if external flash drivers support reset pins or not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuration of custom flash memory for standard zephyr driver</title><link>https://devzone.nordicsemi.com/thread/480560?ContentTypeID=1</link><pubDate>Thu, 25 Apr 2024 03:27:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43ae1128-ef00-412b-a22e-266091a82506</guid><dc:creator>Yury Morgunov</dc:creator><description>&lt;p&gt;Sorry for the short pause, I was waiting for the pcb files to find the required via on the board to connect the oscilloscope.&lt;/p&gt;
&lt;p&gt;It seems the driver is not setting up the memory correctly. One of the data pins (DQ3_RESET#) is used as reset and it turns out there is 2.3V DC.&lt;/p&gt;
&lt;p&gt;It is not clear why it has this particular meaning; there is nothing on the DQ3_RESET# signal track except the memory itself and nrf.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Jedec-id should have been read on one spi line and then started sfdp synchronization, right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuration of custom flash memory for standard zephyr driver</title><link>https://devzone.nordicsemi.com/thread/480003?ContentTypeID=1</link><pubDate>Mon, 22 Apr 2024 13:08:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e48ec029-0988-4051-a682-d9b18547015b</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;From what I can see, there is no external flash inside the BL5340PA, so I assume that external flash is on your custom board.&lt;/p&gt;
&lt;p&gt;If we were to dabble in hindsight, we would say that a good idea would have been to add probe points for not-exposed signals on the test-PCB that you made. However all we can do with hindsight is to learn from it.&lt;/p&gt;
&lt;p&gt;If you want, I can have a look at your custom PCB layout?&lt;br /&gt;If so, make a private ticket and ask for a review. And link to the private ticket here, so I know about it.&lt;/p&gt;
&lt;p&gt;Then, if we find something wrong in the layout, it may be hard to fix it in firmware. However, if everything looks good in the layout, I can continue to help you figure out why the firmware will not cooperate.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuration of custom flash memory for standard zephyr driver</title><link>https://devzone.nordicsemi.com/thread/479984?ContentTypeID=1</link><pubDate>Mon, 22 Apr 2024 12:11:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69ef8446-e479-400c-abe4-d0e583c5902e</guid><dc:creator>Yury Morgunov</dc:creator><description>&lt;p&gt;I&amp;#39;m using a custom board with a BL5340PA module. Inside it is an nrf in a bga case, just like an external flash memory. I&amp;#39;m not sure I can show it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuration of custom flash memory for standard zephyr driver</title><link>https://devzone.nordicsemi.com/thread/479973?ContentTypeID=1</link><pubDate>Mon, 22 Apr 2024 11:52:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02569447-ae54-402e-837d-8f5bfaf82424</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="Yury Morgunov"]The problem is that the boards I use are in a bga package and there is no access to the contacts.[/quote]
&lt;p&gt;Do you use your own custom board or some public board?&lt;/p&gt;
&lt;p&gt;I&amp;#39;m thinking that if it is a public board I could maybe have a look at it and see if I got any ideas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuration of custom flash memory for standard zephyr driver</title><link>https://devzone.nordicsemi.com/thread/479966?ContentTypeID=1</link><pubDate>Mon, 22 Apr 2024 11:34:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00b76994-be99-4e2e-b581-1f35b7a89c90</guid><dc:creator>Yury Morgunov</dc:creator><description>&lt;p&gt;The problem is that the boards I use are in a bga package and there is no access to the contacts. For example, I would like to use uart instead of RTT, since uart is much more convenient, but I can&amp;rsquo;t.&lt;/p&gt;
&lt;p&gt;And since I have little experience in the zephyr environment, it&amp;rsquo;s quite difficult for me to blindly configure the driver via dts.&lt;/p&gt;
&lt;p&gt;But I figured out when the initialization of drivers begins, it became easier to understand.&lt;/p&gt;
&lt;p&gt;However, it was new to me that flash memory has the sfdp standard, this both complicates and simplifies development, and I think the example you sent me will help me figure it out.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuration of custom flash memory for standard zephyr driver</title><link>https://devzone.nordicsemi.com/thread/479958?ContentTypeID=1</link><pubDate>Mon, 22 Apr 2024 11:07:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a259b63-8f02-4641-a318-f09c3e207e11</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="Yury Morgunov"]The flash memory is not responding, it seems to be caused by hardware problems, since I received a jedec-id from another board and another memory.[/quote]
&lt;p&gt;Always good to have it narrowed down.&lt;/p&gt;
&lt;p&gt;You probably know, but it is better to have said it too many times than too few: I suggest a logic analyzer or oscilloscope to probe the lines as a first step in debugging the HW issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuration of custom flash memory for standard zephyr driver</title><link>https://devzone.nordicsemi.com/thread/479951?ContentTypeID=1</link><pubDate>Mon, 22 Apr 2024 10:44:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8643ec05-fc52-403f-ab7d-1bc7da8dbf8c</guid><dc:creator>Yury Morgunov</dc:creator><description>&lt;p&gt;Thank you! It seems this will be useful when preparing sfdp.&lt;br /&gt;The flash memory is not responding, it seems to be caused by hardware problems, since I received a jedec-id from another board and another memory.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuration of custom flash memory for standard zephyr driver</title><link>https://devzone.nordicsemi.com/thread/479866?ContentTypeID=1</link><pubDate>Mon, 22 Apr 2024 07:34:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4eea7e6-71e0-4a20-9b68-e2adf7280973</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which version of the SDK do you use?&lt;/p&gt;
&lt;p&gt;What error do you get exactly?&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;I recommend the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/drivers/jesd216/README.html"&gt;JESD216 sample&lt;/a&gt; to read out info from your external flash.&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>