<?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>full_modem_update: &amp;quot;Failed to get flash device: MX25R64&amp;quot;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75401/full_modem_update-failed-to-get-flash-device-mx25r64</link><description>I am trying to bring in the spi_nor driver into our project and was getting errors reading back the jedec id on initialisation so I tried to run the nrf/samples/nrf9160/http_update/full_modem_update sample on my nrf9160dk board and am getting the same</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Dec 2021 11:34:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75401/full_modem_update-failed-to-get-flash-device-mx25r64" /><item><title>RE: full_modem_update: "Failed to get flash device: MX25R64"</title><link>https://devzone.nordicsemi.com/thread/344330?ContentTypeID=1</link><pubDate>Mon, 20 Dec 2021 11:34:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:052467ab-45e7-4fcc-8aeb-98b30d16aba5</guid><dc:creator>Svetlio141</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have similar issue. I tried with the ovelray code that was given by Heidi but that did not work.&lt;/p&gt;
&lt;p&gt;Is it possible to help on what exactly you put in your overlay to solve the problem??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: full_modem_update: "Failed to get flash device: MX25R64"</title><link>https://devzone.nordicsemi.com/thread/315212?ContentTypeID=1</link><pubDate>Mon, 14 Jun 2021 15:46:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e14c416-b028-4c40-92c4-3bcc0c65883a</guid><dc:creator>RonanB96</dc:creator><description>&lt;p&gt;Hi Heidi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes that worked for me, thanks for your help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: full_modem_update: "Failed to get flash device: MX25R64"</title><link>https://devzone.nordicsemi.com/thread/315201?ContentTypeID=1</link><pubDate>Mon, 14 Jun 2021 15:09:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1edf48f-d62e-4c45-9eed-36b12570ed83</guid><dc:creator>dsmith115</dc:creator><description>&lt;p&gt;Hi Heidi - thanks for your response, this worked!&amp;nbsp; And just to be explicit for those following along, here is exactly what I did:&lt;br /&gt;&lt;br /&gt;1) Set SW10 to nRF52&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;2) Create device tree overlay file in zephyr/samples/hello_world/set_9160_ext_flash.overlay with the following contents:&lt;br /&gt;nrf9160dk_nrf52840.overlay:&lt;br /&gt; &amp;amp;external_flash_pins_routing {&lt;br /&gt; status = &amp;quot;okay&amp;quot;;&lt;br /&gt; };&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;3) Run &lt;/p&gt;
&lt;p&gt;west build -b nrf9160dk_nrf52840@1.0.0 -- -DDTC_OVERLAY_FILE=set_9160_ext_flash.overlay&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;west flash&lt;/p&gt;
&lt;p&gt;4) Set SW10 to nRF91&lt;/p&gt;
&lt;p&gt;5) Re-flash full_modem_update sample, success!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: full_modem_update: "Failed to get flash device: MX25R64"</title><link>https://devzone.nordicsemi.com/thread/315049?ContentTypeID=1</link><pubDate>Mon, 14 Jun 2021 08:52:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe5cf8ab-0776-4b19-beb7-28708f01717a</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/ronanb96"&gt;RonanB96&lt;/a&gt;, &lt;a href="https://devzone.nordicsemi.com/members/dsmith115"&gt;dsmith115&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;external_flash_pins_routing is disabled by default in the board config for the nRF52840 (see &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/master/boards/arm/nrf9160dk_nrf52840/nrf9160dk_nrf52840_0_14_0.overlay#L24"&gt;here&lt;/a&gt;), so this needs to be set to &amp;quot;okay&amp;quot; in an overlay file and flashed to the board.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;In short, create a dts overlay, for example in /zephyr/samples/hello_world , e.g. nrf9160dk_nrf52840.overlay:&lt;br /&gt; &amp;amp;external_flash_pins_routing {&lt;br /&gt; status = &amp;quot;okay&amp;quot;;&lt;br /&gt; };&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;Do west build -b nrf9160dk_nrf52840@1.0.0,&amp;nbsp;flash the nRF52840 (remember to set SW10 to nRF52), and power-cycle the board.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Then try flashing the original sample again, and it should work.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: full_modem_update: "Failed to get flash device: MX25R64"</title><link>https://devzone.nordicsemi.com/thread/314964?ContentTypeID=1</link><pubDate>Fri, 11 Jun 2021 15:29:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:899aa280-162f-4019-a19e-33bf68c5971d</guid><dc:creator>dsmith115</dc:creator><description>&lt;p&gt;Hi, I am having the same issue as RonanB96.&amp;nbsp; I have the same board - PCA10090, v1.0.0, 2021.6.&lt;br /&gt;&lt;br /&gt;I get the same error:&lt;br /&gt;E: Device id 00 00 00 does not match config c2 28 17&lt;br /&gt;*** Booting Zephyr OS build v2.4.99-ncs1&amp;nbsp; ***&lt;br /&gt;HTTP full modem update sample started&lt;br /&gt;Failed to get flash device: MX25R64&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have a coworker who has the exact same board, and the sample works perfectly for him.&amp;nbsp; I am wondering if it might be a bad flash chip. I have tried using some hot air on it in case there was a cold solder join, but there was no effect.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: full_modem_update: "Failed to get flash device: MX25R64"</title><link>https://devzone.nordicsemi.com/thread/314120?ContentTypeID=1</link><pubDate>Tue, 08 Jun 2021 08:43:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ced011a5-2c39-4cab-84b1-e26524b56db5</guid><dc:creator>RonanB96</dc:creator><description>&lt;p&gt;Hi Heidi,&lt;/p&gt;
&lt;p&gt;Sorry for the delay, I was off for most of last week. Yes, I believe we have the boards with external flash. Attached are pictures of one of the two boards we tested&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/IMG_5F00_20210608_5F00_083702799.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/IMG_5F00_20210608_5F00_083715714.jpg" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: full_modem_update: "Failed to get flash device: MX25R64"</title><link>https://devzone.nordicsemi.com/thread/313119?ContentTypeID=1</link><pubDate>Wed, 02 Jun 2021 12:57:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31bc85df-4ab3-4805-81b5-45d09fc3348e</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;I&amp;#39;m not able to reproduce your issue, unfortunately, and from the log, specifically&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;E: Device id 00 00 00 does not match config c2 28 17&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;it doesn&amp;#39;t look like any flash device is found (see&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/master/drivers/flash/spi_nor.c#L1064"&gt;drivers/flash/spi_nor L1064&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Are you sure you&amp;#39;re using the version of the DKs that have external flash? Could you send me a picture so I can confirm as well?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: full_modem_update: "Failed to get flash device: MX25R64"</title><link>https://devzone.nordicsemi.com/thread/312110?ContentTypeID=1</link><pubDate>Thu, 27 May 2021 13:06:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9776e5c9-e7c0-47d5-b6dd-b1e9c65dc6b4</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;That&amp;#39;s a bit strange. I will test on an nRF9160 DK v0.14 or later tomorrow to see if I can reproduce this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It might be a hardware issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: full_modem_update: "Failed to get flash device: MX25R64"</title><link>https://devzone.nordicsemi.com/thread/311108?ContentTypeID=1</link><pubDate>Fri, 21 May 2021 14:59:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:973fb1dc-b576-4257-bebe-2305dc8a1dcb</guid><dc:creator>RonanB96</dc:creator><description>&lt;p&gt;Hi Heidi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I missed that in the docs but unfortunately it is still throwing the same error.&lt;/p&gt;
&lt;p&gt;I used the following command to build&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;west build -b nrf9160dk_nrf9160ns@1.0.0 -p&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;New log&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting Zephyr OS build v2.4.99-ncs1  ***␍␊
Flash regions⇥	⇥	Domain⇥	⇥	Permissions␍␊
00 00 0x00000 0x08000 ⇥	Secure⇥	⇥	rwxl␍␊
01 31 0x08000 0x100000 ⇥	Non-Secure⇥	rwxl␍␊
␍␊
Non-secure callable region 0 placed in flash region 0 with size 32.␍␊
␍␊
SRAM region⇥	⇥	Domain⇥	⇥	Permissions␍␊
00 07 0x00000 0x10000 ⇥	Secure⇥	⇥	rwxl␍␊
08 31 0x10000 0x40000 ⇥	Non-Secure⇥	rwxl␍␊
␍␊
Peripheral⇥	⇥	Domain⇥	⇥	Status␍␊
00 NRF_P0               Non-Secure⇥	OK␍␊
01 NRF_CLOCK            Non-Secure⇥	OK␍␊
02 NRF_RTC0             Non-Secure⇥	OK␍␊
03 NRF_RTC1             Non-Secure⇥	OK␍␊
04 NRF_NVMC             Non-Secure⇥	OK␍␊
05 NRF_UARTE1           Non-Secure⇥	OK␍␊
06 NRF_UARTE2           Secure⇥	⇥	SKIP␍␊
07 NRF_TWIM2            Non-Secure⇥	OK␍␊
08 NRF_SPIM3            Non-Secure⇥	OK␍␊
09 NRF_TIMER0           Non-Secure⇥	OK␍␊
10 NRF_TIMER1           Non-Secure⇥	OK␍␊
11 NRF_TIMER2           Non-Secure⇥	OK␍␊
12 NRF_SAADC            Non-Secure⇥	OK␍␊
13 NRF_PWM0             Non-Secure⇥	OK␍␊
14 NRF_PWM1             Non-Secure⇥	OK␍␊
15 NRF_PWM2             Non-Secure⇥	OK␍␊
16 NRF_PWM3             Non-Secure⇥	OK␍␊
17 NRF_WDT              Non-Secure⇥	OK␍␊
18 NRF_IPC              Non-Secure⇥	OK␍␊
19 NRF_VMC              Non-Secure⇥	OK␍␊
20 NRF_FPU              Non-Secure⇥	OK␍␊
21 NRF_EGU1             Non-Secure⇥	OK␍␊
22 NRF_EGU2             Non-Secure⇥	OK␍␊
23 NRF_DPPIC            Non-Secure⇥	OK␍␊
24 NRF_REGULATORS       Non-Secure⇥	OK␍␊
25 NRF_GPIOTE1          Non-Secure⇥	OK␍␊
␍␊
SPM: NS image at 0xc000␍␊
SPM: NS MSP at 0x2001bc88␍␊
SPM: NS reset vector at 0x1028d␍␊
SPM: prepare to jump to Non-Secure image.␍␊
E: Device id 00 00 00 does not match config c2 28 17␍␊
*** Booting Zephyr OS build v2.4.99-ncs1  ***␍␊
HTTP full modem update sample started␍␊
Failed to get flash device: MX25R64␍␊&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: full_modem_update: "Failed to get flash device: MX25R64"</title><link>https://devzone.nordicsemi.com/thread/311021?ContentTypeID=1</link><pubDate>Fri, 21 May 2021 11:30:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77946f1e-31bb-427f-bf62-593b7229252f</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Since the older versions of the DK&amp;#39;s don&amp;#39;t have an external flash, you need to make sure to specify the board revision when building the project (see &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_nrf9160.html#board-revisions"&gt;Board revisions&lt;/a&gt;).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>