cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeProgrammer reconnection th device...

leedb
Associate

16:15:34 : UR connection mode is defined with the HWrst reset mode
16:15:34 : USB speed : High Speed (480MBit/s)
16:15:34 : Manuf. ID : STMicroelectronics
16:15:34 : Product ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000
16:15:34 : SN : 001B00303438510E38333630
16:15:34 : DFU protocol: 1.1
16:15:34 : Board : --
16:15:34 : Device ID : 0x0500
16:15:41 : Start Embedded Flashing service
16:15:41 : Memory Programming ...
16:15:41 : Opening and parsing file: tf-a-stm32mp157f-ev1-usb.stm32
16:15:41 : File : tf-a-stm32mp157f-ev1-usb.stm32
16:15:41 : Size : 220.38 KB
16:15:41 : Partition ID : 0x01
16:15:41 : Download in Progress:
16:15:43 : File download complete
16:15:43 : Time elapsed during download operation: 00:00:02.421
16:15:43 : RUNNING Program ...
16:15:43 : PartID: :0x01
16:15:44 : Start operation done successfully at partition 0x01
16:15:44 : Memory Programming ...
16:15:44 : Opening and parsing file: fip-stm32mp157f-ev1-optee.bin
16:15:44 : File : fip-stm32mp157f-ev1-optee.bin
16:15:44 : Size : 1.48 MB
16:15:44 : Partition ID : 0x03
16:15:44 : Download in Progress:
16:15:45 : File download complete
16:15:45 : Time elapsed during download operation: 00:00:01.517
16:15:45 : RUNNING Program ...
16:15:45 : PartID: :0x03
16:15:46 : Reconnecting the device ...
16:16:46 : Error: Unable to reconnect the target device: time out expired
16:16:46 : Error: Start operation failed at partition 0x03
16:16:46 : Error: TSV flashing service failed
16:16:46 : Warning: Connection to device 0x500 is lost
16:16:46 : Disconnected from device.

The connection does not work as shown above. How do I solve this problem? Please advise.

1 REPLY 1
PatrickF
ST Employee

Hi @leedb 

maybe give more information:

- confirm you are using STM32MP157F-EV1 board or a custom board ?

- if custom board, did you adapt the device tree to your HW ?

- if custom board, did the DDR up and running using DDRFWUTIL ?

- provide UART console log output

 

You should also look for classic pitfalls

https://community.st.com/t5/stm32-mpus/stm32mp1-bring-up-troubleshooting-guide/ta-p/49272

https://community.st.com/t5/stm32-mpus/faq-stm32mp1-stm32cubeprogrammer-usb-reconnect-error-at-stm32mp1/tac-p/49265/highlight/true#M7

 

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.