BARO
26
Now the node sdhci@700b0400 have it:
sdhci@700b0400 { /* SDMMC1 for SD card */
default-drv-type = <1>;
cd-gpios = <&gpio TEGRA_GPIO(Z, 1) 0>;
sd-uhs-sdr104;
sd-uhs-sdr50;
sd-uhs-sdr25;
sd-uhs-sdr12;
mmc-ddr-1_8v;
mmc-hs200-1_8v;
nvidia,cd-wakeup-capable;
nvidia,update-pinctrl-settings;
nvidia,pmc-wakeup = <&tegra_pmc PMC_WAKE_TYPE_GPIO 35
PMC_TRIGGER_TYPE_NONE>;
uhs-mask = <0xc>;
no-sdio;
no-mmc;
disable-wp;
vmmc-always-on;
status = "okay";
};
I compile the dtb and continue the same problem.
The parameters I share to you is called “nvidia,vmmc-always-on”, not only vmmc-always-on.
BARO
28
I fixed it… the SD_VCC_EN is connected to the PIN 211 GPIO09.
BARO
31
Yes !! Thanks Wayne! The nvidia,vmmc-always-on solved the problem.
1 Like
I have no problem writing to the external sdcard, and I will report this error when reading data. Sometimes the documents are incomplete
[ 153.184384] mmc1: Data CRC error
[ 153.187611] sdhci: =========== REGISTER DUMP (mmc1)===========
[ 153.193432] sdhci: Sys addr: 0x00000400 | Version: 0x00000303
[ 153.199251] sdhci: Blk size: 0x00007200 | Blk cnt: 0x0000004f
[ 153.205070] sdhci: Argument: 0x02214ff8 | Trn mode: 0x0000003b
[ 153.210889] sdhci: Present: 0x01fb0000 | Host ctl: 0x00000013
[ 153.216709] sdhci: Power: 0x00000001 | Blk gap: 0x00000000
[ 153.222529] sdhci: Wake-up: 0x00000000 | Clock: 0x00000007
[ 153.228349] sdhci: Timeout: 0x0000000e | Int stat: 0x00000000
[ 153.234170] sdhci: Int enab: 0x02ff100b | Sig enab: 0x02fc100b
[ 153.239990] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 153.245811] sdhci: Caps: 0x376cd08c | Caps_1: 0x10006f73
[ 153.251631] sdhci: Cmd: 0x0000123a | Max curr: 0x00000000
[ 153.257451] sdhci: Host ctl2: 0x00003000
[ 153.261370] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000ffefe480
[ 153.267912] sdhci: ===========================================
[ 153.273935] mmcblk1: error -110 sending stop command, original cmd response 0x900, card status 0x400900
[ 153.273940] mmcblk1: error -84 transferring data, sector 35737592, nr 1024, cmd response 0x900, card status 0x0
[ 153.284171] tegradc tegradc.0: blank - powerdown
[ 153.346583] extcon-disp-state extcon:disp-state: cable 47 state 0
[ 153.346587] Extcon AUX1(HDMI) disable
[ 153.366918] tegradc tegradc.0: unblank
kayccc
34
Hi 1042674499,
Please help to open a new topic with more details of your issue. Thanks