cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP267FAK3 Custom Board – eMMC Flashing Timeout via STM32CubeProgrammer (No SD Card)

_Vanshika
Associate II

 

I am working on a custom board based on STM32MP267FAK3 and facing issues while flashing eMMC directly using STM32CubeProgrammer.

Hardware Details

  • SoC: STM32MP267FAK3

  • DDR: DDR3L (part no: MT41K512M16VRP-107 )

  • eMMC: Custom eMMC MX52LM08A11XVW

     

  • SD Card: Not populated / no SD card provision on board

Software Changes Done

I have already made board-specific changes in:

  • TF-A (DDR + PMIC configuration generated using CubeMX tool)

  • OP-TEE

  • U-Boot

  • Linux kernel

    Flashing Method

    • Flashing eMMC directly using STM32CubeProgrammer

    • Interface: USB (DFU)

    • Using a TSV file generated from the build system (same method as reference BSP)
      TSV File

      _Vanshika_0-1766151181403.png

       

      Problem Description

      When flashing the eMMC, I consistently get a timeout error in STM32CubeProgrammer.

      _Vanshika_1-1766151288974.png

       

      My questions are:
      1. What might be the reason for this error?
      2. What are the possible solutions I can adopt to resolve this issue?
      3. Is there any other way to directly flash eMMC without SD card and without using STM32CubeProgrammer?
1 REPLY 1
PatrickF
ST Employee

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.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
NEW ! Sidekick STM32 AI agent, see here