wwatson4506 / UsbMscFat

Teensy 36/40/41 Compatiblility Layer for MSC and SdFat
MIT License
9 stars 3 forks source link

Program blocking, failure to detect drives and text file writing failing in some drives #7

Closed stytlus1234 closed 3 years ago

stytlus1234 commented 3 years ago

Hi. I have been trying out this library using teensy 4.1 in a project, the objective is to backup for a thumb drive a text file thats in the sd card, the problem is very strange, in some drives works just fine no problems, but in others does not detect the drive and freezes the program, or detects but does not create the file, but i ask to report if the file is there and says its there, but when i open in windows 10 its not, the thumb drive is empty, all of this was tested using one of the examples in library. I dont expect a response its just to report that there is a problem somewere, i think its the mass storage controller that is not allocating correctly the free sectors in the thumb drive, but im probably wrong, the code behind this is just a bit beyond my skills at the moment, maybe one day. I hope that in the future works better but for a first sketch its great work very user friendly.