<?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>do not open flash nor area partition</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/121531/do-not-open-flash-nor-area-partition</link><description>Hi Support, 
 I&amp;#39;m working on a project where I need to copy the contents of the internal flash from slot_0 to an external NOR flash partition. However, I&amp;#39;m currently unable to access the partition named fota-body . After building the project, I get the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 16 May 2025 15:00:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/121531/do-not-open-flash-nor-area-partition" /><item><title>RE: do not open flash nor area partition</title><link>https://devzone.nordicsemi.com/thread/535830?ContentTypeID=1</link><pubDate>Fri, 16 May 2025 15:00:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24dd87f1-4d4f-4e9f-81ba-6a27df95d015</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thanks for the update Yes, the pm-ext-flash&amp;nbsp;property must be set as well (&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/scripts/partition_manager/partition_manager.html#pm-external-flash"&gt;&lt;span&gt;External flash memory partitions&lt;/span&gt;&lt;/a&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: do not open flash nor area partition</title><link>https://devzone.nordicsemi.com/thread/535827?ContentTypeID=1</link><pubDate>Fri, 16 May 2025 14:51:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40d1ffa3-5bf4-4c5d-bf77-82d1ca7cddc7</guid><dc:creator>babos</dc:creator><description>&lt;div&gt;maybe this was missing in the overlay:&lt;/div&gt;
