Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freeze after 1-10 minutes with Intenso Micro SDHC 32GB Class 10 #160

Closed
madias123 opened this issue Oct 30, 2019 · 3 comments
Closed

Freeze after 1-10 minutes with Intenso Micro SDHC 32GB Class 10 #160

madias123 opened this issue Oct 30, 2019 · 3 comments

Comments

@madias123
Copy link

I've got a nasty error:
Using STM32 - VS1053 (with SD card holder that I use): With all of my cards everything runs perfect. So I ordered for my mini serie project 10 pieces of:
Intenso Micro SDHC 32GB Class 10
Formatted with the SD tool
Now the magic:
After 1-10 minutes of playing MP3 files, everything freezes (I do not have the time until now for some debugging work). This occurs on every of the 10 card and every of the 10 player-PCBs and ONLY with this type. I used: 32GB Kingston, Sandisk various sizes, everything all right. But Intenso: crash after a few minutes.
Anybody did same symptoms with a specific card type?
I tried out: lowering SPI speed, different formats (FAT32, ExFat...) - same thing.

My next step would be:
Sketch with only SDfat library, reading the Mp3 Files step by step with all debugging option

@madias123
Copy link
Author

madias123 commented Oct 30, 2019

Here are some benchmark results. Interesting point: the write speeds compared with Kingston.
https://mcu.selfip.com/viewtopic.php?f=5&t=168&p=1428#p1428
So same class, same size, but a big difference!
Even the Class 4 of Intenso cards are slow at write speed (but much better as Class 10) - and: They are working even after an hour.

Some details/measurements of the Card Slot of the VS1053 module:
Voltage is totally stable at 3.3V
MISO, MOSI, CS, CLK are directly connected, without pull-up/pull-down resistors.
So I should be ok, the module is directly soldered on the PCB (no long cables or something).

@greiman
Copy link
Owner

greiman commented Oct 31, 2019

It is not unusual for an less known brand to fail like this. Most cards are used in phone or other devices that use the 4-bit SDIO bus and protocol.

SPI is not well supported for SD cards. New features are not available in SPI mode.

Major name brand cards like Kingston, Samsung, SanDisk... seem to work well in SPI mode.

You might try SdFat V2 now in beta. I suspect it will not improve the situation but might since some timing may be different.

@greiman greiman closed this as completed Oct 31, 2019
@madias123
Copy link
Author

I've already sent back the 10 pieces of cards and received 10 pieces of Kingston. Maybe someone with similar problems will read this archived / closed issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants