Bill Greiman

Results 757 comments of Bill Greiman

A real example of my USB wrapper for a USB key library: ``` class UsbMscDriver : public BlockDeviceInterface { public: UsbMscDriver(BulkOnly* bulk) : m_lun(0), m_bulk(bulk) {} bool isBusy() {return false;}...

If it compiles with the SdioCard class it should work. Expect Your driver to be slower than SPI in V2 for writes of less than 4096 bytes, like the above...

> To indicate a change between volumes of the two SD cards, one must use the chvol() function of the SdFs class. I learned this by reading the TwoCards.ino example....

There no longer is a single global cwd object since there are now three basic file/volume types. Each type has a current working volume and each volume has a working...

Just do this: ``` File dir; File file; dir.open(path); dir.rewind(); while (file.openNext(&dir, O_RDONLY)) { ```

You should be able do something like [this example](https://github.com/greiman/SdFat/tree/master/examples/STM32Test) for STM32.

Try using the standard SPI library by editing Arduino/libraries/SdFat/src/SfFatConfig.h. At about line 115 set SPI_DRIVER_SELECT to one like this. ``` /** * If the symbol SPI_DRIVER_SELECT is: * * 0...

SdFat should support all Arduino boards. Most boards just use the standard SPI library, AVR and Arsuino Due are the main exceptions. SdFat has many Teensy users. The Arduino SD.h...

I bought a Nano Every and ran the [bench](https://github.com/greiman/SdFat/blob/master/examples/bench/bench.ino) example with the standard SPI library. It is slow. Here are the results: ``` write speed and latency speed,max,min,avg KB/Sec,usec,usec,usec 257.94,2652,1964,1975...

I have no idea what is happening. The fact that your program works with the W5100 shield but not the W5500 means the problem is not easy to diagnose. Sorry...