Hi Nagi,
Are you writing to the SD card all the time, or are you buffering the
data and writing the whole file in one go?
Why is the TS-7260 rebooting? Is it on purpose, or due to a watchdog/
bad power supply?
The fact that it works writing to internal flash is the speed that
the write completes, as well as the overhead/buffering performed by
the OS.
In my application I'm buffering the data in RAM and writing the data
in a block to an SD card. I have the benefit that I can stop the
system being monitored (industrial machinery) from cycling during the
brief time it takes to save the files (not normally an issue as the
data can normally be saved in the time between cycles). During the
writing I open, write and close the file before returning.
I also have the benefit of a TS-BAT3 board to ensure I have sufficent
time to save all data in memory back to the SD card when power goes
down. I also unmount the data SD card before switching off to ensure
all pending writes are completed.
Hope this helps,
PJE
--- In "nagi_kann" <> wrote:
>
> Hello,
>
> I am using the TS7260 for some data acquisition. I have some
processes
> continuously accquiring data every second and writing the sampled
data
> to different files on the SD flash card.
>
> I am facing some problems:
>
> - The TS7260 reboots often
>
> - The SD flash card gets corrupted
>
> I found and zeroed in on the fact that the SD card is the problem -
I
> removed the SD card and logged the data on the in-built flash
(32MB).
> There was no problem. When I add the SD card I get the reboot
problem.
> The card also gets corrupted. I even reformatted the card on a Linux
> system and made it into an EXT2 file system suspecting that there
> could be some problem with the MTD drivers for FAT32. I faced the
same
> problem and every couple of reboots, the card gets corrupted and I
> have to 'e2fsck' the card to fix the inode table and links.
>
> Can someone pls throw some light on what is going on?
>
> Earlier I was using TS7200 with a compact flash for additional
memory.
> However, after TS7260 was released, I switched over as it was a
> low-power card.
>
> Please help.
>
> Thanks and with regards,
> - Nagi
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|