whartung wrote:
Wait, so you created a file with 16b words (0000, 0001, 0002, ..., 0FFF, 1000), on a separate machine, and you could not read it back?
Yes I created that under win7, could read it back without problems, but it had this strange encoding on the SD card.
whartung wrote:
You're not running in to some byte swapping/endian thing here are you? Are you writing short ints on the other machine, or byte by byte?
All just copied as a file under win7. A guy I know suggested that it could be something with the SD card driver or SD card as he had experienced similar issues himself. I therefore reformatted the card, and voilá.. the strange encoding was gone(!) It now shows up in the same way on the harddrive and SD card. I use Acitve@Disk Editor to scan the card.
The same guy is looking into the kernel of Win7 for some other reason, and he was going to do some testing to see if he could replicate it on another machine, and see if the strange encoding came from Win7 itself or the driver. For the moment, my guess is the latter since it did not reproduce.