This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

[nRF52840 + zigbee] zb_secur_ic_add call can not save information to "NVRAM"

Hi,

I am developing zigbee sensor systems with security "install codes".

I encountered strange thing.

SDK version : v3.0.0

problem : physical address and install code can not saved into NVRAM

a) Calling zb_secur_ic_add function return OK. 

b) when tracing program,  zb_secur_ic_add function  call zb_osif_nvram_do_write with flash address 0xf4000, len 0x2c.

c) But that area are filled with something by zboss_start function as below sequence.

zboss_start:
zdo_dev_start -> zb_zdo_dev_init ->nrf_fstorage_write (zb_nrf52840_nvram.c)

I attached two image file.

One is zboss_that start function fill the 0xf4000 area and

The other is that zb_secur_ic_add will fill 0xf4000 with "install codes".

I cannot find how to solve this problem.

Currently "install codes" feature is not working.

1)  zboss_start:
zdo_dev_start -> zb_zdo_dev_init ->nrf_fstorage_write 

2)  zb_secur_ic_add calls zb_osif_nvram_do_write

Parents Reply Children
No Data
Related