Questions about factory Data

1.After I burn AP CODE, executing "nrfjprog -f nrf53 --program factory_data.hex –sectorerase" instruction will cause the following error.
This issue wasn't happened in prior 2.4.1 version, but occured after updated 2.6.1.

2.Was factory data stored in TrustZone? If not how to get factory data stored in TrustZone?

  • Hi,

    Here is the build command I copied.

    west build --build-dir c:/nordic/DL02_S2MB_KPD_Small/build c:/nordic/DL02_S2MB_KPD_Small --pristine --board dl02_s2mb_kpd_small_cpuapp -- -DNCS_TOOLCHAIN_VERSION="NONE" -DBOARD_ROOT="c:/nordic/dl02_s2mb_kpd_small"

    By the way, when I checked the final configuration result from the file "build\zephyr\.config", I noticed that the configuration parameters did not take effect as expected.

  • Hello,

    Sorry for the late reply. 

    I am no longer sure exactly what we are discussing, to be honest. 

    Are you able to reproduce the issue on an nRF5340 DK? That means, build and program a sample that will fail in the same way on a DK, so that I can reproduce it and see for myself what the issue is?

    It is still not clear to me whether you are able to program the factory data once, but not twice, and what that really means.

    Best regards,

    Edvin

  • Hi,

    Due to public holiday, I apologize for the delay.Please ignore all previous discussions.
    I tried to create a new project and compiled it using prj_release.conf.
    After the compilation, I checked the result in build\zephyr\.config, and it showed CONFIG_CHIP_FACTORY_DATA_BUILD=n.
    However, in my project, no matter how I modify CONFIG_CHIP_FACTORY_DATA_BUILD, it always remains y.

Related