nRF5340+nRF7002: How to program application and matter factory data?

Hi, 
We have an application based on Matter Template and we want to program our application and the matter factory data during production, how do we do that?

What we have tried so far:
In the application prj.conf we added:

CONFIG_CHIP_FACTORY_DATA=n

in sysbuild.conf:
SB_CONFIG_MATTER_FACTORY_DATA_GENERATE=n

We also generated the factory_data.hex, .bin and ..json following this: Configuring factory data for the nRF Connect examples   
(added this: --offset 0xff000 --size 0x1000)

The we program the factory_data.hex using the nrfutil: 
nrfutil device program --firmware factory_data.hex

After this, we program our applicaion using nRF connect programmer.

The problem:
we printed out the vendor name and id expecting our company name and id will be shown but it is still using the default Nordic vendor name and id(the default used in the template):
GetVendorName: Nordic Semiconductor ASA
GetVendorId: 0xFFF1     

We need to generate unique factory data then we program this data along with our application. What is the correct way of doing this? Also why is that we are still reading the vendor name Nordic even though we already disabled factory data generation in prj.conf and sysbuild.conf?

Thanks  
Parents Reply Children
Related