We have a sort of iTunes type of software, which loads up a compact flash card. It is proprietary to the very expensive device which uses the content on the card. The expensive device has not yet arrived, so I am trying out loading cards.
This software will run under Wne, and it appears to format and load the content onto the card. However, when the supplier gets the card, he says its not recognised by the equipment. This is really funny, since when he then reformats and reloads the card i Windows, it is still not OK. He is going to send me back a working card and mine so I can compare the two. At the moment, its hard to see is it just a bad card, or is there something about what the software did in Wine (or maybe what mtools did when formatting it to FAT16) that makes it unusable even when reformatted.
It seems unlikely, but maybe it is the boot sector that is a problem. Wine running as an end user will probably not be able to rewrite boot sectors?
Question: is there any software which will do a diff at a low level on two cards, the one he sends me, and a new one I generate using Wine? If they are different, we could tell how and maybe even hex edit and correct it. Or I could take an image of both, and is there any way of doing a diff on images?
Peter
Peter Alcibiades wrote:
Question: is there any software which will do a diff at a low level on two cards, the one he sends me, and a new one I generate using Wine? If they are different, we could tell how and maybe even hex edit and correct it. Or I could take an image of both, and is there any way of doing a diff on images?
There will be lots of differences in the images, even between two working cards with the same files due to fragmentation and things like volume ID's. So I am not sure what that would achieve and how you would easily see any corruption to correct.
Is there a specific reason you are using mtools to create the volume rather than mkfs ? Although why there is still an issue after a windows reformat, it does seem to point to a faulty card.
Of course the other option is this is something to do with partitioning so I would compare the partitioning of the cards first