小白求救T113-S3 sdc2 emmc(ZDEMMC04GA)不识别
-
新做的板子,sdc2 4线连接 emmc,型号ZDEMMC04GA,PPRST 是系统复位脚,emmc rst直接上拉到3.3v也试过,都是不识别。
原理图:
sys_config.fex
[card2_boot_para] card_ctrl = 2 card_high_speed = 1 card_line = 4 sdc_clk = port:PC02<3><1><3><default> sdc_cmd = port:PC03<3><1><3><default> sdc_d0 = port:PC06<3><1><3><default> sdc_d1 = port:PC05<3><1><3><default> sdc_d2 = port:PC04<3><1><3><default> sdc_d3 = port:PC07<3><1><3><default> ;cap-mmc-highspeed = sdc-frequency = 5000000 ;sdc_boot = 2 ;sdc_tm4_hs200_max_freq = 150 ;sdc_tm4_hs400_max_freq = 100 ;sdc_ex_dly_used = 2 sdc_io_1v8 = 0 sdc_tm4_win_th = 8 ;sdc_dis_host_caps = 0x180 ;sdc_erase = 2 sdc_boot0_sup_1v8 = 0 sdc_type = "tm4"
dts:
&sdc2 { non-removable; bus-width = <4>; mmc-ddr-3_3v; //mmc-ddr-1_8v; //mmc-hs200-1_8v; /*mmc-hs400-1_8v;*/ no-sdio; no-sd; ctl-spec-caps = <0x308>; cap-mmc-highspeed; sunxi-power-save-mode; sunxi-dis-signal-vol-sw; mmc-bootpart-noacc; max-frequency = <50000000>; //vmmc-supply = <®_3p3v>; //vqmmc33sw-supply = <®_3p3v>; /*max-frequency = <100000>;*/ /*vmmc-supply = <®_dcdc1>;*/ /*emmc io vol 3.3v*/ /*vqmmc-supply = <®_aldo1>;*/ /*emmc io vol 1.8v*/ /*vqmmc-supply = <®_eldo1>;*/ status = "okay"; };
用usb下载程序:
用SD卡能启动,log[ 1.950569] sunxi-mmc 4022000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) [ 1.960511] sunxi-mmc 4022000.sdmmc: ***ctl-spec-caps*** 308 [ 1.966904] sunxi-mmc 4022000.sdmmc: No vmmc regulator found [ 1.973225] sunxi-mmc 4022000.sdmmc: No vqmmc regulator found [ 1.979628] sunxi-mmc 4022000.sdmmc: No vdmmc regulator found [ 1.986057] sunxi-mmc 4022000.sdmmc: No vd33sw regulator found [ 1.992572] sunxi-mmc 4022000.sdmmc: No vd18sw regulator found [ 1.999073] sunxi-mmc 4022000.sdmmc: No vq33sw regulator found [ 2.005584] sunxi-mmc 4022000.sdmmc: No vq18sw regulator found [ 2.012111] sunxi-mmc 4022000.sdmmc: Cann't get pin bias hs pinstate,check if needed [ 2.021460] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.045107] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.069283] sunxi-mmc 4022000.sdmmc: detmode:alway in(non removable) [ 2.076413] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.088880] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pfo not found, using dummy regulator [ 2.090981] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.100142] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) [ 2.112857] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.121377] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 [ 2.133640] sunxi-mmc 4022000.sdmmc: smc 0 p2 err, cmd 1, RTO !! [ 2.139136] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found [ 2.145575] sunxi-mmc 4022000.sdmmc: retry:start
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号