Mario,
I currently use M-Systems IDE 3000 2.5" flash devices without too much
trouble. In the software I use the ‘sync()’ and the ‘qnx_sync()’ commands
to make sure everything has been flushed to the drive. Power loss is a HUGE
problem with flash drives so we put in a small battery backup for 20 seconds
just in case. On the OS level the scripts that write to the drive use the
command line ‘sync’ command to flush.
A couple of things we worked with. 1) we tried setting up Fsys in async
mode ‘-a’ to improve write return times to the program. This is where we
had real problems with loosing data in files on power loss. 2) we set the
cache size very low (10K) to see if that helped. Nothing really showed much
difference in our normal operating mode.
Also, we have seen that with Fsys started as if a normal hard drive the
actual writing to disk and closing the file, without doing a sync, can take
up to several minutes.
I am going to also tried mixed hard drive system, both flash and standard
2.5" hard drives. I stopped using the M-Systems drives a short while ago
and now use SanDisk 512MB Compact Flash. They have a new higher speed model
that is not too much slower than a hard drive and we can turn the async off
on Fsys.
I don’t know if any of this will help, just some info. Good luck.
“Mario Charest” postmaster@127.0.0.1 wrote in message
news:c0ufts$305$1@inn.qnx.com…
“Erick Muis” <> emuis@node55.ott.qnx.com> > wrote in message
news:c0tbp9$3hf$> 4@inn.qnx.com> …
Hi Mario,
This sounds familiar. What is the exact model of flash you are using?
URL?
http://www.m-sys.com/Content/Products/product.asp?pid=26
A ticket has been open with QSS about this issue, last I heard QSS was
suppose to get in touch with m-system to get the spec.
Regards,
Erick
Mario Charest postmaster@127.0.0.1 wrote:
Have you tried to mount - write - unmount - mount again (not
turning
power off)? I feel the result must be the same.
Doing mount/write/umount/mount works, the data appears to be there
(so
that
rules out a cache issue).
Let me clarify, the data appears to be there but IS NOT.
\
Erick Muis
Hardware Group
QNX Software Systems Ltd.
Email: emuis at qnx.com