WICED-CYW943907-Serial Number storage

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
veb_4093841
Level 2
Level 2

Hi

Our device has the chip CYW943907  running FreeRTOS and we are not using OTA2 support. We have used OTA support.We have 8 MB external Flash on the board.

We have a requirement to maintain the unique serial number per device, which gets flashed in the production line.

We are planning to keep Manufacturing information and WIFI AP details separately and Application DCT separately, To avoid the losing the information when Application DCT .bin has been updated.

Help we are looking for is ,

Is there a way to  store the Manufacturing Information such as serial number , production details and Application DCT.bin  separately . Where Manufacturing information shall be retained over the product life.

0 Likes
1 Solution

In flash, our general recommendation is to store manufacturing information in DCT. There is a document /43xxx_Wi-Fi/doc/WICED-AN800-R-Factory-Programming.pdf which shows how to generate unique DCT image for a device.

Beyond DCT, the other options could be used to store device MAC address as explained in that document in section 4 such as OTP, NVRAM. However, OTP programming is an irreversible process.

View solution in original post

5 Replies
GauravS_31
Moderator
Moderator
Moderator
10 questions asked 250 solutions authored 250 sign-ins

You can consider storing the manufacturing information in filesystem image. The data stored in filesystem should not be changed over the lifecycle of the device which is consistent with your requirement.

Hi Gaurav,

In production line, we need to flash a Single binary to all the boards and then program the serial number. Serial number shall be written using production application . example it can be updated through command line.

If we go with file system  approach each board has to be programmed differently by updating the serial number file in file system.This will increase the production line overhead.

So is there a way to store the serial number in flash which shall be outside of the DCT, application and file system.

Regards,

venkatesh

0 Likes

In flash, our general recommendation is to store manufacturing information in DCT. There is a document /43xxx_Wi-Fi/doc/WICED-AN800-R-Factory-Programming.pdf which shows how to generate unique DCT image for a device.

Beyond DCT, the other options could be used to store device MAC address as explained in that document in section 4 such as OTP, NVRAM. However, OTP programming is an irreversible process.

GauravS_31

If we go with unique DCT image approach , in future if there is a need to do a OTA Update for DCT.bin , don't we loose the MFG info ???

0 Likes

If DCT is being updated, there is a possibility of loss of mfg information. However, we would not recommend storing the data in any other section of flash as it could risk program or data corruption.

0 Likes