Switch to full style
CompactFlash, SD, MMC, USB flash storage. Anything that does not have moving parts inside.
Post a reply

Format of raw CF img file?

December 18th, 2012, 16:44

I used the HDD Raw Copy Tool to dump a copy of a compact flash drive to an uncompressed img file so I can poke around with the image to see what's wrong with it. I know the CF became corrupt, so I just want to see exactly what (byte for byte) was written in the wrong place. I have several questions about how to proceed:

Is there a description of the format of the *.img file somewhere? <---- This is really what I most need
Is the image in 1-1 correspondence with the bytes on the CF (or is there a header, tags, etc. in the file too)?
Is the data on the CF serial, in the sense that there's a first byte, second byte, etc. ... and last byte?
If it is divided into sectors, is there a description of how these sectors are organized (size, etc.)?

I just want to use a hex editor to look around, not a tool that hides the raw content of the file.
My thought is that I really want to manually poke around like you once could do with "Norton Utilities", or a low-level sector editor, but just using my hex editor instead. So I need to know offsets of interesting objects (specific sectors, FAT, etc).

This is a little open-ended, but any comments or suggestions about documentation of the dump format would be appreciated.

Re: Format of raw CF img file?

December 18th, 2012, 22:26

Check out Winhex

Re: Format of raw CF img file?

January 14th, 2013, 21:43

also checkout the datasheets of any chips in the Card, and see how they manage data, page sizes structure etc. this info will be chip specific, NOT image file specific.
Post a reply