&lt;div&gt;&lt;span&gt;/&lt;/span&gt;&lt;span&gt; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;chosen&lt;/span&gt;&lt;span&gt; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;nordic,pm-ext-flash&lt;/span&gt;&lt;span&gt; = &amp;amp;&lt;/span&gt;&lt;span&gt;mx25r64&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; };&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div&gt;&lt;span&gt;};&lt;br /&gt;&lt;br /&gt;after add:&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/* File generated by /opt/nordic/ncs/v2.6.2/nrf/scripts/partition_manager_output.py, do not modify */
#ifndef PM_CONFIG_H__
#define PM_CONFIG_H__
#define PM_APP_OFFSET 0x0
#define PM_APP_ADDRESS 0x0
#define PM_APP_END_ADDRESS 0x100000
#define PM_APP_SIZE 0x100000
#define PM_APP_NAME app
#define PM_APP_ID 0
#define PM_app_ID PM_APP_ID
#define PM_app_IS_ENABLED 1
#define PM_0_LABEL APP
#define PM_APP_DEV flash_controller
#define PM_APP_DEFAULT_DRIVER_KCONFIG CONFIG_SOC_FLASH_NRF
#define PM_EXTERNAL_FLASH_OFFSET 0x0
#define PM_EXTERNAL_FLASH_ADDRESS 0x0
#define PM_EXTERNAL_FLASH_END_ADDRESS 0x800000
#define PM_EXTERNAL_FLASH_SIZE 0x800000
#define PM_EXTERNAL_FLASH_NAME external_flash
#define PM_EXTERNAL_FLASH_ID 1
#define PM_external_flash_ID PM_EXTERNAL_FLASH_ID
#define PM_external_flash_IS_ENABLED 1
#define PM_1_LABEL EXTERNAL_FLASH
#define PM_EXTERNAL_FLASH_DEV DT_CHOSEN(nordic_pm_ext_flash)
#define PM_EXTERNAL_FLASH_DEFAULT_DRIVER_KCONFIG CONFIG_PM_EXTERNAL_FLASH_HAS_DRIVER
#define PM_FOTA_HEADER_OFFSET 0x0
#define PM_FOTA_HEADER_ADDRESS 0x0
#define PM_FOTA_HEADER_END_ADDRESS 0x8000
#define PM_FOTA_HEADER_SIZE 0x8000
#define PM_FOTA_HEADER_NAME fota_header
#define PM_FOTA_HEADER_ID 2
#define PM_fota_header_ID PM_FOTA_HEADER_ID
#define PM_fota_header_IS_ENABLED 1
#define PM_2_LABEL FOTA_HEADER
#define PM_FOTA_HEADER_DEV DT_CHOSEN(nordic_pm_ext_flash)
#define PM_FOTA_HEADER_DEFAULT_DRIVER_KCONFIG CONFIG_PM_EXTERNAL_FLASH_HAS_DRIVER
#define PM_FOTA_BODY_OFFSET 0x8000
#define PM_FOTA_BODY_ADDRESS 0x8000
#define PM_FOTA_BODY_END_ADDRESS 0x80000
#define PM_FOTA_BODY_SIZE 0x78000
#define PM_FOTA_BODY_NAME fota_body
#define PM_FOTA_BODY_ID 3
#define PM_fota_body_ID PM_FOTA_BODY_ID
#define PM_fota_body_IS_ENABLED 1
#define PM_3_LABEL FOTA_BODY
#define PM_FOTA_BODY_DEV DT_CHOSEN(nordic_pm_ext_flash)
#define PM_FOTA_BODY_DEFAULT_DRIVER_KCONFIG CONFIG_PM_EXTERNAL_FLASH_HAS_DRIVER
#define PM_CUSTOM_ARRAY_OFFSET 0x80000
#define PM_CUSTOM_ARRAY_ADDRESS 0x80000
#define PM_CUSTOM_ARRAY_END_ADDRESS 0x100000
#define PM_CUSTOM_ARRAY_SIZE 0x80000
#define PM_CUSTOM_ARRAY_NAME custom_array
#define PM_CUSTOM_ARRAY_ID 4
#define PM_custom_array_ID PM_CUSTOM_ARRAY_ID
#define PM_custom_array_IS_ENABLED 1
#define PM_4_LABEL CUSTOM_ARRAY
#define PM_CUSTOM_ARRAY_DEV DT_CHOSEN(nordic_pm_ext_flash)
#define PM_CUSTOM_ARRAY_DEFAULT_DRIVER_KCONFIG CONFIG_PM_EXTERNAL_FLASH_HAS_DRIVER
#define PM_CONFIGURATIONS_OFFSET 0x100000
#define PM_CONFIGURATIONS_ADDRESS 0x100000
#define PM_CONFIGURATIONS_END_ADDRESS 0x140000
#define PM_CONFIGURATIONS_SIZE 0x40000
#define PM_CONFIGURATIONS_NAME configurations
#define PM_CONFIGURATIONS_ID 5
#define PM_configurations_ID PM_CONFIGURATIONS_ID
#define PM_configurations_IS_ENABLED 1
#define PM_5_LABEL CONFIGURATIONS
#define PM_CONFIGURATIONS_DEV DT_CHOSEN(nordic_pm_ext_flash)
#define PM_CONFIGURATIONS_DEFAULT_DRIVER_KCONFIG CONFIG_PM_EXTERNAL_FLASH_HAS_DRIVER
#define PM_EMPTY_1_OFFSET 0x140000
#define PM_EMPTY_1_ADDRESS 0x140000
#define PM_EMPTY_1_END_ADDRESS 0x800000
#define PM_EMPTY_1_SIZE 0x6c0000
#define PM_EMPTY_1_NAME EMPTY_1
#define PM_EMPTY_1_ID 6
#define PM_empty_1_ID PM_EMPTY_1_ID
#define PM_empty_1_IS_ENABLED 1
#define PM_6_LABEL EMPTY_1
#define PM_EMPTY_1_DEV DT_CHOSEN(nordic_pm_ext_flash)
#define PM_EMPTY_1_DEFAULT_DRIVER_KCONFIG CONFIG_PM_EXTERNAL_FLASH_HAS_DRIVER
#define PM_OTP_OFFSET 0x0
#define PM_OTP_ADDRESS 0xff8100
#define PM_OTP_END_ADDRESS 0xff83fc
#define PM_OTP_SIZE 0x2fc
#define PM_OTP_NAME otp
#define PM_SRAM_PRIMARY_OFFSET 0x0
#define PM_SRAM_PRIMARY_ADDRESS 0x20000000
#define PM_SRAM_PRIMARY_END_ADDRESS 0x20080000
#define PM_SRAM_PRIMARY_SIZE 0x80000
#define PM_SRAM_PRIMARY_NAME sram_primary
#define PM_NUM 7
#define PM_ALL_BY_SIZE &amp;quot;otp fota_header configurations fota_body custom_array sram_primary app EMPTY_1 external_flash&amp;quot;
#define PM_ADDRESS 0x0
#define PM_SIZE 0x100000
#define PM_SRAM_ADDRESS 0x20000000
#define PM_SRAM_SIZE 0x80000
#endif /* PM_CONFIG_H__ */&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;thank you so much&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Babos&lt;/span&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: do not open flash nor area partition</title><link>https://devzone.nordicsemi.com/thread/535826?ContentTypeID=1</link><pubDate>Fri, 16 May 2025 14:45:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92786a41-3685-4341-9112-56c2040c1ad4</guid><dc:creator>babos</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;now the pm_static.yml:&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;###&amp;#160;EXTERNAL FLASH PARTITION TABLE ###

