Create External Flash Partition for nRF5340 in Thingy:91x is failed

I want to use the nRF5340 in Thingy:91x to control the external flash (256M bit) and pariition it as LittleFS. I can be sucessfully create partition in nRF5340DK but cancan achieve in Thingy:91x. I tried many ways to modify the pm_static.yml and thing91x_nrf5340 board overlay and cannot acheive it. I want some example so that I know how to create partitiion of the external flash for nRF5340 in Thingy:91x. Please help. Thanks.

Parents Reply
  • Billy Wan said:
    The default sysbuild for nRF9151 in Thingy:91x is need to put MCUBoot in external flash.

    The MCUboot bootloader image itself always lives in internal flash. That part is not placed on external flash.

    Thingy:91 X default sysbuild layout places the DFU secondary slot (mcuboot_secondary / slot1_partition) on the external flash. 

    Billy Wan said:
    Any example which showed how to make nRF9151 only use internal flash for MCUBoot and not to use external flash anymore?

    Unfortunately, no, but you can understand the external flash setup (then invert it). 

    Please keep in mind that the Internal flash of nRF9151 is 1 MiB total. With NSIB + TF-M + MCUboot, a full dual-slot layout leaves very little room for the app.  I suggest you keep the DFU secondary slot (mcuboot_secondary / slot1_partition) on the external flash to leave more space for your application. 

Children
No Data
Related