Other Parts Discussed in Thread: CC3220SF
Hi!
I am currently working on a project to create an application with the CC3220SF Launchpad in which I'd like to have some data stored in the SFLASH connected by SPI to the CC3220SF to then use it on a web server. I have been able to edit the Out of the Box example to store data in the SFLASH to later on, have access to it. However, I'm facing issues finding information on how to permanently store data inside the SFLASH without it being erased when flashing a new program image when updating my program.
I'm currently loading my program image using CCS and reading this document (link here), I cannot find anywhere the information I'm seeking.
Could anyone provide some information about this topic? Is it possible to perform the flashing on part of the SFLASH by selecting the "areas" to overwrite? If it is not possible to do so, how would you suggest to store data even after flashing?
Also, I have read documentation about the sl_Fs*() APIs (link here) and I cannot find anywhere information on how to manually select an address inside the SFLASH to create a file. Is it only possible to automatically append the files one after another?
In my case, I have a some .js files which have the highest memory addresses when stored in the SFLASH and the files created with sl_Open() are created right after. Can I somehow select the "where" in the SFLASH?
Cheers!