CYW20819 NVRAM

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

cross mob
ToKo_4602001
Level 4
Level 4
50 sign-ins 25 replies posted 25 sign-ins

According to the following discussion, CYW20819 uses Wear Leveling Scheme of memory.

https://community.infineon.com/t5/Bluetooth-SDK/CYW20819-About-defrag/m-p/88862

if the same value is intended to be write with wiced_hal_write_nvram() as previously written value, is the write operation performed or not?

It is prefer that the write operation to flash memory is not performed in this case to get longer life time of flash memory.

Regards,

0 Likes
1 Solution
AnjanaM_61
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 5 questions asked

Hello @ToKo_4602001 

Below is the response from our FW team. 

For this case in description, the write would not be performed. Before an NVRAM write is performed, the existing NVRAM is searched for the same key. If there is a key match found, the value is checked for size. If the size matches then the existing value and the new value are compared. If the values are the same then the write is not performed.

View solution in original post

0 Likes
3 Replies
AnjanaM_61
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 5 questions asked

Hello @ToKo_4602001 

We are double checking this with our Firmware team. Will update you shortly.

Regards,
Anjana

0 Likes
AnjanaM_61
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 5 questions asked

Hello @ToKo_4602001 

Below is the response from our FW team. 

For this case in description, the write would not be performed. Before an NVRAM write is performed, the existing NVRAM is searched for the same key. If there is a key match found, the value is checked for size. If the size matches then the existing value and the new value are compared. If the values are the same then the write is not performed.

0 Likes

Thank you for your support.
This is useful information for us.