This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SD card trouble

Hello,

I'm sorry for daring to ask a not strictly Keil related question here. I am stuck, and I hoped that some of the expertise here might help me out!
I am writing data to an SD card, but I see that if I write less than 512 bytes to the device (sector size = 512, FAT16) the data ends up at the very beginning of the designated sector as it should. But if I write 512+ bytes, there is always an offset of 3 bytes (that is, data is written to the right sector but not from the beginning).
I tried everything I know to no avail. Can you theorize what might be the cause of this?