Tool/software: Linux
Hi,
I try to set omap mmc hs mode in 192M , it's probability of failure. The error is:
"omap_hsmmc 480b4000.mmc: ADMA err: ST_TFR, desc at 0xfd841008 follows the erroneous one"
my emmc is Micron, my current config is:
&mmc2 {
/* SW5-3 in ON position */
status = "okay";
vmmc-supply = <&evm_3v3_sw>;
bus-width = <8>;
ti,non-removable;
max-frequency = <192000000>;
pinctrl-names = "default", "hs", "ddr_1_8v", "hs200_1_8v";
pinctrl-0 = <&mmc2_pins_default>;
pinctrl-1 = <&mmc2_pins_hs>;
pinctrl-2 = <&mmc2_pins_ddr_1_8v>;
pinctrl-3 = <&mmc2_pins_hs200_1_8v &mmc2_iodelay_hs200_1_8v_conf>;
};
mmc2_iodelay_hs200_1_8v_conf: mmc2_iodelay_hs200_1_8v_conf {
pinctrl-single,pins = <
0x194 (A_DELAY(285) | G_DELAY(0)) /* CFG_GPMC_A19_OUT */
0x1AC (A_DELAY(189) | G_DELAY(0)) /* CFG_GPMC_A20_OUT */
0x1B8 (A_DELAY(0) | G_DELAY(120)) /* CFG_GPMC_A21_OUT */
0x1C4 (A_DELAY(0) | G_DELAY(70)) /* CFG_GPMC_A22_OUT */
0x1D0 (A_DELAY(730) | G_DELAY(360)) /* CFG_GPMC_A23_OUT */
0x1DC (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_A24_OUT */
0x1E8 (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_A25_OUT */
0x1F4 (A_DELAY(70) | G_DELAY(0)) /* CFG_GPMC_A26_OUT */
0x200 (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_A27_OUT */
0x368 (A_DELAY(0) | G_DELAY(120)) /* CFG_GPMC_CS1_OUT */
0x190 (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_A19_OEN */
0x1A8 (A_DELAY(231) | G_DELAY(0)) /* CFG_GPMC_A20_OEN */
0x1B4 (A_DELAY(39) | G_DELAY(0)) /* CFG_GPMC_A21_OEN */
0x1C0 (A_DELAY(91) | G_DELAY(0)) /* CFG_GPMC_A22_OEN */
0x1D8 (A_DELAY(176) | G_DELAY(0)) /* CFG_GPMC_A24_OEN */
0x1E4 (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_A25_OEN */
0x1F0 (A_DELAY(101) | G_DELAY(0)) /* CFG_GPMC_A26_OEN */
0x1FC (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_A27_OEN */
0x364 (A_DELAY(360) | G_DELAY(0)) /* CFG_GPMC_CS1_OEN */
>;
};
When I set max-frequency less than 192000000,the probability of recurrence is reduced.,I don’t know how to slove the trouble.
thank you!