STM32MP1 STM32CubeProgramming Unable to reconnect the target device time out expired
Hi ,
I am using STM32MP157C-DK2 board
I just trying to load the flash image in to the SD card.
facing issue reconnecting the device. Below i mentioned log file please check it.
10:04:18 : STM32CubeProgrammer API v 2.6.0
10:05:47 : Error: No debug probe detected.
10:06:19 : Error: No debug probe detected.
10:06:34 : USB speed : High Speed (480MBit/s)
10:06:34 : Manuf. ID :
10:06:34 : Product ID :
10:06:34 : SN :
10:06:34 : FW version : 0x0110
10:06:34 : IAP
10:06:35 : UPLOADING ...
10:06:35 : Size : 1024 Bytes
10:06:35 : Address : 0x8000000
10:06:35 : Read progress:
10:06:35 : Error: Data read failed
10:06:47 : Disconnected from device.
10:07:17 : USB speed : High Speed (480MBit/s)
10:07:17 : Manuf. ID :
10:07:17 : Product ID :
10:07:17 : SN :
10:07:17 : FW version : 0x0110
10:07:17 : IAP
10:07:18 : UPLOADING ...
10:07:18 : Size : 1024 Bytes
10:07:18 : Address : 0x8000000
10:07:18 : Read progress:
10:07:18 : Error: Data read failed
10:07:28 : Disconnected from device.
10:08:00 : USB speed : High Speed (480MBit/s)
10:08:00 : Manuf. ID : STMicroelectronics
10:08:00 : Product ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000
10:08:00 : SN : 0034001A3438510438333630
10:08:00 : FW version : 0x0110
10:08:00 : Device ID : 0x0500
10:08:28 : Read TSV File: /home/moveon/STM32MPU_workspace/STM32MP15-Ecosystem-v2.1.0/Starter-Package/stm32mp1-openstlinux-5-4-dunfell-mp1-20-11-12/images/stm32mp1/flashlayout_st-image-weston/trusted/FlashLayout_sdcard_stm32mp157c-dk2-trusted.tsv
10:08:28 : Number of partitions: 9
10:08:50 : Start Embedded Flashing service
10:08:50 : Memory Programming ...
10:08:50 : Opening and parsing file: tf-a-stm32mp157c-dk2-serialboot.stm32
10:08:50 : File : tf-a-stm32mp157c-dk2-serialboot.stm32
10:08:50 : Size : 237896 Bytes
10:08:50 : Partition ID : 0x01
10:08:50 : Download in Progress:
10:08:51 : File download complete
10:08:51 : Time elapsed during download operation: 00:00:00.651
10:08:51 : RUNNING Program ...
10:08:51 : PartID: :0x01
10:08:51 : Start operation done successfully at partition 0x01
10:08:51 : Flashlayout Programming ...
10:08:51 : Running Flashlayout Partition ...
10:08:51 : Flashlayout partition started successfully
10:08:51 : Memory Programming ...
10:08:51 : Opening and parsing file: u-boot-stm32mp157c-dk2-trusted.stm32
10:08:51 : File : u-boot-stm32mp157c-dk2-trusted.stm32
10:08:51 : Size : 904820 Bytes
10:08:51 : Partition ID : 0x03
10:08:51 : Download in Progress:
10:08:53 : File download complete
10:08:53 : Time elapsed during download operation: 00:00:01.684
10:08:53 : RUNNING Program ...
10:08:53 : PartID: :0x03
10:08:53 : reconnecting the device ...
10:09:10 : USB speed : High Speed (480MBit/s)
10:09:10 : Manuf. ID : STMicroelectronics
10:09:10 : Product ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000
10:09:10 : SN : 0034001A3438510438333630
10:09:10 : FW version : 0x0110
10:09:10 : Device ID : 0x0500
10:09:10 : Start operation done successfully at partition 0x03
10:09:10 : Memory Programming ...
10:09:10 : Opening and parsing file: tf-a-stm32mp157c-dk2-serialboot.stm32
10:09:10 : File : tf-a-stm32mp157c-dk2-serialboot.stm32
10:09:10 : Size : 237896 Bytes
10:09:10 : Partition ID : 0x01
10:09:10 : Download in Progress:
10:09:11 : File download complete
10:09:11 : Time elapsed during download operation: 00:00:00.888
10:09:11 : RUNNING Program ...
10:09:11 : PartID: :0x01
10:09:11 : Start operation done successfully at partition 0x01
10:09:11 : Flashlayout Programming ...
10:09:11 : Running Flashlayout Partition ...
10:09:11 : Flashlayout partition started successfully
10:09:11 : Memory Programming ...
10:09:11 : Opening and parsing file: u-boot-stm32mp157c-dk2-trusted.stm32
10:09:11 : File : u-boot-stm32mp157c-dk2-trusted.stm32
10:09:11 : Size : 904820 Bytes
10:09:11 : Partition ID : 0x03
10:09:11 : Download in Progress:
10:09:13 : File download complete
10:09:13 : Time elapsed during download operation: 00:00:01.717
10:09:13 : RUNNING Program ...
10:09:13 : PartID: :0x03
10:09:13 : reconnecting the device ...
10:09:31 : USB speed : High Speed (480MBit/s)
10:09:31 : Manuf. ID : STMicroelectronics
10:09:31 : Product ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000
10:09:31 : SN : 0034001A3438510438333630
10:09:31 : FW version : 0x0110
10:09:31 : Device ID : 0x0500
10:09:31 : Start operation done successfully at partition 0x03
10:09:31 : Memory Programming ...
10:09:31 : Opening and parsing file: tf-a-stm32mp157c-dk2-serialboot.stm32
10:09:31 : File : tf-a-stm32mp157c-dk2-serialboot.stm32
10:09:31 : Size : 237896 Bytes
10:09:31 : Partition ID : 0x01
10:09:31 : Download in Progress:
10:09:32 : File download complete
10:09:32 : Time elapsed during download operation: 00:00:00.757
10:09:32 : RUNNING Program ...
10:09:32 : PartID: :0x01
10:09:32 : Start operation done successfully at partition 0x01
10:09:32 : Flashlayout Programming ...
10:09:32 : Running Flashlayout Partition ...
10:09:32 : Flashlayout partition started successfully
10:09:32 : Memory Programming ...
10:09:32 : Opening and parsing file: u-boot-stm32mp157c-dk2-trusted.stm32
10:09:32 : File : u-boot-stm32mp157c-dk2-trusted.stm32
10:09:32 : Size : 904820 Bytes
10:09:32 : Partition ID : 0x03
10:09:32 : Download in Progress:
10:09:35 : File download complete
10:09:35 : Time elapsed during download operation: 00:00:01.639
10:09:35 : RUNNING Program ...
10:09:35 : PartID: :0x03
10:09:35 : reconnecting the device ...
10:10:04 : Error: Unable to reconnect the target device: time out expired
10:10:04 : Error: Start operation failed at partition 0x03
10:10:05 : Error: TSV flashing service failed
10:10:05 : Warning: Connection to device 0x500 is lost
10:10:07 : Disconnected from device.
