Skip to content

External profile and littlefs #101

@simon88

Description

@simon88

Hi,
I'm trying to use external porfile on y custom board but I always got an assertASSERTION FAIL [rc == len] @ WEST_TOPDIR/modules/lib/onomondo-softsim/lib/ss_fs.c:83

It's look like onomondo can' open nvs storage, so for information I also use littlefs.. Here is my partition

  external_flash (0x8000000 - 131072kB): 
+------------------------------------------------------+
| 0x0: mcuboot_secondary (0xd0000 - 832kB)             |
| 0xd0000: external_partition (0x7f30000 - 130240kB)   |
| 0x8000000: external_flash (-0x7000000 - -117440512B) |
+------------------------------------------------------+

  flash_primary (0x100000 - 1024kB): 
+--------------------------------------------------+
| 0x0: mcuboot (0xc000 - 48kB)                     |
| 0xc000: EMPTY_0 (0x4000 - 16kB)                  |
+---0x10000: mcuboot_primary (0xd0000 - 832kB)-----+
+---0x10000: tfm_secure (0x50000 - 320kB)----------+
| 0x10000: mcuboot_pad (0x200 - 512B)              |
+---0x10200: mcuboot_primary_app (0xcfe00 - 831kB)-+
| 0x10200: tfm (0x4fe00 - 319kB)                   |
+---0x60000: tfm_nonsecure (0x80000 - 512kB)-------+
| 0x60000: app (0x80000 - 512kB)                   |
+---0xe0000: nonsecure_storage (0x10000 - 64kB)----+
| 0xe0000: littlefs_storage (0x6000 - 24kB)        |
| 0xe6000: EMPTY_3 (0x2000 - 8kB)                  |
| 0xe8000: nvs_storage (0x8000 - 32kB)             |
+---0xf0000: tfm_storage (0xa000 - 40kB)-----------+
| 0xf0000: tfm_its (0x2000 - 8kB)                  |
| 0xf2000: EMPTY_2 (0x6000 - 24kB)                 |
| 0xf8000: tfm_otp_nv_counters (0x2000 - 8kB)      |
+--------------------------------------------------+
| 0xfa000: EMPTY_1 (0x6000 - 24kB)                 |
+--------------------------------------------------+



  otp (0x2f4 - 756B): 
+------------------------------+
| 0xff8108: otp (0x2f4 - 756B) |
+------------------------------+

  sram_primary (0x40000 - 256kB): 
+--------------------------------------------------+
+---0x20000000: mcuboot_sram (0x16000 - 88kB)------+
+---0x20000000: sram_secure (0x16000 - 88kB)-------+
| 0x20000000: tfm_sram (0x16000 - 88kB)            |
+---0x20016000: sram_nonsecure (0x2a000 - 168kB)---+
+---0x20016000: nrf_modem_lib_sram (0x4568 - 17kB)-+
| 0x20016000: nrf_modem_lib_ctrl (0x4e8 - 1kB)     |
| 0x200164e8: nrf_modem_lib_tx (0x2080 - 8kB)      |
| 0x20018568: nrf_modem_lib_rx (0x2000 - 8kB)      |
+--------------------------------------------------+
| 0x2001a568: sram_primary (0x25a98 - 150kB)       |
+--------------------------------------------------+

If I use static profile eveyrthing works, don't have assert

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions