<?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>Partition Manager: pm_static + McuMgr + sysbuild</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/125037/partition-manager-pm_static-mcumgr-sysbuild</link><description>Using connect SDK 3.0.2 and a NRF-DK52840 my goal is fairly simple: My app should be updatable via BLE using a static partition table. I followed this tutorial: nRF Connect SDK hands-on, part 6: Adding FOTA over Bluetooth LE 
 So I added the following</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Oct 2025 07:52:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/125037/partition-manager-pm_static-mcumgr-sysbuild" /><item><title>RE: Partition Manager: pm_static + McuMgr + sysbuild</title><link>https://devzone.nordicsemi.com/thread/552592?ContentTypeID=1</link><pubDate>Tue, 28 Oct 2025 07:52:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3721055-13c7-43ef-bf19-a1434a511302</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for sharing the diagram. Though, there are tools already for this (per the first thing I wrote in this thread heh..)&amp;nbsp;Although it doesn&amp;#39;t draw it &amp;quot;pretty&amp;quot;:&lt;/p&gt;
[quote user="AHaug"]Could you check your partition map with the VS Code tool for memory report?&amp;nbsp;[/quote]
&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/pastedimage1761637708686v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This tool is also mentioned in the introduction/theory steps of the academy lesson about DFU and bootloaders&lt;/p&gt;
&lt;p&gt;You can also enter the build folder in cmd and use &amp;quot;&lt;em&gt;ninja partition_manager_report&amp;quot;&amp;nbsp;&lt;/em&gt;and get the output as:&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/pastedimage1761637867665v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;For reference, this is the sample I used (non-official, custom sample that I&amp;#39;ve created based on our docs and academy course):&amp;nbsp;&lt;a href="https://github.com/aHaugl/samples_for_NCS/tree/main/bootloader/sysbuild/6_BLE/7_54l15_fota_ext"&gt;https://github.com/aHaugl/samples_for_NCS/tree/main/bootloader/sysbuild/6_BLE/7_54l15_fota_ext&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Partition Manager: pm_static + McuMgr + sysbuild</title><link>https://devzone.nordicsemi.com/thread/552553?ContentTypeID=1</link><pubDate>Mon, 27 Oct 2025 20:20:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a28e0ff-955a-4a98-8f84-9c62f341c8c9</guid><dc:creator>Leschge</dc:creator><description>&lt;p&gt;Thanks a lot.&lt;br /&gt;&lt;br /&gt;As the partition.yml is not so easy to read, I converted it into a diagram for others that may struggle to understand it.&lt;br /&gt;&lt;br /&gt;Please keep in mind that this is for the NRF54L15, which requires a larger mcuboot_pad&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/flash_5F00_layout.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/members/ahaug"&gt;AHaug&lt;/a&gt;&amp;nbsp;such a diagram or example partition.yml would be very useful in the documentation for Partition Manager. Also a section where all default partitions are explained.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Partition Manager: pm_static + McuMgr + sysbuild</title><link>https://devzone.nordicsemi.com/thread/552501?ContentTypeID=1</link><pubDate>Mon, 27 Oct 2025 13:55:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa92afd0-b589-4e2f-bc9a-171c9ec18c4f</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Apologies for the wait, thank you for your patience. I see you&amp;#39;ve been working on initial questions based on the added post scriptum edited section, but I&amp;#39;ll go through the questions asked anyways&lt;/p&gt;
[quote user="Leschge"]Okey, as I have defined mcuboot_primary and mcuboot_secondary, why does the partition manager add an &amp;quot;app&amp;quot; slot? Can I avoid this? Or better: Can I disable this dynamic partition table entirely to use my own static one?[/quote]
&lt;p&gt;No, you can&amp;#39;t add this. Basically what is done is that the app is a container that spans both mcuboot_primary and _secondary as well as paddings. It is not something that &amp;quot;exists&amp;quot; in addition to the previous two partitions. It just contains those mcuboot_primary / _secondary partitions.&lt;/p&gt;
&lt;p&gt;Your application will always run from mcuboot_primary. The mcuboot_secondary is just to hold a candidate image for when you&amp;#39;re doing DFU.&lt;/p&gt;
[quote user="Leschge"]&lt;ul&gt;&lt;li&gt;&lt;/li&gt;
&lt;li&gt;&amp;#39;app&amp;#39; is everything but the mcuboot partition&lt;/li&gt;&lt;/ul&gt;[/quote]
&lt;p&gt;I see that this may have been something that was a bit diffuse. What I meant with &amp;quot;&amp;#39;app&amp;#39; is everything but the mcuboot partition&amp;quot; was referring to the MCUboot bootloader, i.e this:&amp;nbsp;&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/pastedimage1761572828552v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="Leschge"]&lt;br /&gt;So after more and more hours I think I got it working together with AI and almost understand it fully. &lt;a href="https://devzone.nordicsemi.com/members/ahaug"&gt;AHaug&lt;/a&gt;&amp;nbsp;I hope you can help me&amp;nbsp;to get the final piece[/quote]
&lt;p&gt;Of course! I assume that the comments in the partition map is your notes/the findings that you and &amp;#39;Kapa&amp;#39; (the AI assistant)&lt;/p&gt;
[quote user="Leschge"]What is mcuboot_pad used for and why is it part of partition &amp;quot;app&amp;quot; but not also of partition &amp;quot;mcuboot_secondary&amp;quot; ?[/quote]
&lt;p&gt;&lt;code dir="ltr"&gt;mcuboot_pad&lt;/code&gt;&lt;span&gt;&amp;nbsp;is a small partition placed in between the primary application slot (&lt;/span&gt;&lt;code dir="ltr"&gt;mcuboot_primary_app&lt;/code&gt;&lt;span&gt;) and the MCUBoot bootloader partiton. Its main purpose is to reserve space for the MCUboot image header and to ensure that the boot image is linked with the correct address offset in flash. This padding is important for alignment requirements, such as aligning on a flash erase sector boundary. These are necessary to ensure that for instance MCUboot knows where to look for the application (where it starts) and where to place the candidate image and swap it with the running image during DFU.&lt;/span&gt;&lt;/p&gt;
[quote user="Leschge"]Where does mcuboot hold the active partition in? It is always mcuboot_primary and&amp;nbsp;&lt;span&gt;mcuboot_secondary&amp;nbsp;is just used for swapping&lt;/span&gt;&amp;nbsp;or do&amp;nbsp;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;mcuboot_primary and&amp;nbsp;mcuboot_secondary alternate?&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;[/quote]
&lt;p&gt;It is always MCUboot primary&amp;nbsp;&lt;em&gt;unless&lt;/em&gt; you build with a configuration that is called &amp;quot;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/kconfig/index.html#_CONFIG_MCUBOOT_MODE_DIRECT_XIP"&gt;Direct_XIP&lt;/a&gt;&amp;quot;. But let&amp;#39;s stick with &amp;quot;default&amp;quot; mode first.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In default configuration, you build your application for mcuboot_primary. When you do DFU, you upload the candidate image to the mcuboot_secondary partition and MCUboot swap the two images when you trigger a reset after the candidate image has been approved by the bootloader. After the swap, if the image faults or is not validated for some reason, then the bootloader swaps the image back and reboots from your original image.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;For the Direct_XIP you build a version of your application that is capable of being ran from the secondary partition. In this case it checks the version of the images in the primary and secondary partitions and runs the one with the highest version.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Let me know if this validates your understanding/answers your questions&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&lt;br /&gt;Andreas&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Partition Manager: pm_static + McuMgr + sysbuild</title><link>https://devzone.nordicsemi.com/thread/551964?ContentTypeID=1</link><pubDate>Mon, 20 Oct 2025 14:16:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca11e73c-e2b1-4d97-ab76-61b9df7b2100</guid><dc:creator>Leschge</dc:creator><description>&lt;p&gt;--- PLEASE SEE EDIT BELOW ---&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Thanks again for your time.&lt;br /&gt;&lt;br /&gt;Logs:&lt;br /&gt;*** Booting MCUboot v2.1.0-dev-ae1ee57f3906 ***&lt;br /&gt;*** Using nRF Connect SDK v3.0.2-89ba1294ac9b ***&lt;br /&gt;*** Using Zephyr OS v4.0.99-f791c49f492c ***&lt;br /&gt;I: Starting bootloader&lt;br /&gt;I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3&lt;br /&gt;I: Secondary image: magic=bad, swap_ty copy_done=0x2, image_ok=0x2&lt;br /&gt;I: Boot source: none&lt;br /&gt;W: Failed reading image headers; Image=0&lt;br /&gt;E: Unable to find bootable image&lt;br /&gt;&lt;br /&gt;Reading out the chip reveals, that the app is flashed to:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;app&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &lt;/span&gt;&lt;span&gt;address&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;0x9c200&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &lt;/span&gt;&lt;span&gt;end_address&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;0xfa000&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &lt;/span&gt;&lt;span&gt;region&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;flash_primary&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &lt;/span&gt;&lt;span&gt;size&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;0x5de00&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1760969487232v1.png" /&gt;&lt;br /&gt;&lt;br /&gt;---&lt;br /&gt;&lt;br /&gt;yes, the app boots without using MCUBoot, but with dynamic partitions.&lt;/p&gt;
[quote userid="107683" url="~/f/nordic-q-a/125037/partition-manager-pm_static-mcumgr-sysbuild/551911"]&lt;ul&gt;&lt;li&gt;Mcuboot_primary is where the application runs from and mcuboo_secondary is where the candidate image is held.&lt;/li&gt;
&lt;li&gt;Settings_storage is what BLE uses to store it&amp;#39;s settings&lt;/li&gt;
&lt;li&gt;nvs_storage is your storage partition&lt;/li&gt;
&lt;li&gt;&amp;#39;app&amp;#39; is everything but the mcuboot partition&lt;/li&gt;&lt;/ul&gt;[/quote]
&lt;p&gt;Okey, as I have defined mcuboot_primary and mcuboot_secondary, why does the partition manager add an &amp;quot;app&amp;quot; slot? Can I avoid this? Or better: Can I disable this dynamic partition table entirely to use my own static one?&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--- EDIT: ---&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So after more and more hours I think I got it working together with AI and almost understand it fully. &lt;a href="https://devzone.nordicsemi.com/members/ahaug"&gt;AHaug&lt;/a&gt;&amp;nbsp;I hope you can help me&amp;nbsp;to get the final piece.&lt;br /&gt;&lt;br /&gt;This is my current pm_static.yml:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;# ─────────────────────────────────────────────────────────────
# MCUboot bootloader
# This is the immutable bootloader that runs at startup.
mcuboot:
  address: 0x0
  placement:
    align:
      end: 0x1000
    before:
    - mcuboot_primary
  region: flash_primary
  size: 0xc000 #size of bootloader

# ─────────────────────────────────────────────────────────────
# Primary image slot (active)
# This is the full slot that includes both pad and app.
mcuboot_primary:
  address: 0xc000
  orig_span: &amp;amp;id001
  - mcuboot_pad
  - app
  region: flash_primary
  sharers: 0x1
  size: 0x40000 # size of primary app + mcuboot pad
  span: *id001 # Includes pad + app

# ─────────────────────────────────────────────────────────────
# Padding between MCUboot and the application
# Required by MCUboot to store image metadata (e.g., TLV, header).
mcuboot_pad:
  address: 0xc000
  placement:
    align:
      start: 0x1000
    before:
    - mcuboot_primary_app
  region: flash_primary
  size: 0x200 # 0x200 is fixed for mcuboot

# ─────────────────────────────────────────────────────────────
# Application image partition (active slot)
# This is where your main application binary is stored.
# It starts just after the mcuboot_pad and spans until 0x80000.
app:
  address: 0xc200
  region: flash_primary
  size: 0x3FE00 # size of primary app - mcuboot pad

# ─────────────────────────────────────────────────────────────
# Alias for the app portion of the primary slot
# Used for linking the application image.
mcuboot_primary_app:
  address: 0xc200
  orig_span: &amp;amp;id002
  - app
  region: flash_primary
  size: 0x3FE00 # size of primary app - mcuboot pad
  span: *id002

# ─────────────────────────────────────────────────────────────
# Secondary image slot (inactive)
# Used during DFU to hold the new image before swap.
mcuboot_secondary:
  address: 0x4c000
  placement:
    after:
    - mcuboot_primary
    align:
      start: 0x1000
  region: flash_primary
  #share_size:
  #- mcuboot_primary # ensure that primary and secondary app share same size (usually dynamically set)
  size: 0x40000 # size of primary app



littlefs_storage:
  address: 0x8c000
  size: 0x6E000
  placement:
    align:
      start: 0x1000
    before:
    - nvs_storage
  region: flash_primary


nvs_storage:
  address: 0xfa000
  end_address: 0x100000
  placement:
    before:
    - end
  region: flash_primary
  size: 0x6000


sram_primary:
  address: 0x20000000
  end_address: 0x20040000
  region: sram_primary
  size: 0x40000
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;My questions:&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;What is mcuboot_pad used for and why is it part of partition &amp;quot;app&amp;quot; but not also of partition &amp;quot;mcuboot_secondary&amp;quot; ?&lt;/li&gt;
&lt;li&gt;Where does mcuboot hold the active partition in? It is always mcuboot_primary and&amp;nbsp;&lt;span&gt;mcuboot_secondary&amp;nbsp;is just used for swapping&lt;/span&gt;&amp;nbsp;or do&amp;nbsp;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;mcuboot_primary and&amp;nbsp;mcuboot_secondary alternate?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Partition Manager: pm_static + McuMgr + sysbuild</title><link>https://devzone.nordicsemi.com/thread/551911?ContentTypeID=1</link><pubDate>Mon, 20 Oct 2025 09:45:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4644bfbf-67c0-43ec-8cc0-52e028bef3ea</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="Leschge"]&lt;p&gt;Okey using the dynamic partitioning i get the following mess:&lt;br /&gt;&lt;/p&gt;&lt;div&gt;&lt;a href="#"&gt;&lt;/a&gt;&lt;/div&gt;[/quote]
&lt;p&gt;This looks more like what would&amp;#39;ve expect from a pm_static.yml&lt;/p&gt;
[quote user="Leschge"]Then using the following pm_static.yml it builds at least without errors:[/quote]
&lt;p&gt;That&amp;#39;s good, now we know that the fault is due to a mis-partitioning of the existing partitions and not due to your app or any other images being too large.&lt;/p&gt;
[quote user="Leschge"]But my app is not booting, [/quote]
&lt;p&gt;Could you enable logging in the bootloader and application and post some device logs?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you enter a debugging session and see where it hangs? I.e is it because MCUboot can&amp;#39;t find the app image or is it because of your application?&lt;/p&gt;
&lt;p&gt;Did your app boot before adding MCUBoot?&lt;/p&gt;
[quote user="Leschge"]e build/partitions.yml and got many additions I don&amp;#39;t understand:[/quote]
&lt;p&gt;The pm_static.yml that you originally used was lacking some items such as regions, mcuboot_primary and mcuboot_secondary. This is what I&amp;#39;m sure you&amp;#39;ve referred to as &amp;quot;image 0/1&amp;quot;.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Mcuboot_primary is where the application runs from and mcuboo_secondary is where the candidate image is held.&lt;/li&gt;
&lt;li&gt;Settings_storage is what BLE uses to store it&amp;#39;s settings&lt;/li&gt;
&lt;li&gt;nvs_storage is your storage partition&lt;/li&gt;
&lt;li&gt;&amp;#39;app&amp;#39; is everything but the mcuboot partition&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Paddings are to make sure that all images starts at the correct addresses.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Partition Manager: pm_static + McuMgr + sysbuild</title><link>https://devzone.nordicsemi.com/thread/551838?ContentTypeID=1</link><pubDate>Fri, 17 Oct 2025 15:13:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ce9db19-e348-417b-9c65-8ea6507993e0</guid><dc:creator>Leschge</dc:creator><description>&lt;p&gt;Thanks.&lt;br /&gt;&lt;br /&gt;Okey using the dynamic partitioning i get the following mess:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;app:
  address: 0xc200
  end_address: 0x80000
  region: flash_primary
  size: 0x73e00
littlefs_storage:
  address: 0xf4000
  end_address: 0xfa000
  placement:
    align:
      start: 0x1000
    before:
    - nvs_storage
  region: flash_primary
  size: 0x6000
mcuboot:
  address: 0x0
  end_address: 0xc000
  placement:
    align:
      end: 0x1000
    before:
    - mcuboot_primary
  region: flash_primary
  size: 0xc000
mcuboot_pad:
  address: 0xc000
  end_address: 0xc200
  placement:
    align:
      start: 0x1000
    before:
    - mcuboot_primary_app
  region: flash_primary
  size: 0x200
mcuboot_primary:
  address: 0xc000
  end_address: 0x80000
  orig_span: &amp;amp;id001
  - mcuboot_pad
  - app
  region: flash_primary
  sharers: 0x1
  size: 0x74000
  span: *id001
mcuboot_primary_app:
  address: 0xc200
  end_address: 0x80000
  orig_span: &amp;amp;id002
  - app
  region: flash_primary
  size: 0x73e00
  span: *id002
mcuboot_secondary:
  address: 0x80000
  end_address: 0xf4000
  placement:
    after:
    - mcuboot_primary
    align:
      start: 0x1000
  region: flash_primary
  share_size:
  - mcuboot_primary
  size: 0x74000
nvs_storage:
  address: 0xfa000
  end_address: 0x100000
  placement:
    before:
    - end
  region: flash_primary
  size: 0x6000
sram_primary:
  address: 0x20000000
  end_address: 0x20040000
  region: sram_primary
  size: 0x40000
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;The build sizes are:&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;#39;main app&amp;#39;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;Memory region Used Size Region Size %age Used&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; FLASH: 241884 B 474624 B 50.96%&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; RAM: 209012 B 256 KB 79.73%&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; IDT_LIST: 0 GB 32 KB 0.00%&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;#39;mcuboot&amp;#39;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;Memory region Used Size Region Size %age Used&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; FLASH: 32652 B 48 KB 66.43%&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; RAM: 17728 B 256 KB 6.76%&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; IDT_LIST: 0 GB 32 KB 0.00%&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then using the following pm_static.yml it builds at least without errors:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;mcuboot:
  address: 0x00000
  size: 0xC000
  region: flash_primary

mcuboot_pad:
  address: 0xC000
  size: 0x200
  region: flash_primary

mcuboot_primary:
  address: 0xC200
  size: 0x40000
  region: flash_primary

mcuboot_secondary:
  address: 0x4C200
  size: 0x40000
  region: flash_primary

nvs_storage:
  address: 0x8C200
  size: 0x10000
  region: flash_primary
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But my app is not booting, so I looked at the build/partitions.yml and got many additions I don&amp;#39;t understand:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;app:
  address: 0x9c200
  end_address: 0xfa000
  region: flash_primary
  size: 0x5de00
littlefs_storage:
  address: 0xfa000
  end_address: 0x100000
  placement:
    before:
    - end
  region: flash_primary
  size: 0x6000
mcuboot:
  address: 0x0
  end_address: 0xc000
  region: flash_primary
  size: 0xc000
mcuboot_pad:
  address: 0xc000
  end_address: 0xc200
  region: flash_primary
  size: 0x200
mcuboot_primary:
  address: 0xc200
  end_address: 0x4c200
  region: flash_primary
  size: 0x40000
mcuboot_primary_app:
  address: 0x9c200
  end_address: 0xfa000
  orig_span: &amp;amp;id001
  - app
  region: flash_primary
  size: 0x5de00
  span: *id001
mcuboot_secondary:
  address: 0x4c200
  end_address: 0x8c200
  region: flash_primary
  size: 0x40000
nvs_storage:
  address: 0x8c200
  end_address: 0x9c200
  region: flash_primary
  size: 0x10000
sram_primary:
  address: 0x20000000
  end_address: 0x20040000
  region: sram_primary
  size: 0x40000
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could you please tell me how a minimal partition table looks like without automatic partitioning?&lt;br /&gt;Why is there now &amp;quot;app&amp;quot; and &amp;quot;mcuboot_primary_app&amp;quot;, where my app gets flashed to?&amp;nbsp;&lt;br /&gt;I just want to define a simple static partition table for my whole flash. If needed, I happily add required partitions, such as for a metadata or other things.&lt;br /&gt;&lt;br /&gt;Note: I still have&amp;nbsp;&lt;span&gt;SB_CONFIG_PARTITION_MANAGER&lt;/span&gt;&lt;span&gt;=y in my sysbuild.conf&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Partition Manager: pm_static + McuMgr + sysbuild</title><link>https://devzone.nordicsemi.com/thread/551809?ContentTypeID=1</link><pubDate>Fri, 17 Oct 2025 12:04:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b094138b-8812-4c4e-9c33-0191b90a09b1</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Could you check your partition map with the VS Code tool for memory report?&amp;nbsp;&lt;br /&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/pastedimage1760702645851v1.png" alt=" " /&gt;&lt;/li&gt;
&lt;li&gt;Could you first try to remove the static parittioning map and build with dynamic partitioning?&lt;br /&gt;&lt;br /&gt;Typically I recommend that you start your projects/the early phases of development with dynamic partitioning and when your getting closer to nail the final features and layout, then you can use the generated dynamic partitioning map found in the build folder as a foundation for the static map by simply copy/pasting the generated partition layout into a pm_static.yml.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>