<?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>How to use M95P32 to replace the current external flash</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106346/how-to-use-m95p32-to-replace-the-current-external-flash</link><description>Hi, 
 We&amp;#39;re going to use external SPI EEPROM, but which is working on the DK board&amp;#39;s MX25R64 
 How to configure MCUboot&amp;amp;OTA using external SPI EEPROM memory? 
 I expect to get all the configuration processes and files that must be modified, such as overlay</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 26 Feb 2024 06:45:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106346/how-to-use-m95p32-to-replace-the-current-external-flash" /><item><title>RE: How to use M95P32 to replace the current external flash</title><link>https://devzone.nordicsemi.com/thread/470609?ContentTypeID=1</link><pubDate>Mon, 26 Feb 2024 06:45:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10ef7dc0-69a9-45fa-89f9-cc189503c271</guid><dc:creator>SunHuang</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Sigurd&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I have used the SPI-NOR driver to replace the original method, and this method seems to work&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use M95P32 to replace the current external flash</title><link>https://devzone.nordicsemi.com/thread/470490?ContentTypeID=1</link><pubDate>Fri, 23 Feb 2024 14:45:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9429f97c-2c0d-4c25-8f96-f4d1932e0cbd</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Here is what I look at for the error message:&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/4035.pastedimage1708699436807v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;So, we are only working with the MCUboot child image now.&lt;/p&gt;
&lt;p&gt;The first error, I think you should be able to find a solution for if you search for it along with &amp;quot;Mcuboot&amp;quot; here on devzone.&lt;/p&gt;
&lt;p&gt;For the other two, you are missing something related to SPI.&lt;br /&gt;Do you have enabled SPI in both DTS and Kconfig for your child image?&lt;/p&gt;
[quote user="SunHuang"]I changed&amp;nbsp;&amp;quot;child_image\mcuboot\prj.conf &amp;quot;and &amp;quot;child_image\mcuboot\boards\nrf5340dk_nrf5340_cpuapp.overlay[/quote]
&lt;p&gt;Also, how did you change these?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use M95P32 to replace the current external flash</title><link>https://devzone.nordicsemi.com/thread/470341?ContentTypeID=1</link><pubDate>Fri, 23 Feb 2024 00:26:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60bb9184-0820-4c83-9391-e633aa71c3c4</guid><dc:creator>SunHuang</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi&amp;nbsp;&lt;/span&gt;&lt;span&gt;Sigurd&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The text message cannot be inserted,Please refer to the attached file&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use M95P32 to replace the current external flash</title><link>https://devzone.nordicsemi.com/thread/470254?ContentTypeID=1</link><pubDate>Thu, 22 Feb 2024 12:59:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3b27987-5897-4d91-99ed-ef6bec27faec</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Which errors?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use M95P32 to replace the current external flash</title><link>https://devzone.nordicsemi.com/thread/470134?ContentTypeID=1</link><pubDate>Thu, 22 Feb 2024 02:16:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94f35ecb-e615-4076-8282-51d7b92ccd97</guid><dc:creator>SunHuang</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi&amp;nbsp;&lt;/span&gt;&lt;span&gt;Sigurd&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I changed&amp;nbsp;&amp;quot;child_image\mcuboot\prj.conf &amp;quot;and &amp;quot;child_image\mcuboot\boards\nrf5340dk_nrf5340_cpuapp.overlay&amp;quot; but other errors occurred&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/config-_2600_-error-message.7z"&gt;devzone.nordicsemi.com/.../config-_2600_-error-message.7z&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use M95P32 to replace the current external flash</title><link>https://devzone.nordicsemi.com/thread/470087?ContentTypeID=1</link><pubDate>Wed, 21 Feb 2024 16:13:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57ae1c8b-3da9-452d-b91c-4d7eed029daf</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;the error message is&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;br /&gt;-- Found devicetree overlay: /home/sihe/ncs/nrf/samples/matter/lock/child_image/mcuboot/boards/nrf5340dk_nrf5340_cpuapp.overlay&lt;br /&gt;You must include the configuration of eeprom_m95p32&lt;br /&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;I guess that you are missing some configurations related to eeprom_m95p32 from child_image/mcuboot/boards/nrf5340dk_nrf5340_cpuapp.overlay.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use M95P32 to replace the current external flash</title><link>https://devzone.nordicsemi.com/thread/469650?ContentTypeID=1</link><pubDate>Tue, 20 Feb 2024 00:28:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8a8a44a-62b5-4e0c-851e-a3dea923d3cd</guid><dc:creator>SunHuang</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi&amp;nbsp;&lt;/span&gt;&lt;span&gt;Sigurd&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The information you have requested is attached below. Please accept my apologies for the delayed response.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;-- In: C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/mcuboot/zephyr, command: C:/ncs/toolchains/c57af46cb7/opt/bin/python.exe;C:/ncs/v2.5.0/zephyr/scripts/dts/gen_defines.py;--dts;C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/mcuboot/zephyr/zephyr.dts.pre;--dtc-flags;&amp;#39;-Wno-unique_unit_address_if_enabled&amp;#39;;--bindings-dirs;C:/ncs/v2.5.0/nrf/dts/bindings;C:/ncs/v2.5.0/zephyr/dts/bindings;--header-out;C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/mcuboot/zephyr/include/generated/devicetree_generated.h.new;--dts-out;C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/mcuboot/zephyr/zephyr.dts.new;--edt-pickle-out;C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/mcuboot/zephyr/edt.pickle;--vendor-prefixes;C:/ncs/v2.5.0/nrf/dts/bindings/vendor-prefixes.txt;--vendor-prefixes;C:/ncs/v2.5.0/zephyr/dts/bindings/vendor-prefixes.txt
-- Configuring incomplete, errors occurred!
CMake Error at C:/ncs/v2.5.0/nrf/cmake/multi_image.cmake:449 (message):
  CMake generation for mcuboot failed, aborting.  Command: 1
