nv table to spi flash

Hey

I'm transitioning my product from 002 to 003. The major thing for me to get my head around is the SPI Flash memory, and the interaction with it in order to store data during deep sleeps.

Before I was storing data in the nv like
::nv["temp"].append(temp_reading);
::nv["light"].append(light_reading);
::nv["bat"].append(bat.voltage);
::nv["time"].append(time());


But seems like I now have to write directly to memory (no middleware library), which I'm not familiar with. Where do I start in order to not overwrite any squirrel firmware, keep track and append arrays of readings like the above example? Need a push off the cliff here :)

Best, Bobby

Comments

Sign In or Register to comment.