Is it possible to store data (store sensor readings) on star Topic is solved

If you have a simple question and just want an answer.
georgel2004
Junior Member
Posts: 5
Joined: Thu Jan 02, 2014 4:07 pm

Is it possible to store data (store sensor readings) on star

Post by georgel2004 »

I am using startkit in building a prototype.

I need to store the readings of some sensors to be made available between restarts/ power ons

Could someone please help me in understanding the possible ways to achieve this?

 

 

 

 



View Solution
User avatar
Bianco
XCore Expert
Posts: 754
Joined: Thu Dec 10, 2009 6:56 pm

Post by Bianco »

Hi,

 

The startKIT has a SPI flash to store the firmware but it can also be used to store data besides the firmware (it is large enough).

Keep in mind though that flash devices have a limited amount of write/erase cycles.

 

See:

https://www.xmos.com/libflash-api?secure=1

https://github.com/xcore/sw_flashlib_examples

If i recall correctly you will first need to create a data partition using xflash. See the xflash documentation in the xTIMEComposer userguide.