- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
From this thread it seems the NVRAM size is configured for 4KB and is defined in the 20719_OCF.btp file:
How much NVRAM on the CYW20719?
Can I increase the size by changing the .btp file? Where do I find the definitions of the contents of the .btp file? My application is less than 100KB and I want to use the remaining 1MB flash for NVRAM. Can I use the wiced_hal_eflash* functions instead of the NVRAM API? I don't know what address range I am allowed to use.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi jhu_3414236,
Practically, you can change the parameters in .btp file. But we do not recommend to do so as there is a risk of overwriting the data and unusual behavior of the kit.
Yes you can use the APIs available in wiced_hal_eflash.h and use the memory as per your requirement.
I will suggest you to go through blog CYW20719 Memory Layout and /20719-B1_Bluetooth/doc/WICED-Firmware-Upgrade-Library.pdf for details of memory structure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi jhu_3414236,
Practically, you can change the parameters in .btp file. But we do not recommend to do so as there is a risk of overwriting the data and unusual behavior of the kit.
Yes you can use the APIs available in wiced_hal_eflash.h and use the memory as per your requirement.
I will suggest you to go through blog CYW20719 Memory Layout and /20719-B1_Bluetooth/doc/WICED-Firmware-Upgrade-Library.pdf for details of memory structure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am storing data in NVRAM but whenever I reprogram my app the NVRAM gets erased. Can I configure WICED Studio to not erase the NVRAM section when programming the app?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you please tell how you are storing data in NVRAM, using which API?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using wiced_hal_write_nvram() with vs_id WICED_NVRAM_VSID_START.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When you re-program, all flash content will get erased. So when you re-program, content of NVRAM will also get erased.
You can see the content of NVRAM only after reset or power cycle.