[Solved] Error: TSV flashing service failed (STM32CubeProgrammer)

Burn bearpi HM with stm32cubeprogrammer_Micro_Small development board program exception

1. Exception error message:

09:43:24 : Error: Error while reading the file
09:43:25 : Error: Download partition 0x22 failed
09:43:25 : Error: TSV flashing service failed

2. Abnormal phenomenon

3. Analysis of abnormal causes:

1. Create virtual machine Ubuntu 20.0 using hyper-v.04. The network adopts the internal network mode.

2. The IP address adopts static IP address.

2. The physical host network is bridged.

4. Preliminary cause analysis

Cause: physical host and virtual host cannot use bridged network settings.

5. Solution

Cancel the bridging network setting between physical machine and virtual machine, Hyper-V adopts the default network exchange, and Ubuntu network adopts DHCP mode setting.

6. After setting, burn the original program again and burn it successfully.

10:30:31 : STM32CubeProgrammer API v2.5.0
10:30:35 : USB speed : High Speed (480MBit/s)
10:30:35 : Manuf. ID : STMicroelectronics
10:30:35 : Product ID : USB download [email protected] ID /0x500, @Revision ID /0x2001, @Name /STM32MP157AAC Rev.Z,
10:30:35 : SN : 003C00343030510B34343437
10:30:35 : FW version : 0x0110
10:30:35 : Device ID : 0x0500
10:30:52 : Read TSV File: M:\BearPi_Micro\bearpi-hm_micro_small\applications\BearPi\BearPi-HM_Micro\tools\download_img\flashlayout\bearpi-hm_micro.tsv
10:30:52 : Number of partitions: 8
10:31:04 : Start Embedded Flashing service
10:31:04 : Memory Programming ...
10:31:04 : Opening and parsing file: rootfs_vfat.img
10:31:04 : File : rootfs_vfat.img
10:31:04 : Size : 18175 KBytes
10:31:04 : Partition ID : 0x22
10:31:04 : Download in Progress:
10:31:16 : File download complete
10:31:16 : Time elapsed during download operation: 00:00:12.118
10:31:16 : RUNNING Program ...
10:31:16 : PartID: :0x22
10:31:16 : Start operation done successfully at partition 0x22
10:31:16 : Memory Programming ...
10:31:16 : Opening and parsing file: userfs_vfat.img
10:31:17 : File : userfs_vfat.img
10:31:17 : Size : 50 MBytes
10:31:17 : Partition ID : 0x23
10:31:17 : Download in Progress:
10:31:50 : File download complete
10:31:

Similar Posts: