Using STM32CubeProgrammer (v2.2.0) to program SD card of our board (the board is base on STM32MP157C-DK2) but fail and get error message Error: Start operation failed at partition 0x01 Error: TSV flashing service failed
Hi,
Our board is base on STM32MP157C-DK2 and the HW difference are...
1. DK2 CN7 USB Type-C is replaced by micro USB and removed STUSB1600.
2. DK2 CN6 PWR-IN is replaced by DC jack and CC1 is 0.4v to PA4 and CC2 keep 0v to PA5.
And we would like to program SD card (16GB, 8GB) by STM32CubeProgrammer with FlashLayout_sdcard_stm32mp157c-dk2-trusted.tsv
The programmer can connect to our board via USB and this tsv is work to program DK2.
Meanwhile the BOOT pin configures as USB mode (000b).
Show the entire log as below:
17:58:45 : STM32CubeProgrammer API v2.2.0
18:01:10 : Read TSV File: D:\AIRD\LiDAR\firmware\release_image\DK2\DK2-Trusted\FlashLayout_sdcard_stm32mp157c-dk2-trusted.tsv
18:01:10 : Number of partitions: 9
18:01:50 : USB speed : High Speed (480MBit/s)
18:01:50 : Manuf. ID : STMicroelectronics
18:01:50 : Product ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000
18:01:50 : SN : 004D00363139511138313636
18:01:50 : FW version : 0x0110
18:01:50 : Device ID : 0x0500
18:01:56 : Start Embedded Flashing service
18:01:56 : Memory Programming ...
18:01:56 : Opening and parsing file: tf-a-stm32mp157c-dk2-trusted.stm32
18:01:56 : File : tf-a-stm32mp157c-dk2-trusted.stm32
18:01:56 : Size : 245364 Bytes
18:01:56 : Partition ID : 0x01
18:01:56 : Download in Progress:
18:01:57 : File download complete
18:01:57 : Time elapsed during download operation: 00:00:00.662
18:01:57 : RUNNING Program ...
18:01:57 : PartID: :0x01
18:01:57 : Error: Start operation failed at partition 0x01
18:01:57 : Error: TSV flashing service failed
18:01:57 : Warning: Connection to device 0x500 is lost
18:01:57 : Disconnected from device.
Please advise the possible reason and hint.
Many Thanks.
FC. Tu
