2025-07-10 6:43 AM
Hello all,
Sorry if I'm not doing everything perfect about this post but this is my very first :).
So i'm currently working on the STM32MP13 DK - Starter package (on STM32MP135F-DK)
And when executing the command : STM32_Programmer_CLI -c port=usb1 -w flashlayout_st-image-weston/optee/FlashLayout_sdcard_stm32mp135f-dk-optee.tsv
which job is to flash the image into the sd card i'm getting the following log. I'm working on oracle VM, Ubuntu 24.04.
If you have any question about my setup I'll be happy to answer you.
Théo
Log :
Start Embedded Flashing service
Opening and parsing file: tf-a-stm32mp135f-dk-optee-programmer-usb.stm32
Memory Programming ...
File : tf-a-stm32mp135f-dk-optee-programmer-usb.stm32
Size : 86.52 KB
Partition ID : 0x01
Download in Progress:
[==================================================] 100%
File download complete
Time elapsed during download operation: 00:00:02.171
RUNNING Program ...
PartID: :0x01
Reconnecting the device ...
Error: Unable to reconnect the target device: time out expired
Error: Start operation failed at partition 0x01
Error: TSV flashing service failed
2025-07-10 7:59 AM
Hello @Theo_,
Have you checked that boot pin is on 0000 ? Otherwise board couldn't boot on USB.
See https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP135x-DK/Let%27s_start/Populate_the_target_and_boot_the_image#Populate_the_SD_card to get visual aid on boot pin.
Tell me if this solves your timeout problem.
Best regards,
Thomas
2025-07-10 11:20 AM
I'm using a STM32MP157F-DK2 and I don't know if this could be your problem: I was having intermittent problems when trying to flash. The STM Linux Device was told to disconnect and would not reconnect. I would have to restart the DK2 because that port was dead.
What fixed my problems was disconnecting the cable from the USB Micro port.