ganesh22
Newbie level 5
- Joined
- Feb 7, 2011
- Messages
- 10
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,349
Hi all,
I am successfully integrating SD card with LPC2148. Am able to read write data in .txt, .csv files. While opening and closing of file it takes too much time, fopen() takes 8ms, and fclose() takes around 68ms. Its too over for my application for writing the content it just takes the micro second so there is no issue on that. I check all the things with logical analyzer. If any one knows how to use file writing without using fclose() in SD card.I want to reduces the time,then periodically writing to the file so i dont need to close the file.
(I don't want to close the file , because am periodically writing the data to file, hence i always open it, at last only i need to close)
Thanks in time,
Regards,
K Ganesh
I am successfully integrating SD card with LPC2148. Am able to read write data in .txt, .csv files. While opening and closing of file it takes too much time, fopen() takes 8ms, and fclose() takes around 68ms. Its too over for my application for writing the content it just takes the micro second so there is no issue on that. I check all the things with logical analyzer. If any one knows how to use file writing without using fclose() in SD card.I want to reduces the time,then periodically writing to the file so i dont need to close the file.
(I don't want to close the file , because am periodically writing the data to file, hence i always open it, at last only i need to close)
Thanks in time,
Regards,
K Ganesh