CYW20706 wiced_hal_write_nvram is fail

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

cross mob
hyhw_4628441
Level 2
Level 2
50 sign-ins 10 questions asked 25 sign-ins

i used the API of "wiced_hal_write_nvram" for write to nvram about 132byte.

but, sometimes it is fail with 0x004 error code.

my code is as below.

 

bytes_written = wiced_hal_write_nvram( 0x01, sizeof(setting_t), setting, &result);

 

and if i use the API "wiced_hal_write_nvram" for write to nvram, result is repeat as below.

 

save_setting(result: 4, written: 0)

save_setting(result: 0, written: 132)

 

where is the result of API of "wiced_hal_write_nvram"?

i want to know what is mean the result is 4. could you help me?

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

Hello @hyhw_4628441 

As liam suggested, did you get a chance to test your code on our EVAL board? where you able to reproduce the problem on our EVAL board? 

If problem exists only on your custom board, can you please provide us the details on which flash you are using ? Also suggest you to have a schematics / PCB review. 

Regards,

Anjana

View solution in original post

0 Likes
9 Replies