Re: EWF-RAM protected partition on Compact Flash becomes unbootabl




Yes, corruption can happen. How much corruption will depend on the CF device.

Write Cache property for CF card? I ma not sure what you mean.

You might want to look at WinSystems (http://www.industrialcompactflash.com/wincflash.cfm) CF cards as well.

--
Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit
"Billw" <Billw@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:4252AFA8-6ED2-4800-90A4-93C6FAD7F54C@xxxxxxxxxxxxxxxx
Thank you for response Sean

I am using FAT16.

It is possible but not likely that the application will be writing during a
shutdown.
If a shutdown was happening during a write operation are all the directories
on D: vulnerable to some kind of corruption? My log files have their own
directory seperate from the main application...yet it seems the application
folder is the only folder that becomes unreadable.

Several years after this embedded system was in the field, I noticed that
the write cache property for the compact flash was enabled. This is not the
state I would have knowingly chosen but with several years of successfull
operation in the field I was reluctant to change. Do I need to reconsider
this setting?

I am in the process now of evaluating an industrial strength CF from
Sandisk. It will be difficult to tell in the short term if changing to this
CF is a positive or negative step. I know when I changed to the SimpleTech
card I noticed a dramatic increase in the number of FBA's the card would
tolerate. In fact, I have never been able to kill a SimpleTech card with
FBA's!

Billw


"Sean Liming (MVP)" wrote:



1. Are you using FAT32 or NTFS on the CF drive?
2. If data is being writen to the second partition when the system shutdown,
it is very possible that data could get corrupted.
3. Also, the CF card changes could be a problem, you might want to test
another manufacturer.



Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit


"Billw" <Billw@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9CD846DC-A16A-4588-AE79-2DE4FB49330F@xxxxxxxxxxxxxxxx
> Hello,
>
> I have been running a small (115MB) XPe(SP1) build for 5 years
> on a SimpleTech 256MB CF that reports itself as a fixed drive.
> Over these 5 years I have gone from a rock solid startup to an
> increasingly suspect boot process. My users are experiencing
> more non-recoverable BSOD at bootup including Registry File
> failures. The only fix at this point is to overnight them a
> new customized Compact Flash.
>
> I am protecting the C: partition with a RAM based EWF and I have
> left the D: partition unprotected and available for the main
> application, data files associated with the application and an
> application error log file. A third area on the CF has been
> allocated for the EWF. The only way to powerdown this embedded
> system is to 'slam' the power off!
>
> 1st goal...return to that robust system I once had that can
> reliably survive shutdowns. How is my EWF protected partition
> getting compromised? Is this a problem with my CF? I have been
> using the same CF, although its internal controller has changed 3
> times! On occasion, important directories on the unprotected D:
> partition get trashed. When I attempt to browse to them, the OS
> asks me if I would like to format the disk.
>
> 2nd goal...when an OS failure occurs what is the quickest way to get
> my customer up and running? Can I switch to a larger CF and create a
> dual boot system on the CF and switch to the 'copy'?


.



Relevant Pages


Loading