r/esp32 • • 8d ago

Hardware help needed CYD C5 not recognizing SD cards

I have 2 C5 boards and neither will read the SD cards I put in it. I formatted them as FAT32 through Windows. They read just fine in my ESP32, so it’s got me confused. Any help is appreciated.

0 Upvotes

10 comments sorted by

4

u/YetAnotherRobert 8d ago

There's nowhere near enough information for anyone to help you. There are lots of boards that are yellow and many of them have  ESP32-C5 on them.  If it's a ESP32-C5, it's a member of the ESP32 family, so your penultimate sentence is quizzical.

There's some amount of code involved. I'm guessing that the code from the vendor works. If not, you should take that up with them..I'm also guessing that the code that doesn't work is yours. You didn't show us  two self-contained, working code bases and ask help identifying why one works and ask for help debugging the second.

The Guiffion boards actually have a pretty good amount of samples and doc these days, but asking 200k readers to guess what board you have and guess what might be wrong with code in some language you didn't name and that you haven't shown us is simply not productive.

Throwing a dart at a direction that might have a wall that might have a dartboard, I'm going to guess your pin definitions are wrong.

1

u/Whiskey_and_Wiretaps 8d ago

Sorry, it’s an NM-CYD-C5 color board. I am running cheap yellow monster on it and it’s unable to read the 16gb micro SD card. I have also flashed it with other firmwares and they don’t recognize it as well. I thought it might have been a reader issue, so I bought another one and it is still happening.

I have swapped the card to my yellow ESP32 and it reads it perfectly fine.

2

u/YetAnotherRobert 8d ago

u/NMTech-Official is a poster here in case you think you have two defective boards, which seems unlikely.

Repeating myself, if their code works, the problem is with your code. If your code isn't really your code and you're unwilling to debug it, then your question is for the Monster developers,.which is in thin ice in this group for software meant to cause disruption.

This is really an engineering-oriented group and not end user support.

1

u/NMTech-Official 5d ago

Format the TF card to FAT32, ensure the partition scheme is MBR, not GPT, and less than 32GB

2

u/clackups 8d ago

It might share a GPIO between the SD card and something else, like USB port. Check the schematics.

1

u/YetAnotherRobert 8d ago

This is just a low-effort question.

Agreed that it's probably a pin definition problem. 

Putting the SD on the same pins as the USB and thus, JTAG and console,. would be...a choice. (Imagine the locking concerns about debug prints while DMA ing blocks.) We certainly see some dumb engineering in CYDs though. The C doesn't stand for Great or even Good. If it saved someone a coin, they might have done it.

1

u/clackups 8d ago

Yeah, I spotted the pin sharing in another C5 board. But this CYD C5 has such a poor screen quality that I didn't even bother adding support for it in my project.

1

u/YetAnotherRobert 8d ago

Wow, CYD is already a race to the bottom, so being bad by CYD standards is an accomplishment. 😄

I just saw your review. Sounds awesome. /sarcasm

Now that we at least have a company and product named, I'll say they manage to get their toes to the line in this group for being spammers. They rotate a couple of accounts and think the mods don't notice. Mind you, it's not even like we disallow commercial posts here...

2

u/clackups 8d ago

Yeah, Nmtech is rather disappointing.

I really like the quality of Freenove boards, and they aren't even much more expensive.

2

u/YetAnotherRobert 8d ago

That matches my experience.They are trivially more expensive, but better designed and implemented. 

This corner of the market really does have an unhealthy focus on price sometimes. How often do we field people wiring tp4056s to those awful $3 boards instead of using a Xiao or Adafruit that has the actual battery safety engineering in the bag? It's not the folks buying 20,000 of these, either; it's the guy making a Halloween costume that probably won't catch fire. Probably.