2019-04-09 08:01 AM
Hello everyone,
I'm trying to get started with the STM32MP157 with the STM32MP157x-EV1 Evaluation board by following the exact steps shown here.
Everything seems to be running smoothly but when I try to flash the microSD card on the board, something happens: Apparently the problem begins allright, but then, after the message saying "reconnecting the device..." nothing happens and the flashing stops.
Here's the log:
user@STest:~/STM32MPU_workspace/STM32MP15-Ecosystem-v1.0.0/Starter-Package/stm32mp1-openstlinux-4.19-thud-mp1-19-02-20/images/stm32mp1$ STM32_Programmer_CLI -c port=usb1 -w flashlayout_st-image-weston/FlashLayout_sdcard_stm32mp157c-ev1-trusted.tsv
-------------------------------------------------------------------
STM32CubeProgrammer v2.0.0
-------------------------------------------------------------------
USB speed : High Speed (480MBit/s)
Manuf. ID : STMicroelectronics
Product ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000
SN : 000000000000
FW version : 0x011a
Device ID : 0x0500
Device name : STM32MPxxx
Device type : MPU
Device CPU : Cortex-A7
Start Embedded Flashing service
Memory Programming ...
Opening and parsing file: tf-a-stm32mp157c-ev1-trusted.stm32
File : tf-a-stm32mp157c-ev1-trusted.stm32
Size : 245360 Bytes
Partition ID : 0x01
Download in Progress:
[==================================================] 100%
File download complete
Time elapsed during download operation: 00:00:00.654
RUNNING Program ...
PartID: :0x01
Start operation done successfully at partition 0x01
Flashlayout Programming ...
[==================================================] 100%
Running Flashlayout Partition ...
Flashlayout partition started successfully
Memory Programming ...
Opening and parsing file: u-boot-stm32mp157c-ev1-trusted.stm32
File : u-boot-stm32mp157c-ev1-trusted.stm32
Size : 754169 Bytes
Partition ID : 0x03
Download in Progress:
[==================================================] 100%
File download complete
Time elapsed during download operation: 00:00:01.143
RUNNING Program ...
PartID: :0x03
reconnecting the device ...
Error: unable to reconnect the target device: time out expired
Error: Start operation failed at partition 0x03
Error: TSV flashing service failed
Can anyone give me a hand on what may I be doing wrong?
Solved! Go to Solution.
2020-02-27 05:41 AM
Same problem here
$ sudo ./STM32_Programmer_CLI -c port=usb1 -tm 20000 -w ../../../koan/FlashLayout_KOAN-MCK-mmc0-TEST.tsv
-------------------------------------------------------------------
STM32CubeProgrammer v2.2.0
-------------------------------------------------------------------
Warning: Timeout is forced to 20000 ms
USB speed : High Speed (480MBit/s)
Manuf. ID : STMicroelectronics
Product ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000
SN : 003500383438511731393233
FW version : 0x0110
Device ID : 0x0500
Device name : STM32MPxxx
Device type : MPU
Device CPU : Cortex-A7
Start Embedded Flashing service
Memory Programming ...
Opening and parsing file: tf-a-koan-stm32mp157x.stm32
File : tf-a-koan-stm32mp157x.stm32
Size : 245364 Bytes
Partition ID : 0x01
Download in Progress:
[==================================================] 100%
File download complete
Time elapsed during download operation: 00:00:00.479
RUNNING Program ...
PartID: :0x01
Start operation done successfully at partition 0x01
Flashlayout Programming ...
[==================================================] 100%
Running Flashlayout Partition ...
Flashlayout partition started successfully
Memory Programming ...
Opening and parsing file: u-boot.stm32
File : u-boot.stm32
Size : 691602 Bytes
Partition ID : 0x03
Download in Progress:
[==================================================] 100%
File download complete
Time elapsed during download operation: 00:00:00.534
RUNNING Program ...
PartID: :0x03
reconnecting the device ...
Error: unable to reconnect the target device: time out expired
Error: Start operation failed at partition 0x03
Error: TSV flashing service failed
2022-10-07 05:15 AM
Hello I have a similar problem.
I am trying to flash emmc on my board with embedded MYC-YA157C-V2 (STM32MP157A).
I use STM32CubeProgrammer ver.2.11.0 under Windows 11 OS.
My firmware script:
set tsv="FlashLayout_emmc_stm32mp157c-ya157c-512d-v2-trusted.tsv"
set stprog="C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin\STM32_Programmer_CLI.exe"
%stprog% -c port=usb1 -tm 30000 -w %tsv%
While downloading i get the following log:
Warning: Timeout is forced to 30000 ms
USB speed : High Speed (480MBit/s)
Manuf. ID : STMicroelectronics
Product ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000
SN : 003A00243130511539373430
DFU protocol: 1.1
Board : --
Device ID : 0x0500
Device name :
Device type : MPU
Device CPU : Cortex-A7
Start operation done successfully at partition 0x03
Memory Programming ...
Opening and parsing file: tf-a-stm32mp157c-ya157c-512d-v2-serialboot.stm32
File : tf-a-stm32mp157c-ya157c-512d-v2-serialboot.stm32
Size : 236.31 KB
Partition ID : 0x01
Download in Progress:
ЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫ 100%
File download complete
Time elapsed during download operation: 00:00:07.473
RUNNING Program ...
PartID: :0x01
Start operation done successfully at partition 0x01
Flashlayout Programming ...
ЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫ 100%
Running Flashlayout Partition ...
Flashlayout partition started successfully
Memory Programming ...
Opening and parsing file: u-boot-stm32mp157c-ya157c-512d-v2-trusted.stm32
File : u-boot-stm32mp157c-ya157c-512d-v2-trusted.stm32
Size : 852.12 KB
Partition ID : 0x03
Download in Progress:
ЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫ 100%
File download complete
Time elapsed during download operation: 00:00:00.984
RUNNING Program ...
PartID: :0x03
Reconnecting the device ...
Error:
Unable to reconnect the target device: time out expired
Error: Start operation failed at partition 0x03
Error: TSV flashing service failed
I used different timeouts.
Does anyone know what might be wrong?
2022-10-07 08:42 AM
Hello @IGlus.1 ,
Please can you make you own post and specify the ecosystem that you are using.
Best Regards,
Kevin