Call Stack (most recent call first):
  C:/ncs/v2.5.0/nrf/cmake/multi_image.cmake:178 (add_child_image_from_source)
  C:/ncs/v2.5.0/nrf/modules/mcuboot/CMakeLists.txt:268 (add_child_image)


-- Configuring incomplete, errors occurred!
See also &amp;quot;C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/CMakeFiles/CMakeOutput.log&amp;quot;.
See also &amp;quot;C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/CMakeFiles/CMakeError.log&amp;quot;.
FATAL ERROR: command exited with status 1: &amp;#39;C:\ncs\toolchains\c57af46cb7\opt\bin\cmake.EXE&amp;#39; -DWEST_PYTHON=C:/ncs/toolchains/c57af46cb7/opt/bin/python.exe &amp;#39;-Bc:\nordic\DL02_S2MB_KPD_Small\DL02_S2MB_KPD_Small_build&amp;#39; -GNinja -DBOARD=nrf5340dk_nrf5340_cpuapp -DNCS_TOOLCHAIN_VERSION=NONE &amp;#39;-DBOARD_ROOT=c:/nordic/dl02_s2mb_kpd_small;.&amp;#39; -DCONF_FILE=c:/nordic/DL02_S2MB_KPD_Small/prj.conf -DDTC_OVERLAY_FILE=c:/nordic/DL02_S2MB_KPD_Small/boards/nrf5340dk_nrf5340_cpuapp.overlay &amp;#39;-Sc:\nordic\DL02_S2MB_KPD_Small&amp;#39;

 *  The terminal process terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it. &lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/config.7z"&gt;devzone.nordicsemi.com/.../config.7z&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use M95P32 to replace the current external flash</title><link>https://devzone.nordicsemi.com/thread/469498?ContentTypeID=1</link><pubDate>Mon, 19 Feb 2024 12:39:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26ffab75-aa25-40d7-b111-b8fe47aced9f</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="SunHuang"]Can you test it with the &amp;quot;&lt;span&gt;v2.5.2\nrf\samples\matter\lock&lt;/span&gt;&amp;quot; to confirm whether there are build errors?[/quote]
