SparkFun Thing Plus (USB-C) micro SD

Hello

about the “SparkFun Thing Plus - ESP32 WROOM (USB-C) - WRL-20168”

to me is not clear if this board version, with already a micro SD card slot and USB-C, is able to see the card directly when connected to a PC trhough USB, or still need to remove the card.

I know there is the “SparkFun Thing Plus Dual-Port Logging Shield - DEV-19217” which does this exactly, but maybe this feature is already in the first “SparkFun Thing Plus”?

Hope someone can help

Regards

Dan

It’s not possible to read a SD card as a drive connected to your computer with this board. It’s a hardware design limitation of the board and the ESP32 that drives it.

Hi,
What about the STM32 Thing Plus which has its SD pins connected to SDIO. Can that be used like a thumb drive. If not, can a routine to read the SD card be provided to show the correct pin lables? I am finding a lot of documentation that gets COPI/PICO mixed up. (Sparkfun and Texas Instruments both).
Lockie

I’ve not played with the STM32 before but that should be able to be programmed to work as a USB mass storage device that presents a SD card as a USB drive. You would need to write the code needed to do that though as the board won’t do it all by itself.

Link below might help.

Thanks for that suggestion, but at the moment I cannot my stm32 Thing working as I cannot figure out the pin lables. I got the stm32 MM going OK once I figured it out, but the Thing has me stumped! Help please Sparkfun.

Hi Sparkfun,
I am still waiting for help on this one. What are the pin_defs for the SD card reader on the STM32 ThingPlus?
Thanks
Lockie

Hi Sparkfun,
Can you please give an example code for the use of the STM31 Thing Plus SD .
I have no problems with the Micromod Datalogging board and STM32 processor, but the ThingPlus always just gives me an “initialization failed” message when trying to use the SD reader.

Hi Sparkfun,

I have been asking for help for nearly one year now. Does the technical team know how to help?

This has been a source of great frustration, especially since I have had no issues with Micromod data logging.

Do these help?

Thankyou Yellowdog. I had found the circuit diagram and eventually translated SDIO_CMD to COPI; SDIO_D0 to CIPO; SDIO_CLK to SCLK; and SDIO_D3 to CS. Unfortunately the sd routine using these pins did not work and I just get a failed to initialiase error whereas almost similar code for the STM32 microd datalogger worked fine. I used the PCx, PBx notation for the pins.

I think an example routine from Sparkfun would have helped save me months of time, which has caused great frustration. (Possibly the board is faulty?)

It has been over a year now. Why cant a Sparkfun Technician give me some advice?

After waisting months of time wondering whether my unit was faulty or not, I tried some other SD library files. It seems that SDIO cannot use SD of SdFat libraries but requires STM32SD.h instead. It would have been good if Sparkfun had told us that this was a suitable library. This library got the sd card logging OK, but introduced another problem. In order to append data it is necessary to seek to the end of the file before writing. In a large file such as mine (>10,000,000 lines after a month of data) the overhead to seek to the end of file slows the logging time by a factor of 4, which is totally unacceptable. I have not been able to find a workaround for this issue. On my working MM stm32F405’s this is not an issue since they use the SD.h library, so there is no loss of logging speed.
Any ideas?