<?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>undefined reference to `z_impl_flash_read_jedec_id&amp;#39;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/101056/undefined-reference-to-z_impl_flash_read_jedec_id</link><description>minimal_log_flash$ west build -b custom_nrf52832 -- west build: generating a build system 
 FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map : &amp;amp;&amp;amp; ccache /home/henry/ncs/toolchains/v2.3.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -gdwarf</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 26 Jun 2023 14:22:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/101056/undefined-reference-to-z_impl_flash_read_jedec_id" /><item><title>RE: undefined reference to `z_impl_flash_read_jedec_id'</title><link>https://devzone.nordicsemi.com/thread/433012?ContentTypeID=1</link><pubDate>Mon, 26 Jun 2023 14:22:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d06e940d-d325-4475-be6f-a281da9ad1e4</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Can you send your build/zephyr/zephyr.dts file?&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: undefined reference to `z_impl_flash_read_jedec_id'</title><link>https://devzone.nordicsemi.com/thread/432256?ContentTypeID=1</link><pubDate>Wed, 21 Jun 2023 10:01:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f238dbb-2298-49f8-9b3c-99ba69d42cd6</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;function to call flash_read_jedec_id().&lt;/p&gt;
&lt;p&gt;int flashNorInit(void) {&lt;br /&gt; int rc;&lt;br /&gt; uint8_t id[3];&lt;/p&gt;
&lt;p&gt;const struct device *const dev = DEVICE_DT_GET(FLASH_NODE);&lt;/p&gt;
&lt;p&gt;if (!device_is_ready(dev)) {&lt;br /&gt; printk(&amp;quot;%s: device not ready\n&amp;quot;, dev-&amp;gt;name);&lt;br /&gt; return -1;&lt;br /&gt; }&lt;/p&gt;
&lt;p&gt;rc = flash_read_jedec_id(dev, id);&lt;br /&gt; if (rc == 0) {&lt;br /&gt; printk(&amp;quot;jedec-id = [%02x %02x %02x];\n&amp;quot;,&lt;br /&gt; id[0], id[1], id[2]);&lt;br /&gt; } else {&lt;br /&gt; printk(&amp;quot;JEDEC ID read failed: %d\n&amp;quot;, rc);&lt;br /&gt; }&lt;/p&gt;
&lt;p&gt;return 0;&lt;br /&gt;}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: undefined reference to `z_impl_flash_read_jedec_id'</title><link>https://devzone.nordicsemi.com/thread/432255?ContentTypeID=1</link><pubDate>Wed, 21 Jun 2023 10:01:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc4138c8-cbea-45e1-b110-b1e4390c1793</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0068.minimal_5F00_log_5F00_flash_5F00_jedec.zip"&gt;devzone.nordicsemi.com/.../0068.minimal_5F00_log_5F00_flash_5F00_jedec.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: undefined reference to `z_impl_flash_read_jedec_id'</title><link>https://devzone.nordicsemi.com/thread/432254?ContentTypeID=1</link><pubDate>Wed, 21 Jun 2023 10:00:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0631ef05-8cd2-46b9-988f-b4533d803ea9</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0218.custom_5F00_nrf52832.zip"&gt;devzone.nordicsemi.com/.../0218.custom_5F00_nrf52832.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: undefined reference to `z_impl_flash_read_jedec_id'</title><link>https://devzone.nordicsemi.com/thread/432253?ContentTypeID=1</link><pubDate>Wed, 21 Jun 2023 09:59:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd8153fd-43a3-4d3c-a44f-ebf31277f71c</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/W25Q32JV-RevI-05042021-Plus.pdf"&gt;devzone.nordicsemi.com/.../W25Q32JV-RevI-05042021-Plus.pdf&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: undefined reference to `z_impl_flash_read_jedec_id'</title><link>https://devzone.nordicsemi.com/thread/432252?ContentTypeID=1</link><pubDate>Wed, 21 Jun 2023 09:59:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ee4a35c-a83f-457e-91d6-f95d432bb017</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;Thanks for your reply! I can build &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/drivers/jesd216/README.html"&gt;JESD216 Sample&lt;/a&gt;. I am using Winbond W25Q32JV NOR flash. But I encounter another problem. That is &amp;quot;&amp;lt;err&amp;gt; spi_nor: Device id 00 00 00 does not match config ef 40 16&amp;quot;. Do you have any suggest to fix this issue?&lt;/p&gt;
&lt;p&gt;log messages is as follows.&lt;/p&gt;
&lt;p&gt;0&amp;gt; [00:00:00.000,640] &amp;lt;err&amp;gt; spi_nor: Device id 00 00 00 does not match config ef 40 16&lt;br /&gt;&amp;nbsp;0&amp;gt; *** Booting Zephyr OS build v3.2.99-ncs2 ***&lt;br /&gt;&amp;nbsp;0&amp;gt; Starting button Test example&lt;br /&gt;&amp;nbsp;0&amp;gt; configure AFE4900_RDY pin as input&lt;br /&gt;&amp;nbsp;0&amp;gt; configure AFE4900_RESET pin as output&lt;br /&gt;&amp;nbsp;0&amp;gt; configure POWER_UP pin as output&lt;br /&gt;&amp;nbsp;0&amp;gt; configure LED_G pin as output&lt;br /&gt;&amp;nbsp;0&amp;gt; set POWER_UP pin&lt;br /&gt;&amp;nbsp;0&amp;gt; clear AFE4900_RESET pin, 0&lt;br /&gt;&amp;nbsp;0&amp;gt; set AFE4900_RESET pin&lt;br /&gt;&amp;nbsp;0&amp;gt; w25q32jv@0: device not ready&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: undefined reference to `z_impl_flash_read_jedec_id'</title><link>https://devzone.nordicsemi.com/thread/432233?ContentTypeID=1</link><pubDate>Wed, 21 Jun 2023 08:58:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5272858d-5237-4fb9-83f5-9af2ed12b48c</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you get the same issue if you try 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;?&lt;/p&gt;
&lt;p&gt;Which external flash do you use?&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: undefined reference to `z_impl_flash_read_jedec_id'</title><link>https://devzone.nordicsemi.com/thread/432160?ContentTypeID=1</link><pubDate>Wed, 21 Jun 2023 02:34:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d0d4773-5cce-4f52-8c55-8baff38fedbd</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6253.minimal_5F00_log_5F00_flash.zip"&gt;devzone.nordicsemi.com/.../6253.minimal_5F00_log_5F00_flash.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: undefined reference to `z_impl_flash_read_jedec_id'</title><link>https://devzone.nordicsemi.com/thread/432159?ContentTypeID=1</link><pubDate>Wed, 21 Jun 2023 02:34:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:526c2d18-aa4f-4b83-87c2-1602e54e79c4</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3542.custom_5F00_nrf52832.zip"&gt;devzone.nordicsemi.com/.../3542.custom_5F00_nrf52832.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>