external_flash:
  address: 0x0
  device: MX25R64
  end_address: 0x800000
  region: external_flash
  size: 0x800000 # 8MB

fota_header: # Padding di 32kB con informazioni sulla versione
  address: 0x0
  device: MX25R64
  region: external_flash
  size: 0x8000 # 32kB

fota_body: # Fota Body
  address: 0x8000
  device: MX25R64
  region: external_flash
  share_size:
  - mcuboot_primary
  size: 0x78000 # 480 kB

custom_array: # Firmware BHI360
  address: 0x80000
  device: MX25R64
  region: external_flash
  size: 0x80000 # 512 kB

configurations: # Configurazioni
  address: 0x100000
  device: MX25R64
  region: external_flash
  size: 0x40000 # 256 kB

EMPTY_1: # I restanti
  address: 0x140000
  device: MX25R64
  region: external_flash
  size: 0x6C0000 # 6.75 MB&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;then, pm_config.h:&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/* File generated by /opt/nordic/ncs/v2.6.2/nrf/scripts/partition_manager_output.py, do not modify */
#ifndef PM_CONFIG_H__
#define PM_CONFIG_H__
#define PM_APP_OFFSET 0x0
#define PM_APP_ADDRESS 0x0
#define PM_APP_END_ADDRESS 0x100000
#define PM_APP_SIZE 0x100000
#define PM_APP_NAME app
#define PM_APP_ID 0
#define PM_app_ID PM_APP_ID
#define PM_app_IS_ENABLED 1
#define PM_0_LABEL APP
#define PM_APP_DEV flash_controller
#define PM_APP_DEFAULT_DRIVER_KCONFIG CONFIG_SOC_FLASH_NRF
#define PM_OTP_OFFSET 0x0
#define PM_OTP_ADDRESS 0xff8100
#define PM_OTP_END_ADDRESS 0xff83fc
#define PM_OTP_SIZE 0x2fc
#define PM_OTP_NAME otp
#define PM_SRAM_PRIMARY_OFFSET 0x0
#define PM_SRAM_PRIMARY_ADDRESS 0x20000000
#define PM_SRAM_PRIMARY_END_ADDRESS 0x20080000
#define PM_SRAM_PRIMARY_SIZE 0x80000
#define PM_SRAM_PRIMARY_NAME sram_primary
#define PM_NUM 1
#define PM_ALL_BY_SIZE &amp;quot;otp sram_primary app&amp;quot;
#define PM_ADDRESS 0x0
#define PM_SIZE 0x100000
#define PM_SRAM_ADDRESS 0x20000000
#define PM_SRAM_SIZE 0x80000
#endif /* PM_CONFIG_H__ */&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;are all right for you ?&lt;br /&gt;I don&amp;#39;t see external flash section&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thx&amp;#39;s always,&lt;br /&gt;&lt;br /&gt;Babos&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: do not open flash nor area partition</title><link>https://devzone.nordicsemi.com/thread/535817?ContentTypeID=1</link><pubDate>Fri, 16 May 2025 14:02:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:630bea03-ec0a-4712-aaa7-f90a42a666ef</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;span&gt;Babos,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please check the generated pm_config.h header in your build folder to find the symbols generated for your pm static file (build/zephyr/include/generated). Also, the&amp;nbsp;external_flash flash region does not specify which Q/SPI flash device you are using which is required, see&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-connectedhomeip/blob/e6a1e8e9a010c641c9998e197e65bea15cce8c11/examples/all-clusters-app/nrfconnect/configuration/nrf7002dk_nrf5340_cpuapp/pm_static_dfu.yml#L51"&gt;https://github.com/nrfconnect/sdk-connectedhomeip/blob/e6a1e8e9a010c641c9998e197e65bea15cce8c11/examples/all-clusters-app/nrfconnect/configuration/nrf7002dk_nrf5340_cpuapp/pm_static_dfu.yml#L51&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Vidar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>