SD card
Status of SD card is "SD card init failed" after adding the SD card. I use TTGO LoRa32 with latest dev firmware. SD card fully works in PC. It's formatted as FAT. I already tested it before in some TTGO and myloc file was created there. Maybe it was the same TTGO as I use now...
Not easy to tell. Maybe you could share your full config?
- No changes to functionality, and the SD card is working with the latest dev firmware on my testing TTGO.
- Double-check your pin configuration (make sure you have all your pins configured correctly, and also make sure you don't have any SD card pins configured elsewhere, e.g. as buttons)
- It needs to be the plain and simple FAT file system, specifically exFAT is not supported.
I don't change anything in config (using default values). I don't have anything connected else to TTGO. Yes, file system is standard FAT.
Maybe one more thing: SD cards needs to be inserted before powering on the TTGO. The TTGO will attempt initialization only once on power up. If you insert the SD card later, it will just show the state (init failed) on power up.
I have connected a battery to TTGO. Is turning off/on by build-in switch enough? Or do I need to unplug the battery? It could be a bit problematic due to the plastic box...
Turning off/on is enough
Unfortunately, it doesn't work for me. I also tried to plug USB cable and powered it only by cable (with switch off). But, it didn't help me:(
I connected my SD Card 1GB to HSPI pins: 12, 13, 14, 15. Formated SD Card FAT16. It is working very well. But I have esp32 wroom 38 pins board and ILI9225 TFT.
I tried to format the SD card to FAT16 (it was FAT32). Not help... Maybe, SD slot on TTGO is broken. I'll have to try it with a different board. But, I only have access to this one:(
I tried to format the SD card to FAT16 (it was FAT32). Not help... Maybe, SD slot on TTGO is broken. I'll have to try it with a different board. But, I only have access to this one:(
Please share your hardware config. It seems that you did not provide correct configuration for SD card pins. What is your board? LILYGO? Please share hardware version info.
Not easy to tell. Maybe you could share your full config?
- No changes to functionality, and the SD card is working with the latest dev firmware on my testing TTGO.
- Double-check your pin configuration (make sure you have all your pins configured correctly, and also make sure you don't have any SD card pins configured elsewhere, e.g. as buttons)
- It needs to be the plain and simple FAT file system, specifically exFAT is not supported.
Have you any plans to implement SD card format funtion? Or file remove funtion? I have my pcb above roof, at the side of antenna, and have to format SD card soon. No space left in few more days.... ;) Or can i do this nów, but did not know how? ;)
I use this TTGO board: https://lilygo.cc/products/lora3 without any additional connected devices. I didn't change any pin configuration in the firmware (I use default ones).
I use this TTGO board: https://lilygo.cc/products/lora3 without any additional connected devices. I didn't change any pin configuration in the firmware (I use default ones).
So show those default ones.
Sorry for late answer - I didn't have access to TTGO.
The config for SD card is: CS - 13 MISO - 2 MOSI - 15 CLK - 14