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.
Java Developer & ArchitectNu-Art Software
To be a good student, you must first be a good teacher.
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?
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)?
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.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.