How should I ask my question?

Before you ask your question, please remember to check if it is suited for Nordic Developer Zone, and that it has not been asked before. Please search Nordic Developer Zone, if you find your question, please vote on it.

Here are some simple guidelines to get the best possible answers, fast, while helping others and improving your reputation, by getting votes.

A question should be clear and concise, leaving no doubt about what you are asking. Include details about what you have tried and exactly what you are trying to achieve. Avoid asking multiple unrelated questions in one question, ask them as separate questions.

Give a short description of your system and test setup. Include details about:

  • Hardware - evaluation kit, development kit, custom board, laser markings of the chip.
  • Software – SDK version, example or driver from SDK, protocol, SoftDevice version

If you get comments asking for more information or for clarification, edit your question to be as good as possible, fix mistakes, improve formatting, or clarify its meaning.

If an answer answers your question, accept it!

Additionally, this explains how not to ask your question.

Parents
  • Hello,

    I am using "nRFConnect1.5.1 SDK with nrf5340" . I want to use NVS storage system with Partition Manager. I tried nvs sample given in path "ncs/zephyr/samples/subsys/nvs"  which doesn't use Partition Manager i.e "USE_PARTITION_MANAGER=0"  and it is working fine. 

    In my application , I am using "multi-image builds" using Partition Manager.  When I tried use same nvs sample code in my application it gives me the error below .

    [1;31m<err> flash_nrf: invalid address: 0x00100ff8:8

    I found below note: 

    When you build a multi-image application using the Partition Manager, the Device Tree Source flash partitions are ignored.

    I am confuse where I need to define storage partition while using "Partition Manager".

    I did below configuration , still is not working;

    zephyr/.config:1625:CONFIG_NVS=y
    zephyr/.config:1626:# CONFIG_NVS_LOG_LEVEL_OFF is not set
    zephyr/.config:1627:# CONFIG_NVS_LOG_LEVEL_ERR is not set
    zephyr/.config:1628:# CONFIG_NVS_LOG_LEVEL_WRN is not set
    zephyr/.config:1629:# CONFIG_NVS_LOG_LEVEL_INF is not set
    zephyr/.config:1630:CONFIG_NVS_LOG_LEVEL_DBG=y
    zephyr/.config:1631:CONFIG_NVS_LOG_LEVEL=4
    zephyr/.config:1867:CONFIG_SETTINGS_NVS=y
    zephyr/.config:1870:CONFIG_SETTINGS_NVS_SECTOR_SIZE_MULT=1
    zephyr/.config:1871:CONFIG_SETTINGS_NVS_SECTOR_COUNT=8

    Please help me. 

Comment
  • Hello,

    I am using "nRFConnect1.5.1 SDK with nrf5340" . I want to use NVS storage system with Partition Manager. I tried nvs sample given in path "ncs/zephyr/samples/subsys/nvs"  which doesn't use Partition Manager i.e "USE_PARTITION_MANAGER=0"  and it is working fine. 

    In my application , I am using "multi-image builds" using Partition Manager.  When I tried use same nvs sample code in my application it gives me the error below .

    [1;31m<err> flash_nrf: invalid address: 0x00100ff8:8

    I found below note: 

    When you build a multi-image application using the Partition Manager, the Device Tree Source flash partitions are ignored.

    I am confuse where I need to define storage partition while using "Partition Manager".

    I did below configuration , still is not working;

    zephyr/.config:1625:CONFIG_NVS=y
    zephyr/.config:1626:# CONFIG_NVS_LOG_LEVEL_OFF is not set
    zephyr/.config:1627:# CONFIG_NVS_LOG_LEVEL_ERR is not set
    zephyr/.config:1628:# CONFIG_NVS_LOG_LEVEL_WRN is not set
    zephyr/.config:1629:# CONFIG_NVS_LOG_LEVEL_INF is not set
    zephyr/.config:1630:CONFIG_NVS_LOG_LEVEL_DBG=y
    zephyr/.config:1631:CONFIG_NVS_LOG_LEVEL=4
    zephyr/.config:1867:CONFIG_SETTINGS_NVS=y
    zephyr/.config:1870:CONFIG_SETTINGS_NVS_SECTOR_SIZE_MULT=1
    zephyr/.config:1871:CONFIG_SETTINGS_NVS_SECTOR_COUNT=8

    Please help me. 

Children
No Data