stm32mp157烧录老是中途失败,是否是emmc坏了?

attachments-2021-07-Fj8dlHDK60fbf0479376e.png如上图所示,每次烧录到这一步都会失败,是不是emmc有问题?已经折腾两天了,而且每次都是ID为0x22的时候,并且基本都是10%的时候挂掉


19:15:33 : STM32CubeProgrammer API v2.8.0

19:15:39 : USB speed   : High Speed (480MBit/s)

19:15:39 : Manuf. ID   : STMicroelectronics

19:15:39 : Product ID  : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000

19:15:39 : SN          : 003C003B3438511736383238

19:15:39 : FW version  : 0x0110

19:15:39 : Device ID   : 0x0500

19:15:43 : Read TSV File: C:\work\100ask\01_100ask_stm32mp157_pro\02_Images\Buildroot_OTA\Flashlayout\Buildroot_Emmc_Systemall.tsv

19:15:43 : Number of partitions: 7

19:15:50 : Start Embedded Flashing service

19:15:50 : Memory Programming ...

19:15:50 : Opening and parsing file: tf-a-stm32mp157c-100ask-512d-v1-serialboot.stm32

19:15:50 :   File          : tf-a-stm32mp157c-100ask-512d-v1-serialboot.stm32

19:15:50 :   Size          : 241984 Bytes

19:15:50 :   Partition ID  : 0x01 

19:15:50 : Download in Progress:

19:15:50 : File download complete

19:15:50 : Time elapsed during download operation: 00:00:00.629

19:15:50 : RUNNING Program ... 

19:15:50 :   PartID:      :0x01 

19:15:51 : Start operation done successfully at partition 0x01

19:15:51 : Flashlayout Programming ...

19:15:51 : Running Flashlayout Partition ...

19:15:51 : Flashlayout partition started successfully

19:15:51 : Memory Programming ...

19:15:51 : Opening and parsing file: u-boot.stm32

19:15:51 :   File          : u-boot.stm32

19:15:51 :   Size          : 869937 Bytes

19:15:51 :   Partition ID  : 0x03 

19:15:51 : Download in Progress:

19:15:52 : File download complete

19:15:52 : Time elapsed during download operation: 00:00:01.498

19:15:52 : RUNNING Program ... 

19:15:52 :   PartID:      :0x03 

19:15:52 : Reconnecting the device ...

19:16:04 : USB speed   : High Speed (480MBit/s)

19:16:04 : Manuf. ID   : STMicroelectronics

19:16:04 : Product ID  : USB download gadget@Device ID /0x500, @Revision ID /0x2001, @Name /STM32MP157DAC Rev.Z,

19:16:04 : SN          : 003C003B3438511736383238

19:16:04 : FW version  : 0x0110

19:16:04 : Device ID   : 0x0500

19:16:04 : Start operation done successfully at partition 0x03

19:16:04 : Memory Programming ...

19:16:04 : Opening and parsing file: tf-a-stm32mp157c-100ask-512d-v1.stm32

19:16:04 :   File          : tf-a-stm32mp157c-100ask-512d-v1.stm32

19:16:04 :   Size          : 241984 Bytes

19:16:04 :   Partition ID  : 0x04 

19:16:04 : Download in Progress:

19:16:04 : File download complete

19:16:04 : Time elapsed during download operation: 00:00:00.116

19:16:04 : RUNNING Program ... 

19:16:04 :   PartID:      :0x04 

19:16:04 : Start operation done successfully at partition 0x04

19:16:04 : Memory Programming ...

19:16:04 : Opening and parsing file: tf-a-stm32mp157c-100ask-512d-v1.stm32

19:16:04 :   File          : tf-a-stm32mp157c-100ask-512d-v1.stm32

19:16:04 :   Size          : 241984 Bytes

19:16:04 :   Partition ID  : 0x05 

19:16:04 : Download in Progress:

19:16:04 : File download complete

19:16:04 : Time elapsed during download operation: 00:00:00.115

19:16:04 : RUNNING Program ... 

19:16:04 :   PartID:      :0x05 

19:16:04 : Start operation done successfully at partition 0x05

19:16:04 : Memory Programming ...

19:16:04 : Opening and parsing file: u-boot.stm32

19:16:04 :   File          : u-boot.stm32

19:16:04 :   Size          : 869937 Bytes

19:16:04 :   Partition ID  : 0x06 

19:16:04 : Download in Progress:

19:16:04 : File download complete

19:16:04 : Time elapsed during download operation: 00:00:00.401

19:16:04 : RUNNING Program ... 

19:16:04 :   PartID:      :0x06 

19:16:04 : Start operation done successfully at partition 0x06

19:16:04 : Memory Programming ...

19:16:04 : Opening and parsing file: rootfs.ext4

19:16:04 :   File          : rootfs.ext4

19:16:04 :   Size          : 950 MBytes

19:16:04 :   Partition ID  : 0x21 

19:16:04 : Download in Progress:

19:24:40 : File download complete

19:24:40 : Time elapsed during download operation: 00:08:35.215

19:24:40 : RUNNING Program ... 

19:24:40 :   PartID:      :0x21 

19:24:40 : Start operation done successfully at partition 0x21

19:24:40 : Memory Programming ...

19:24:40 : Opening and parsing file: rootfs.ext4

19:24:40 :   File          : rootfs.ext4

19:24:40 :   Size          : 950 MBytes

19:24:40 :   Partition ID  : 0x22 

19:24:40 : Download in Progress:

19:26:44 : Error: failed to download Segment[0]

19:26:44 : Error: failed to download the File

19:26:44 : Error: Download partition 0x22 failed

19:26:44 : Error: TSV flashing service failed


请先 登录 后评论

1 个回答

百问网-张老师
擅长:嵌入式开发

参考 http://bbs.100ask.net/question/15852,大概率是烧录软件版本不兼容的问题。

en.stm32cubeprg-win64_v2-6-0【推荐使用】.zip   这个版本我测试能正常烧录,在网盘下载

请先 登录 后评论
  • 1 关注
  • 0 收藏,196 浏览
  • 夜听风雨 提出于 2021-07-24 18:50

相似问题