<?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 getting corrupted after MCU reboot</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/127493/external-flash-getting-corrupted-after-mcu-reboot</link><description>Hi, I am using NCS v2.9.0. 
 I am using sysbuild to build MCUboot and application images. Following are relevant Kconfig options: 
 mcuboot.conf 
 
 CONFIG_MAIN_STACK_SIZE =10240 
 
 CONFIG_DISABLE_FLASH_PATCH =y 
 CONFIG_RETENTION =y 
 CONFIG_RETAINED_MEM</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 19 Mar 2026 10:11:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/127493/external-flash-getting-corrupted-after-mcu-reboot" /><item><title>RE: External flash getting corrupted after MCU reboot</title><link>https://devzone.nordicsemi.com/thread/563649?ContentTypeID=1</link><pubDate>Thu, 19 Mar 2026 10:11:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:404fb291-b6ce-4b1f-8a91-7bca73b6731c</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Glad to hear that the your issue has been resolved.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External flash getting corrupted after MCU reboot</title><link>https://devzone.nordicsemi.com/thread/563615?ContentTypeID=1</link><pubDate>Wed, 18 Mar 2026 20:13:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8c92b0e-521a-44cc-8703-9cdf6cee8b1e</guid><dc:creator>Golaz</dc:creator><description>&lt;p&gt;The issue was I set sck frequency of external flash to 133 MHz, while nRF52840 QSPI peripheral goes only up to 32 MHz.&lt;br /&gt;No build warning or error was issued.&lt;br /&gt;I have no idea what the clock frequency was set to QSPI peripheral.&lt;br /&gt;&lt;br /&gt;Setting sck frequency of external flash to 20 MHz. It works now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External flash getting corrupted after MCU reboot</title><link>https://devzone.nordicsemi.com/thread/563613?ContentTypeID=1</link><pubDate>Wed, 18 Mar 2026 18:27:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dcc716ea-ba8f-414f-88c6-3e386f69e9fb</guid><dc:creator>Golaz</dc:creator><description>&lt;p&gt;I have noticed that immediately after MCU reset flash CS pin is pulled low 3 times with approx. 1us&amp;nbsp;pulse length. And CLK is also toggled a few times. This happens BEFORE mcuboot main() function is entered, so it must be done in the kernel.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>