Skip to main content
Visitor II
November 20, 2024
Question

Timeout error occured while waiting for acknowledgement

  • November 20, 2024
  • 1 reply
  • 1139 views

i am trying flash in SD card for STM32MP157F-DK2. I am getting the error as mentioned below

 

Port configuration: parity = even, baudrate = 115200, data-bit = 8, stop-bit = 1.0, flow-control = off
16:56:09 : Activating device: OK
16:56:09 : Board : --
16:56:09 : Chip ID: 0x500
16:56:09 : BootLoader protocol version: 4.0
16:56:11 : Start Embedded Flashing service
16:56:12 : Memory Programming ...
16:56:12 : Opening and parsing file: tf-a-stm32mp157f-dk2-usb.stm32
16:56:12 : File : tf-a-stm32mp157f-dk2-usb.stm32
16:56:12 : Size : 220.82 KB
16:56:12 : Partition ID : 0x01
16:56:12 : Download in Progress:
16:56:38 : File download complete
16:56:38 : Time elapsed during download operation: 00:00:26.388
16:56:38 : RUNNING Program ...
16:56:38 : PartID: :0x01

Start operation done successfully at partition 0x01
16:57:09 : Timeout error occured while waiting for acknowledgement.
16:57:40 : Timeout error occured while waiting for acknowledgement.
16:58:11 : Timeout error occured while waiting for acknowledgement.
16:58:42 : Timeout error occured while waiting for acknowledgement.
16:59:13 : Timeout error occured while waiting for acknowledgement.
16:59:13 : Error: GetPhase command not acknowledged after several retries!
16:59:13 : Error: Parition 0xBB not found in TSV File
16:59:13 : Error: TSV flashing service failed
16:59:14 : Disconnected from device.

 

what would be issue it is not moving further.. 

1 reply

PatrickF
Technical Moderator
November 20, 2024

Hi,

please confirm you are using the latest CubeProgrammer and latest Starter Package https://www.st.com/en/embedded-software/stm32mp1starter.html

Today latest ecosystem is v5.1.0. the 6.0.0 is expected to be available very soon.

Maybe check the board UART console output (using board STLINK USB connector which provide a VCP) if any hurdle (e.g. USB Type-C non compliant power supply).

 

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
Associate III
May 30, 2025

I'm having the same problem using the 6.0.0 version.

 

smanger_0-1748631840859.png

any suggestions??

PatrickF
Technical Moderator
June 2, 2025

Hi @smanger @k_ec 

just realized that you are trying to flashload with UART. Is it intended ?

We strongly recommend to use USB (Linux image is too big for UART).

Note: UART could be used to load up to uboot for early debugging in case USB is not yet working during custom board bring up. In that case, you should use the "tf-a-stm32mp135f-dk-optee-programmer-uart.stm32" in your TSV file.

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