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

sd card initialization failed with sdfat 2.1.2 #29

Open
Raduq91 opened this issue Feb 3, 2023 · 0 comments
Open

sd card initialization failed with sdfat 2.1.2 #29

Raduq91 opened this issue Feb 3, 2023 · 0 comments

Comments

@Raduq91
Copy link

Raduq91 commented Feb 3, 2023

On teensy 4.1 I tried example from vga_t4, vga works.
teensynofrendo gives me a black screen and serial console prints: sd card initialization failed

Tried CardInfo.ino example from sdfat 2.1.2(that comes with teensyduino 1.57) sd card initialization failed
Tried CardInfo.ino example from sdfat 2.2.0:
SdFat version: 2.2.0
Assuming an SDIO interface.

type any character to start
init time: 8 ms

Card type: SD1
sdSpecVer: 1.01
HighSpeedMode: false

Manufacturer ID: 0X3
OEM ID: SD
Product: SU128
Revision: 5.8
Serial number: 0X11D537A
Manufacturing date: 8/2006

cardSize: 125.96 MB (MB = 1,000,000 bytes)
flashEraseSize: 32 blocks
eraseSingleBlock: true
dataAfterErase: zeros

OCR: 0X80FF8000

read MBR failed.
SD errorCode: SD_CARD_ERROR_CMD13 = 0XA
SD errorData = 0X0

type any character to start

Sd cards I tried that behave the same, error with 2.1.2, works with 2.2.0, works on phone, works on pc with card reader:
Transcend 8gb
Samsung 64gb
Sandisk 128mb

Do you want to make it work with sdfat 2.2.0?

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

1 participant