shivamgrover
New member
Hi guys, I got a teensy 4.0 and the audio board with SD card slot. I have been having some inconsistent issues with the SD card, I'll describe them below:
Yesterday I took a used non-formatted sandisk 128GB SD card and tried that, but the Teensy could not detect it.
Today, I purchased a new Kingston 64 GB SD card, and plugged it in, and the Teensy was able to detect it, and the SDCardTest example would give the size and type or the card correctly. I then added 4 randomly downloaded wav files from the internet to the SD card, changed their names to SDTEST1.WAV, SDTEST2.WAV and so on. The list files example was able to detect them but the WavFilePlayer would play them but I couldn't hear anything on the earphones.
I thought maybe the wav files are not in the correct format, so I decided to download the one's officially posted here. When I listed the files using the list files example, it showed the files but all had 0 size. And obviously it wouldn't play.
I plugged in my SD card on to my laptop to see what happened, and windows told me that the SD card needs to be fixed, and I followed the prompt and it "fixed" it. But since then I am not able to get the Teensy to read my SD card. On the SDCardTest example, it keeps saying "SD card is not connected or unusable :-(".
I tried formatting it in various ways, FAT16, FAT32, ext4, exFAT. I even used this software which I found linked in one of the previous forums with a similar question, but the Teensy could never find my SD card.
I checked all pins between the teensy and the audio board as well, and they all seem fine. Nothing seems broken or shorted.
Just to clarify for the wav files, the earphones work fine if I play a random frequency, or if I sample from the mic itself. Only the wav files were having some issue. However, that's a problem for future me, atleast right now I would just like to get my SD card working again. I don't wanna buy another one (atleast until I know what went wrong), and it would be great if this one could be fixed.
Sorry for the urgency, I just have a submission due on Sunday Any help would be greatly appreciated! Excited to finish my Teensy build!
Yesterday I took a used non-formatted sandisk 128GB SD card and tried that, but the Teensy could not detect it.
Today, I purchased a new Kingston 64 GB SD card, and plugged it in, and the Teensy was able to detect it, and the SDCardTest example would give the size and type or the card correctly. I then added 4 randomly downloaded wav files from the internet to the SD card, changed their names to SDTEST1.WAV, SDTEST2.WAV and so on. The list files example was able to detect them but the WavFilePlayer would play them but I couldn't hear anything on the earphones.
I thought maybe the wav files are not in the correct format, so I decided to download the one's officially posted here. When I listed the files using the list files example, it showed the files but all had 0 size. And obviously it wouldn't play.
I plugged in my SD card on to my laptop to see what happened, and windows told me that the SD card needs to be fixed, and I followed the prompt and it "fixed" it. But since then I am not able to get the Teensy to read my SD card. On the SDCardTest example, it keeps saying "SD card is not connected or unusable :-(".
I tried formatting it in various ways, FAT16, FAT32, ext4, exFAT. I even used this software which I found linked in one of the previous forums with a similar question, but the Teensy could never find my SD card.
I checked all pins between the teensy and the audio board as well, and they all seem fine. Nothing seems broken or shorted.
Just to clarify for the wav files, the earphones work fine if I play a random frequency, or if I sample from the mic itself. Only the wav files were having some issue. However, that's a problem for future me, atleast right now I would just like to get my SD card working again. I don't wanna buy another one (atleast until I know what went wrong), and it would be great if this one could be fixed.
Sorry for the urgency, I just have a submission due on Sunday Any help would be greatly appreciated! Excited to finish my Teensy build!