Bill Greiman

Results 761 comments of Bill Greiman

> For some reason I had to unmount/remount the card when I power cycle the board or reset it. If the card is powered on and gets noise on clock...

I tried to run the code in loop but it never stops. It just prints "Done" forever. When I did a reset the SD was corrupt since the file was...

Yes the instance of the SPI class must be global or in memory that is not destroyed when it goes out of scope. SdFat only gets a pointer to the...

SdFat is not multi-core safe. You will need to use a mutex or other method to fix it. SdFat will then likely also be slow since checking the status will...

Edit SdFatConfig.h and remove the comment slashes so `USE_UTF8_LONG_NAMES` is define to one.

> Could you explain to me why there were the comment slashes for this line? UTF8 require more memory and few people use UTF8 so the default is to not...

It fails [here](https://github.com/greiman/SdFat/blob/57900b21d21655c513ef7e344f55e8190e612dcb/src/SdCard/SdSpiCard.cpp#L193), This is almost always a wiring error. This takes place at very slow SPI clock, 400 kHz. I can't help since I don't have your hardware.

I will add this to SdFat-beta. I only update SdFat after changes have been in SdFat-beta for a while. I also like to collect a number of changes so users...

I copied your program and ran it on a Mega that has two cards. I only edited the CS pin numbers. I compiled and ran with two 32 GB FAT32...

> ExFatLogger: file exists on SD, filesize is always the preallocated size, no data is written The data is written but the file is not closed so the directory shows...