&lt;p&gt;Since it is 25 days since last time I looked at this ticket:&lt;br /&gt;Could you upload what I should test with the lock sample again?&lt;br /&gt;That way we are sure we avoid misunderstandings.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use M95P32 to replace the current external flash</title><link>https://devzone.nordicsemi.com/thread/469401?ContentTypeID=1</link><pubDate>Mon, 19 Feb 2024 08:18:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b6e2250-ded5-4174-9619-e3fa8d780f90</guid><dc:creator>SunHuang</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi&amp;nbsp;&lt;/span&gt;&lt;span&gt;Sigurd&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;At present, my APP code has been roughly completed.&lt;/p&gt;
&lt;p&gt;But our products need to use external EEPROM for OTA.&lt;/p&gt;
&lt;p&gt;Can you test it with the &amp;quot;&lt;span&gt;v2.5.2\nrf\samples\matter\lock&lt;/span&gt;&amp;quot; to confirm whether there are build errors?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use M95P32 to replace the current external flash</title><link>https://devzone.nordicsemi.com/thread/465963?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2024 11:29:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:059bb819-f2de-4e8c-9f7e-5421b5268530</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;I tried to add your configurations to the hello world example, and I do not get the error. Am I missing anything?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/tmp.zip"&gt;devzone.nordicsemi.com/.../tmp.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use M95P32 to replace the current external flash</title><link>https://devzone.nordicsemi.com/thread/465478?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2024 06:45:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09dcda8a-3218-498b-984d-1e520cbf98ba</guid><dc:creator>SunHuang</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi&amp;nbsp;&lt;/span&gt;&lt;span&gt;Sigurd&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I only modified &amp;quot;overlay&amp;quot;, is there any additional operation required?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf5340dk_5F00_nrf5340_5F00_cpuapp.7z"&gt;devzone.nordicsemi.com/.../nrf5340dk_5F00_nrf5340_5F00_cpuapp.7z&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use M95P32 to replace the current external flash</title><link>https://devzone.nordicsemi.com/thread/465026?ContentTypeID=1</link><pubDate>Fri, 19 Jan 2024 12:04:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5407f0f-8ba2-4afb-bf13-49d4ea4481b5</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;The error is &amp;quot;devicetree error: /chosen: undefined node label &amp;#39;eeprom_m95p32&amp;#39;&amp;quot;&lt;/p&gt;
&lt;p&gt;Can you share the file where you define the dts for eeprom_m95p32?&lt;/p&gt;
&lt;p&gt;If you build without the &amp;quot;chosen&amp;quot; part for DTS, can you share build/zephyr/zephyr.dts for that build?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use M95P32 to replace the current external flash</title><link>https://devzone.nordicsemi.com/thread/464939?ContentTypeID=1</link><pubDate>Fri, 19 Jan 2024 03:50:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01e08fcd-f31e-4bde-ac8c-afcef1d41b99</guid><dc:creator>SunHuang</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi&amp;nbsp;&lt;/span&gt;&lt;span&gt;Sigurd&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The compiler will report an error when I modify the &amp;quot;child image&amp;quot;&lt;/span&gt;&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/pastedimage1705635310886v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt; *  Executing task: nRF Connect: Build: DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build (active) 

Building DL02_S2MB_KPD_Small
west build --build-dir c:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build c:/nordic/DL02_S2MB_KPD_Small

