Hello.
My application receives ASCII data from a serial port and writes them in a TXT file on the connected USB-Stick.
Everything seems to work fine but, only with certain models of sticks (not branded 8GB), when I disconnect the drive and open it on the PC, I can see that a variable number of bytes (about 20 to 40) is missing at the end of file. This is systematic and independent on how many data I write into the file.
Obviously the problem is not present when I write data to the USB-Stick using the PC.
Can anyone help me to solve this issue?
Thanks
Mario