Nano EMMC SD Card Errors

We are having issues communicating with the SDMMC3 SD card on our custom carrier board with Nano eMMC module.

The error from dmesg is: “Data end bit error”

[    1.538436] mmc1: host does not support reading read-only switch, assuming write-enable
[    1.543532] mmc1: new ultra high speed SDR25 SDHC card at address e624
[    1.543967] mmcblk1: mmc1:e624 SU32G 29.7 GiB 
[    1.551806] mmc1: Data end bit error
[    1.551808] sdhci: =========== REGISTER DUMP (mmc1)===========
[    1.551813] sdhci: Sys addr: 0x00000000 | Version:  0x00000303
[    1.551816] sdhci: Blk size: 0x00007200 | Blk cnt:  0x00000007
[    1.551820] sdhci: Argument: 0x00000000 | Trn mode: 0x00000033
[    1.551824] sdhci: Present:  0x01fb0000 | Host ctl: 0x00000017
[    1.551828] sdhci: Power:    0x00000001 | Blk gap:  0x00000000
[    1.551831] sdhci: Wake-up:  0x00000000 | Clock:    0x00000007
[    1.551835] sdhci: Timeout:  0x0000000e | Int stat: 0x00000000
[    1.551838] sdhci: Int enab: 0x02ff100b | Sig enab: 0x02fc100b
[    1.551842] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[    1.551846] sdhci: Caps:     0x376cd08c | Caps_1:   0x10006f77
[    1.551849] sdhci: Cmd:      0x0000123a | Max curr: 0x00000000
[    1.551852] sdhci: Host ctl2: 0x00003009
[    1.551857] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000ffefe410
[    1.551885] sdhci: ===========================================
[    1.552065] mmcblk1: error -84 transferring data, sector 0, nr 8, cmd response 0x900, card status 0xb00
[    1.583451] hid-generic 0003:062A:4C01.0001: input,hidraw0: USB HID v1.10 Keyboard [MOSART Semi. 2.4G INPUT DEVICE] on usb-70090000.xusb-2/input0
[    1.585910] input: MOSART Semi. 2.4G INPUT DEVICE as /devices/70090000.xusb/usb1/1-2/1-2:1.1/0003:062A:4C01.0002/input/input3
[    1.633262] mmc1: Data end bit error
[    1.633264] sdhci: =========== REGISTER DUMP (mmc1)===========
[    1.633269] sdhci: Sys addr: 0x00000000 | Version:  0x00000303
[    1.633273] sdhci: Blk size: 0x00007200 | Blk cnt:  0x00000007
[    1.633277] sdhci: Argument: 0x00000000 | Trn mode: 0x00000033
[    1.633281] sdhci: Present:  0x01fb0000 | Host ctl: 0x00000017
[    1.633285] sdhci: Power:    0x00000001 | Blk gap:  0x00000000
[    1.633288] sdhci: Wake-up:  0x00000000 | Clock:    0x00000007
[    1.633292] sdhci: Timeout:  0x0000000e | Int stat: 0x00000000
[    1.633296] sdhci: Int enab: 0x02ff100b | Sig enab: 0x02fc100b
[    1.633299] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[    1.633303] sdhci: Caps:     0x376cd08c | Caps_1:   0x10006f77
[    1.633307] sdhci: Cmd:      0x0000123a | Max curr: 0x00000000
[    1.633309] sdhci: Host ctl2: 0x00003009
[    1.633314] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000ffefe410
[    1.633343] sdhci: ===========================================
[    1.633415] mmcblk1: error -84 transferring data, sector 0, nr 8, cmd response 0x900, card status 0xb00
[    1.633424] mmcblk1: retrying using single block read
[    1.633676] mmc1: Data end bit error
[    1.633678] sdhci: =========== REGISTER DUMP (mmc1)===========
[    1.633682] sdhci: Sys addr: 0x00000000 | Version:  0x00000303
[    1.633685] sdhci: Blk size: 0x00007200 | Blk cnt:  0x00000000
[    1.633689] sdhci: Argument: 0x00000000 | Trn mode: 0x00000013
[    1.633692] sdhci: Present:  0x01fb0000 | Host ctl: 0x00000017
[    1.633696] sdhci: Power:    0x00000001 | Blk gap:  0x00000000
[    1.633700] sdhci: Wake-up:  0x00000000 | Clock:    0x00000007
[    1.633703] sdhci: Timeout:  0x0000000e | Int stat: 0x00000000
[    1.633707] sdhci: Int enab: 0x02ff100b | Sig enab: 0x02fc100b
[    1.633710] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[    1.633714] sdhci: Caps:     0x376cd08c | Caps_1:   0x10006f77
[    1.633718] sdhci: Cmd:      0x0000113a | Max curr: 0x00000000
[    1.633720] sdhci: Host ctl2: 0x00003009
[    1.633725] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000ffefe410
[    1.633754] sdhci: ===========================================
[    1.633806] mmcblk1: error -84 transferring data, sector 0, nr 8, cmd response 0x900, card status 0x0
[    1.633816] blk_update_request: I/O error, dev mmcblk1, sector 0
[    1.635110] Buffer I/O error on dev mmcblk1, logical block 0, async page read

Hardware connections
VDD - 3v3 Always On (Sys 3v3)
Dat0 - SoM Pin 219 (Nano SD-D0)
Dat1 - SoM Pin 221 (Nano SD-D1)
Dat2 - SoM Pin 223 (Nano SD-D2)
Dat3 - SoM Pin 225 (Nano SD-D3)
CMD - SoM Pin 227 (Nano SD-CMD)
CLK - SoM Pin 229 (Nano SD-CLK)
VSS - GND
CD - SoM Pin 118 (According to the pinmux spreadsheet, the Nano signal name for pin 118 is GPIO01. The GPIO name is GPIO3 PS.05.)

Attachments:
Current DTS (decompiled from current DTB)
Current DMESG
dtsi-patchfiles (2x)
tegra210-sdhci.dtsi.32.6.1.patch (460 Bytes)
tegra210-porg-p3448-common.dtsi.32.6.1.patch (384 Bytes)
20210713-pinmux.dtsi (38.1 KB)
20210713-gpio.dtsi (1.9 KB)
dmesg.log (94.7 KB)
20220829-tegra210-p3448-0002-p3449-0000-b00.dts (318.8 KB)

Previously: Nvidia Nano EMMC not detecting Partition on sdmmc3 SD Card

Another user just had a working case few days ago.

You can try to compare the device tree first.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.