Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
November 21, 2024, 09:23:54 PM
News
: LinuxSolved.com Linux Help Community Forum..
Home
Search
Login
Register
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
»
Hardware Troubleshooting in Linux
»
Other Devices
»
SD card partition corrupted
Poll
Sd card is getting corrupted?
driver problem
1 (100%)
kernel problem
0 (0%)
Total Members Voted:
1
« previous
next »
Print
Pages: [
1
]
Author
Topic: SD card partition corrupted (Read 6499 times)
durgaprasad
New Member
Posts: 1
SD card partition corrupted
«
on:
November 11, 2009, 12:38:22 PM »
Hi all,
I have an transcend sd card in my embedded device.when i am running an application to test the sd card the sd card gets corrupted once in 100 times or less...
My sd card test application shall mount the sd card writes the 1 kb file to sd card and unmount the sd card and again mount the sd card reads the 1 kb file and compare with file written into sd card and unmounts the sd card.The sequence of steps is as follows:-
mount /dev/mmcblk1 /mnt/sd
write the 1 kb file
umount /mnt/sd
mount /dev/mmcblk1 /mnt/sd
read the 1 kb file and compares
umount /mnt/sd
if i perform the above test and power off and power on the embedded device and perform the test again if we do like this for 40-50 time the partition of the sd card is getting corrupted and i am not able access the content of the sd card either in linux or windows pc...I need to format the sdcard to access it again...
I would like to find a solution for why the card is getting corrupted...
Thanks in Advance...
Logged
Print
Pages: [
1
]
« previous
next »
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
»
Hardware Troubleshooting in Linux
»
Other Devices
»
SD card partition corrupted