A question about SD-Card write on MSP-EXP430F5529

ravim <[email protected]>
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.user
Message-ID <[email protected]>
Hello Everyone,

We are working on a simple data logging application using MSP-EXP430F5529
and Ez430-RF2500 devices using mspgcc. Thanks to excellent resources and
this forum, everything is working fine. I had a simple question about
SD-Card write.

Our application writes a data packet  to SD-Card as soon as it receive on
EXP board. The packet size is 40Bytes and may increase more. The binary data
is stored in files on SD card which we later run through our interpreter.
Now if someone pulls the SD-Card in midst of write operation what will
happen?

I wanted to ask -  is it possible that portion of data packet may be written
to file when SD card is suddenly pulled out? Because if this happens the
whole series of binary data will not make any sense or may give us totally
wrong information.

If this happens how do we handle it? Is there a way to make this write
operation atomic??



--
View this message in context: http://msp430-gcc-users.1086195.n5.nabble.com/A-question-about-SD-Card-write-on-MSP-EXP430F5529-tp6710.html
Sent from the MSP430 gcc - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.