[0/1] Re-running CMake...
Loading Zephyr default modules (Zephyr base (cached)).
-- Application: C:/nordic/DL02_S2MB_KPD_Small
-- CMake version: 3.20.5
-- Found Python3: C:/ncs/toolchains/c57af46cb7/opt/bin/python.exe (found suitable version &amp;quot;3.8.2&amp;quot;, minimum required is &amp;quot;3.8&amp;quot;) found components: Interpreter 
-- Cache files will be written to: C:/ncs/v2.5.0/zephyr/.cache
-- Zephyr version: 3.4.99 (C:/ncs/v2.5.0/zephyr)
-- Found west (found suitable version &amp;quot;1.1.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: nrf5340dk_nrf5340_cpuapp
-- Found host-tools: zephyr 0.16.1 (C:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.16.1 (C:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk)
-- Found BOARD.dts: C:/ncs/v2.5.0/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp.dts
-- Found devicetree overlay: c:/nordic/DL02_S2MB_KPD_Small/boards/nrf5340dk_nrf5340_cpuapp.overlay
node &amp;#39;/soc/peripheral@50000000/i2c@9000/outside@5B&amp;#39; compatible &amp;#39;sunion,outside&amp;#39; has unknown vendor prefix &amp;#39;sunion&amp;#39;
node &amp;#39;/soc/peripheral@50000000/i2c@9000/store@50&amp;#39; compatible &amp;#39;sunion,eeprom&amp;#39; has unknown vendor prefix &amp;#39;sunion&amp;#39;
node &amp;#39;/soc/peripheral@50000000/i2c@9000/timer@32&amp;#39; compatible &amp;#39;sunion,rtc&amp;#39; has unknown vendor prefix &amp;#39;sunion&amp;#39;
-- Generated zephyr.dts: C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/zephyr/zephyr.dts
-- Generated devicetree_generated.h: C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/zephyr/dts.cmake
Parsing C:/nordic/DL02_S2MB_KPD_Small/Kconfig
Loaded configuration &amp;#39;C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/zephyr/.config&amp;#39;
No change to configuration in &amp;#39;C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/zephyr/.config&amp;#39;
No change to Kconfig header in &amp;#39;C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/zephyr/include/generated/autoconf.h&amp;#39;

warning: Deprecated symbol IEEE802154_2015 is enabled.


warning: Deprecated symbol CPLUSPLUS is enabled.


warning: Deprecated symbol LIB_CPLUSPLUS is enabled.


=== child image multiprotocol_rpmsg - CPUNET begin ===
loading initial cache file C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/multiprotocol_rpmsg/child_image_preload.cmake
Loading Zephyr default modules (Zephyr base (cached)).
-- Application: C:/ncs/v2.5.0/nrf/samples/nrf5340/multiprotocol_rpmsg
-- CMake version: 3.20.5
-- Cache files will be written to: C:/ncs/v2.5.0/zephyr/.cache
-- Zephyr version: 3.4.99 (C:/ncs/v2.5.0/zephyr)
-- Found west (found suitable version &amp;quot;1.1.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: nrf5340dk_nrf5340_cpunet
-- Found host-tools: zephyr 0.16.1 (C:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.16.1 (C:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk)
-- Found BOARD.dts: C:/ncs/v2.5.0/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet.dts
-- Generated zephyr.dts: C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/multiprotocol_rpmsg/zephyr/zephyr.dts
-- Generated devicetree_generated.h: C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/multiprotocol_rpmsg/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/multiprotocol_rpmsg/zephyr/dts.cmake
Parsing C:/ncs/v2.5.0/modules/lib/matter/config/nrfconnect/chip-module/Kconfig.multiprotocol_rpmsg.root
Loaded configuration &amp;#39;C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/multiprotocol_rpmsg/zephyr/.config&amp;#39;
No change to configuration in &amp;#39;C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/multiprotocol_rpmsg/zephyr/.config&amp;#39;
No change to Kconfig header in &amp;#39;C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/multiprotocol_rpmsg/zephyr/include/generated/autoconf.h&amp;#39;

=== child image b0n - CPUNET (inherited) begin ===
loading initial cache file C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/multiprotocol_rpmsg/b0n/child_image_preload.cmake
Loading Zephyr default modules (Zephyr base (cached)).
-- Application: C:/ncs/v2.5.0/nrf/samples/nrf5340/netboot
-- CMake version: 3.20.5
-- Cache files will be written to: C:/ncs/v2.5.0/zephyr/.cache
-- Zephyr version: 3.4.99 (C:/ncs/v2.5.0/zephyr)
-- Found west (found suitable version &amp;quot;1.1.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: nrf5340dk_nrf5340_cpunet
-- Found host-tools: zephyr 0.16.1 (C:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.16.1 (C:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk)
-- Found BOARD.dts: C:/ncs/v2.5.0/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet.dts
-- Generated zephyr.dts: C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/multiprotocol_rpmsg/b0n/zephyr/zephyr.dts
-- Generated devicetree_generated.h: C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/multiprotocol_rpmsg/b0n/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/multiprotocol_rpmsg/b0n/zephyr/dts.cmake
Parsing C:/ncs/v2.5.0/nrf/samples/nrf5340/netboot/Kconfig
Loaded configuration &amp;#39;C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/multiprotocol_rpmsg/b0n/zephyr/.config&amp;#39;
No change to configuration in &amp;#39;C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/multiprotocol_rpmsg/b0n/zephyr/.config&amp;#39;
No change to Kconfig header in &amp;#39;C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/multiprotocol_rpmsg/b0n/zephyr/include/generated/autoconf.h&amp;#39;
CMake Warning at C:/ncs/v2.5.0/zephyr/CMakeLists.txt:1958 (message):
  __ASSERT() statements are globally ENABLED


-- Configuring done
-- Generating done
-- Build files have been written to: C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/multiprotocol_rpmsg/b0n
=== child image b0n - CPUNET (inherited) end ===

CMake Warning at ../../../subsys/bootloader/cmake/debug_keys.cmake:36 (message):
  

      --------------------------------------------------------------
      --- WARNING: Using generated NSIB public/private key-pair. ---
      --- It should not be used for production.                  ---
      --- See CONFIG_SB_SIGNING_KEY_FILE                         ---
      --------------------------------------------------------------
      

Call Stack (most recent call first):
  ../../../subsys/bootloader/cmake/provision_hex.cmake:47 (include)
  ../../../subsys/CMakeLists.txt:20 (include)


-- libmetal version: 1.4.0 (C:/ncs/v2.5.0/nrf/samples/nrf5340/multiprotocol_rpmsg)
-- Build type:  
-- Host:    Windows/AMD64
-- Target:  Generic/arm
-- Machine: arm
-- open-amp version: 1.4.0 (C:/ncs/v2.5.0/modules/lib/open-amp/open-amp)
-- Host:    Windows/AMD64
-- Target:  Generic/arm
-- Machine: arm
-- C_FLAGS :  -Wall -Wextra
CMake Warning at C:/ncs/v2.5.0/zephyr/CMakeLists.txt:893 (message):
  No SOURCES given to Zephyr library: drivers__console

  Excluding target from build.


CMake Warning at C:/ncs/v2.5.0/zephyr/CMakeLists.txt:1958 (message):
  __ASSERT() statements are globally ENABLED


CMake Warning at C:/ncs/v2.5.0/nrf/cmake/partition_manager.cmake:79 (message):
  

          ---------------------------------------------------------------------
          --- WARNING: Using a bootloader without pm_static.yml.            ---
          --- There are cases where a deployed product can consist of       ---
          --- multiple images, and only a subset of these images can be     ---
          --- upgraded through a firmware update mechanism. In such cases,  ---
          --- the upgradable images must have partitions that are static    ---
          --- and are matching the partition map used by the bootloader     ---
          --- programmed onto the device.                                   ---
          ---------------------------------------------------------------------
          

Call Stack (most recent call first):
  C:/ncs/v2.5.0/zephyr/cmake/modules/kernel.cmake:247 (include)
  C:/ncs/v2.5.0/zephyr/cmake/modules/zephyr_default.cmake:138 (include)
  C:/ncs/v2.5.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  C:/ncs/v2.5.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:97 (include_boilerplate)
  CMakeLists.txt:5 (find_package)


-- Configuring done
-- Generating done
-- Build files have been written to: C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/multiprotocol_rpmsg
=== child image multiprotocol_rpmsg - CPUNET end ===

-- Found Python3: C:/ncs/toolchains/c57af46cb7/opt/bin/python.exe (found version &amp;quot;3.8.2&amp;quot;) found components: Interpreter 

=== child image mcuboot -  begin ===
loading initial cache file C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/mcuboot/child_image_preload.cmake
Loading Zephyr default modules (Zephyr base (cached)).
-- Application: C:/ncs/v2.5.0/bootloader/mcuboot/boot/zephyr
-- CMake version: 3.20.5
-- Cache files will be written to: C:/ncs/v2.5.0/zephyr/.cache
-- Zephyr version: 3.4.99 (C:/ncs/v2.5.0/zephyr)
-- Found west (found suitable version &amp;quot;1.1.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: nrf5340dk_nrf5340_cpuapp
-- Found host-tools: zephyr 0.16.1 (C:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.16.1 (C:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk)
-- Found BOARD.dts: C:/ncs/v2.5.0/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp.dts
-- Found devicetree overlay: C:/ncs/v2.5.0/nrf/modules/mcuboot/flash_sim.overlay
-- Found devicetree overlay: C:/nordic/DL02_S2MB_KPD_Small/child_image/mcuboot/boards/nrf5340dk_nrf5340_cpuapp.overlay
devicetree error: /chosen: undefined node label &amp;#39;eeprom_m95p32&amp;#39;
CMake Error at C:/ncs/v2.5.0/zephyr/cmake/modules/dts.cmake:279 (message):
-- In: C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/mcuboot/zephyr, command: C:/ncs/toolchains/c57af46cb7/opt/bin/python.exe;C:/ncs/v2.5.0/zephyr/scripts/dts/gen_defines.py;--dts;C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/mcuboot/zephyr/zephyr.dts.pre;--dtc-flags;&amp;#39;-Wno-unique_unit_address_if_enabled&amp;#39;;--bindings-dirs;C:/ncs/v2.5.0/nrf/dts/bindings;C:/ncs/v2.5.0/zephyr/dts/bindings;--header-out;C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/mcuboot/zephyr/include/generated/devicetree_generated.h.new;--dts-out;C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/mcuboot/zephyr/zephyr.dts.new;--edt-pickle-out;C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/mcuboot/zephyr/edt.pickle;--vendor-prefixes;C:/ncs/v2.5.0/nrf/dts/bindings/vendor-prefixes.txt;--vendor-prefixes;C:/ncs/v2.5.0/zephyr/dts/bindings/vendor-prefixes.txt
  gen_defines.py failed with return code: 1
Call Stack (most recent call first):
  C:/ncs/v2.5.0/zephyr/cmake/modules/zephyr_default.cmake:129 (include)
  C:/ncs/v2.5.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  C:/ncs/v2.5.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:97 (include_boilerplate)
  CMakeLists.txt:31 (find_package)


-- Configuring incomplete, errors occurred!
See also &amp;quot;C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/mcuboot/CMakeFiles/CMakeOutput.log&amp;quot;.
See also &amp;quot;C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/mcuboot/CMakeFiles/CMakeError.log&amp;quot;.
CMake Error at C:/ncs/v2.5.0/nrf/cmake/multi_image.cmake:449 (message):
  CMake generation for mcuboot failed, aborting.  Command: 1
Call Stack (most recent call first):
  C:/ncs/v2.5.0/nrf/cmake/multi_image.cmake:178 (add_child_image_from_source)
  C:/ncs/v2.5.0/nrf/modules/mcuboot/CMakeLists.txt:268 (add_child_image)


-- Configuring incomplete, errors occurred!
See also &amp;quot;C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/CMakeFiles/CMakeOutput.log&amp;quot;.
See also &amp;quot;C:/nordic/DL02_S2MB_KPD_Small/DL02_S2MB_KPD_Small_build/CMakeFiles/CMakeError.log&amp;quot;.
FAILED: build.ninja 
C:\ncs\toolchains\c57af46cb7\opt\bin\cmake.exe --regenerate-during-build -SC:\nordic\DL02_S2MB_KPD_Small -BC:\nordic\DL02_S2MB_KPD_Small\DL02_S2MB_KPD_Small_build
ninja: error: rebuilding &amp;#39;build.ninja&amp;#39;: subcommand failed
FATAL ERROR: command exited with status 1: &amp;#39;C:\ncs\toolchains\c57af46cb7\opt\bin\cmake.EXE&amp;#39; --build &amp;#39;c:\nordic\DL02_S2MB_KPD_Small\DL02_S2MB_KPD_Small_build&amp;#39;

 *  The terminal process terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it. &lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use M95P32 to replace the current external flash</title><link>https://devzone.nordicsemi.com/thread/464723?ContentTypeID=1</link><pubDate>Thu, 18 Jan 2024 07:47:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:396a36f5-579e-4a90-b19d-58e53daa3560</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Are you looking for &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/config_and_build/bootloaders/bootloader_external_flash.html"&gt;Bootloaders: Using external flash memory partitions&lt;/a&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use M95P32 to replace the current external flash</title><link>https://devzone.nordicsemi.com/thread/464720?ContentTypeID=1</link><pubDate>Thu, 18 Jan 2024 07:35:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b32e0f32-f890-49db-9e52-c743b8b78562</guid><dc:creator>SunHuang</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Sigurd&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Anyway, QSPI is currently&amp;nbsp;disabled and M95P32 control via SPI has been completed,&lt;/p&gt;
&lt;p&gt;is MCU BOOT section able to describe clearly how to implement this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use M95P32 to replace the current external flash</title><link>https://devzone.nordicsemi.com/thread/459723?ContentTypeID=1</link><pubDate>Mon, 11 Dec 2023 14:09:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:694607df-9c2a-400b-afba-a6f2afc8df47</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="SunHuang"]Can you directly provide the setting method?[/quote]
&lt;p&gt;No.&lt;/p&gt;
&lt;p&gt;We can help you get to your goals, as well as debug issues.&lt;br /&gt;But we do not provide on-demand code development services. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use M95P32 to replace the current external flash</title><link>https://devzone.nordicsemi.com/thread/459629?ContentTypeID=1</link><pubDate>Mon, 11 Dec 2023 07:01:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d69ab6f-9b12-4a26-ac60-e95b14516510</guid><dc:creator>SunHuang</dc:creator><description>&lt;p&gt;So far I have successfully used the SPI interface,But what I need is to use M95P32 as external flash.&lt;/p&gt;
&lt;p&gt;Can you directly provide the setting method?&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/pastedimage1702278103104v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use M95P32 to replace the current external flash</title><link>https://devzone.nordicsemi.com/thread/459150?ContentTypeID=1</link><pubDate>Wed, 06 Dec 2023 11:41:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e1fe7d2-5173-48c7-98dc-c45403794ee4</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;When you use MCUboot in the nRF Connect SDK, the Partition Manager is enabled, and then you must enable &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/scripts/partition_manager/partition_manager.html#external-flash-memory-partitions"&gt;external flash&lt;/a&gt; for the Partition Manager.&lt;/p&gt;
&lt;p&gt;For our nRF5340DK, external flash is by default configured for QSPI, so next we need to configure external flash for SPI. For an example on how this can be done, see this &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/d354436a6990ea86ea6bde06c997c932f8c79760/samples/cellular/modem_trace_flash/boards/nrf9160dk_nrf9160_ns.overlay#L10-L28"&gt;nrf9160dk_nrf9160_ns.overlay&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;We also need to set the same configurations for the MCUboot &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/config_and_build/multi_image.html#permanent-configuration-changes-to-child-images"&gt;child image&lt;/a&gt;, se for example &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/main/tests/modules/mcuboot/external_flash/child_image/mcuboot/boards/nrf5340dk_nrf5340_cpuapp.overlay"&gt;child_image/mcuboot/boards/nrf5340dk_nrf5340_cpuapp.overlay&lt;/a&gt; or &lt;a href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/blob/main/bootloader_samples/smp/mcuboot_smp_uart_feat_external_flash/child_image/mcuboot.overlay"&gt;child_image/mcuboot.overlay&lt;/a&gt;.&lt;br /&gt;Lastly, we need to set some configurations for external flash for the child image as well. Such as &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/d354436a6990ea86ea6bde06c997c932f8c79760/samples/cellular/modem_trace_flash/boards/nrf9160dk_nrf9160_ns.conf#L7-L11"&gt;nrf9160dk_nrf9160_ns.conf&lt;/a&gt;, for both application and child image.&lt;/p&gt;
&lt;p&gt;Try this, and let me know if you face any issues.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use M95P32 to replace the current external flash</title><link>https://devzone.nordicsemi.com/thread/459093?ContentTypeID=1</link><pubDate>Wed, 06 Dec 2023 03:56:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54f9c37e-c5b7-497b-a534-5698e7adb8a7</guid><dc:creator>SunHuang</dc:creator><description>&lt;p&gt;&lt;span&gt;&lt;/span&gt;Yes, we want to use SPI interface.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use M95P32 to replace the current external flash</title><link>https://devzone.nordicsemi.com/thread/458925?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2023 10:19:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d952e151-260a-4b03-899b-9df6e4774a02</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;First to check: It is possible to use external flash with either QSPI or SPI.&lt;br /&gt;And you want SPI, right?&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>