2025-02-14 08:42 AM
Hello,
I have a custom board based on STM32MP257F-EV1 but with an eMMC (4 bits) connected on SDMM1.
I have modify CubeMX configuration accordingly:
I have also modify the device tree to declare the eMMC on SDMMC1:
&sdmmc1 {
pinctrl-names = "default", "opendrain", "sleep";
pinctrl-0 = <&sdmmc1_pins_mx>;
pinctrl-1 = <&sdmmc1_opendrain_pins_mx>;
pinctrl-2 = <&sdmmc1_sleep_pins_mx>;
status = "okay";
/* USER CODE BEGIN sdmmc1 */
non-removable;
no-sd;
no-sdio;
st,neg-edge;
bus-width = <4>;
vmmc-supply = <&scmi_vdd_emmc>;
vqmmc-supply = <&scmi_vddio2>;
mmc-ddr-1_8v;
mmc-hs200-1_8v;
/* USER CODE END sdmmc1 */
};
After booting the board using the USB interface, U-Boot doesn't find the eMMC.
mmc rescan: gives nothing
mmc list: no answer
And to further error.
Any clues on what's happening here ?