Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Hi,
I have a bug with fwrite function on Mben LPC176B. I use FAT library with an USB Key. When I write larger than 512 bytes in one time, only the first bloc is valid. For example, if I write the byte 0xAA 2048 times (4 blocs), I read in the file : ->0xAA 512 times ->1536 strange bytes.
The stranges bytes come from old file deleted or data already present on key.
It's a bug in FAT library ?
Thank you.
Regards.
PS : sorry for my bad english.