XIAO Round Display Not Detecting SD Card

28, 3, 4, 2, as defined.

So it seems the pin definition is working, but it still can’t see the card…

I don’t have an ESP32.

Possibly related, but I’ve wired up a small 3.7v battery to the charge circuit. The HW test is supposed to indicate the battery level, but just shows 0%, despite the battery having a charge.

It’s unclear what the cause is.


Dip Switch

SEEED!

They should put background light on pin 1 or 3 (User button or Buzzer on XIAO expansion board,) not pin 6 Rx more likely to need to use the UART !

Good point, but interestingly enough it doesn’t change behavior for the example code.

Even more interesting, turning that dip switch to on, no battery, the battery indicator started changing between 15 and 35… As soon as I plug in the battery and reset, I get 0 again.

I’m going to see if the battery will charge, and maybe it’s because it’s below a threshold or something.

Still can’t figure out why it doesn’t see the SD card. It’s the exact same type and class PJ is using, and it’s formatted FAT32, readable by any OS I’ve put it into.

I would like to believe it’s not that Seeed/Xiao defined the pins incorrectly in the code, because I would imagine a lot of people would be having similar issues.

your battery is not reversed polarity is it?

I hope not. It’s wired up red+, black-.

I tried running this code with XIAO RoundDisplay and ESP32C3, with 32GB SD.
It’s throwing error :frowning:

Error:/Users/adith/Library/Arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/…/lib/gcc/riscv32-esp-elf/8.4.0/…/…/…/…/riscv32-esp-elf/bin/ld: /private/var/folders/gv/3b6sk3c155d1xt__5jbxyhv40000gn/T/arduino/cores/c0bb95db740c3428a30ae0a91016dc00/core.a(main.cpp.o): in function loopTask(void*)': /Users/adith/Library/Arduino15/packages/esp32/hardware/esp32/2.0.14/cores/esp32/main.cpp:45: undefined reference to loop()’
collect2: error: ld returned 1 exit status
Multiple libraries were found for “SD.h”
Used: /Users/adith/Library/Arduino15/packages/esp32/hardware/esp32/2.0.14/libraries/SD
Not used: /Users/adith/Library/Arduino15/libraries/SD
exit status 1

Compilation error: exit status 1

sounds like a problem with the code, maybe a missing ; or { } ,
try getting a fresh clean copy of the code… without seeing it i cant tell what else it could be
but try looking near anything you may have changed
look around the loop function

Hi there,
Can you test this bin on your unit. Check that thread SD fail, Yada, Yada,(GifVeiwer_target.bin)
Upload the bin with the Rf_Test tool or Flash tool , either will work.
Thnx,
GL :slight_smile: PJ

Hi there,
Did you get this working? Are you using BSP 8.4.0 ? I think that’s WAY too old…
HTH
GL :slight_smile: PJ

Is it possible that the capacity of the card is the problem? I’m suspecting this.

Hi there, And Happy New Year …LOL :smile: :wink: :v:
Yes, he said it was a 32Gig, class 10 Patriot brand ? I use the same, works in all my seeed products :+1:
no reply yet if it worked or not.?
GL :slight_smile: PJ

1 Like

I’ve tried a couple different SanDisk class 10 cards, with no luck.

I’m going to buy a new card and see if that helps.

Hi everyone,

I recently discovered the XIAO RP2040 and Round Display, which seemed ideal for a project I’m working on. However, I’m facing issues with getting it to detect the SD card.

Even with the example code like the Hardware Test, the SD card isn’t being detected. I also tried the GIF player example, but it also fails to recognize the card.

The SD card I’m using is a SanDisk SDHC Class 10, formatted to FAT32, and it’s fully functional.

I followed the setup instructions provided by Seeed meticulously, but still no luck.

Does anyone have any ideas on what I might be missing? Any help would be greatly appreciated!

Thanks in advance!

Unfortunatly I had 2 of three not be able to recognize the sd card… not sure if it was a defect, but the third one would work… thats all i know

Hi there,

Try this thread, and the test files, pay attention to the LIB versions.

HTH
GL :slight_smile: PJ

in the end…Spoiler alert… It was a marginal SD card. Try at least 3 or four. and the allocation in the format FAT32 matters also. use 16K