2025-12-19 7:32 AM
I am working on a custom board based on STM32MP267FAK3 and facing issues while flashing eMMC directly using STM32CubeProgrammer.
SoC: STM32MP267FAK3
DDR: DDR3L (part no: MT41K512M16VRP-107 )
eMMC: Custom eMMC MX52LM08A11XVW
SD Card: Not populated / no SD card provision on board
I have already made board-specific changes in:
TF-A (DDR + PMIC configuration generated using CubeMX tool)
OP-TEE
U-Boot
Linux kernel
Flashing eMMC directly using STM32CubeProgrammer
Interface: USB (DFU)
Using a TSV file generated from the build system (same method as reference BSP)
TSV File
When flashing the eMMC, I consistently get a timeout error in STM32CubeProgrammer.
My questions are:
2025-12-19 8:02 AM
Hi, there might be two main root causes to look first:
- USB re-connection if you are using a Virtual machine. Check your VM settings or try using CubeProg under W11
- TF-A or uBoot (partition 0x1 or 0x2) is crashing (e.g. DDR init or else), please check board UART console log for error messages.
Regards.