In s210 there are functions sd_flash_page_erase, sd_flash_protect, and sd_flash_write. There is no sd_flash_read.
How do I read from flash? I can write to is using sd_flash_write, but how do I later read this data?
In s210 there are functions sd_flash_page_erase, sd_flash_protect, and sd_flash_write. There is no sd_flash_read.
How do I read from flash? I can write to is using sd_flash_write, but how do I later read this data?
The S110 stack provides a pstorage API that uses the sd_flash functions. I took a look at the function used to get data out of flash and it is merely using a memcpy call to get the data out of the program space. I'd guess you can do the same with the S210 stack.
I can suggest a couple of things to try:
I can suggest a couple of things to try: