nrf54l15-dk zms +setting

Hi,Team,

I'm using the nrf54l15-dk to develop zms to save custom configurations without affecting the pairing information of ble.

So I have a few questions:
1.Is the storage_partition in the flash_map_pm.h file the same as that in the nrf54l15_cpuapp_common.dtsi file? If the same, does this mean that the size of settings_storage is 36K?  Is settings_storage the area used to store ble configuration information?

2. My nrf54l15-dk has some errors. Why is that? network/info, hub/info and first_run/check are custom configurations. I save them using settings_save_one and then reset the device, and an error E: set-value failure occurs.

[14:28:53.898]收←◆*** Booting nRF Connect SDK v2.8.0-a2386bfc8401 ***
*** Using Zephyr OS v3.7.99-0bc3393fb112 ***
I: 2 Sectors of 4096 bytes
I: alloc wra: 0, d70
I: data wra: 0, 280
D: Initialized
I: SoftDevice Controller build revision: 
I: fe 2c f9 6a 7f 36 22 2e |.,.j.6".
I: a0 79 c0 40 be 2c 03 20 |.y.@.,. 
I: 40 c2 f3 32             |@..2    
I: HW Platform: Nordic Semiconductor (0x0002)
I: HW Variant: nRF54Lx (0x0005)
I: Firmware: Standard Bluetooth controller (0x00) Version 254.63788 Build 573996906
I: No ID address. App must call settings_load()
settings subsys initialization: OK.
D: set-value OK. key: bt/sc/4c569d0e17280
D: set-value OK. key: bt/keys/4c569d0e17280
D: set-value OK. key: bt/ccc/4c569d0e17280
D: set-value OK. key: bt/cf/30243273688c0
D: set-value OK. key: bt/ccc/30243273688c0
D: set-value OK. key: bt/keys/30243273688c0
E: set-value failure. key: network/info error(17)
E: set-value failure. key: hub/info error(62)
E: set-value failure. key: first_run/check error(4)
D: set-value OK. key: bt/hash
I: Identity: EB:DE:45:CF:A5:B5 (random)
I: HCI: version 6.0 (0x0e) revision 0x304e, manufacturer 0x0059
I: LMP: version 6.0 (0x0e) subver 0x304e

3. Through the error in the second one, I think both the custom configuration and the saved ble configuration information were saved in storage_partition, resulting in the error. So I want to ask whether storage_partition can be divided into the pairing information area of ble and the user-defined configuration information area.

Thanks.

Parents
  • Hi,

    1.Is the storage_partition in the flash_map_pm.h file the same as that in the nrf54l15_cpuapp_common.dtsi file?

    If you use the partition manager, the DTS one is ignored, and partition manager partitioning is used instead.

    Is settings_storage the area used to store ble configuration information?

    settings_storage is used for Settings, so yes.

    2. My nrf54l15-dk has some errors. Why is that? network/info, hub/info and first_run/check are custom configurations. I save them using settings_save_one and then reset the device, and an error E: set-value failure occurs.

    But you can store other stuff first, or?

    3. Through the error in the second one, I think both the custom configuration and the saved ble configuration information were saved in storage_partition, resulting in the error. So I want to ask whether storage_partition can be divided into the pairing information area of ble and the user-defined configuration information area.

    Yes, I think it shold be able to use settings for both your app and for BLE.
    Try to make the settings partition larger, does that help?

    Regards,
    Sigurd Hellesvik

Reply
  • Hi,

    1.Is the storage_partition in the flash_map_pm.h file the same as that in the nrf54l15_cpuapp_common.dtsi file?

    If you use the partition manager, the DTS one is ignored, and partition manager partitioning is used instead.

    Is settings_storage the area used to store ble configuration information?

    settings_storage is used for Settings, so yes.

    2. My nrf54l15-dk has some errors. Why is that? network/info, hub/info and first_run/check are custom configurations. I save them using settings_save_one and then reset the device, and an error E: set-value failure occurs.

    But you can store other stuff first, or?

    3. Through the error in the second one, I think both the custom configuration and the saved ble configuration information were saved in storage_partition, resulting in the error. So I want to ask whether storage_partition can be divided into the pairing information area of ble and the user-defined configuration information area.

    Yes, I think it shold be able to use settings for both your app and for BLE.
    Try to make the settings partition larger, does that help?

    Regards,
    Sigurd Hellesvik

Children
No Data
Related