> Hello all, > I've been asked to debug a problem with a data recorder that > writes to a compact flash chip. > > Basically, every test consists of first writing a file of all zero's to > the compact flash chip. The system then after this is done, begins > overwritting the zero's with data. Can you repeat the problem with another compact flash? Preferably of another brand. That would most likely rule out that particular CF being bad. > The problem they are having is that, about 1% of the time, the system > will come back with all zero's instead of the three waveforms the > device should have recorded. They are sure the waveforms were present > at that time and sometimes the signal will record for awhile and then > disappear again. (The three waveforms are sent to the pic's a/d and > the pic then writes to the CF). OK. Can you insert an *immediate* check after *each* write? It could be possible that some writes take longer than expected or just doesn't get written. I *hate* intermittent problems. -- D. Jay Newman ! jay@sprucegrove.com ! Xander: Giles, don't make cave-slayer unhappy. http://enerd.ws/robots/ ! -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu