- I don't cancel the files
Do you mean that you don't close the file?
No, I really mean cancel. I always close the file once I have written o read. If I cancel it an re-create before resetting it works. If I write on it and reset (leaving phisically the card inside the slot) the SD.begin in the setup fails