This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PAN1315 Persistent Data

Hi,

Is there a way to maintain data, between runs? 

Assuming I'm using the Accelerometer example project, and I would like to store the data to some "file" and transmit it the next run.

Thanks.

  • Adam,

    Yes, it would be possible to do it on the MSP430 side. Depending on the size, you might need an external memory such as an EEPROM or SD card. How much data do you want to save between runs?

    Regards,

    Miguel

  • Miguel,

    Thank you for you assistance, I was hoping to save the logs, and broadcast them later on request. In general I wanted to store up to a 10kb.

    I could find reference to how to read and write to files in the C language, but I don't know how this is done in embedded development, are there special rules? limitations? restrictions? any specific physical setup (you mentioned sdcard)?

    Thanks,

    Adam.

  • Adam,

    If you have enough space in flash you could store the data there. You don't need an external memory in that case. I thought you needed to store more data. There are examples in the MSP430 site that show how to write to flash.

    Miguel