This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi, Ti
I currently need to define a product ID in internal flash. Is there a specialized api for this?
Best Regards
Preston
Hello Preston,
Please refer to the Osal Simple NV Section to learn more about defining product ID in internal flash.
Let me know if this answers your question!
Thanks,
Isaac
Hello Isaac,
I read the documentation you provided and icall must be enabled if OSAL SNV is to be used. I am currently using connection_monitor_LP_EM_CC2340R5_freertos_ticlang, which does not include the icall function.
Is there any interface to read/write flash directly without relying on other functions?
Best Regards
Preston
Hello Preston,
Thanks for the update, in this case, the Non-Volatile Storage driver interface will be used. You can learn more about this in the NVS.h section of the API guide. These APIs do not rely on ICALL like the OSAL SNV APIs.
Let me know if this answers your question!
Thanks,
Isaac
Hello Isaac,
I'm using NVS_read() or NVS_write() in NVS.h to read and write to flash, and it's working.
Thanks for your answer!
Best Regards
Preston