cancel
Showing results for 
Search instead for 
Did you mean: 

Problem flashing SDCard with the new v2.0.0 Starter-Package

Diego Moreno
Associate II

I have been using the Starter-Package v1.2.0 with no problem. But I cannot flash the SD Card with the new v2.0.0 Starter-Package. I am using STM32CubeProg v2.2.0 and I keep getting the same errors (using either CLI or GUI):

$ STM32_Programmer_CLI -c port=usb1 -w flashlayout_st-image-weston/trusted/FlashLayout_sdcard_stm32mp157c-dk2-trusted.tsv
 
 
 
   -------------------------------------------------------------------
 
            STM32CubeProgrammer v2.2.0          
 
   -------------------------------------------------------------------
 
 
 
 
 
 
 
USB speed  : High Speed (480MBit/s)
 
Manuf. ID  : STMicroelectronics
 
Product ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000
 
SN     : 0019002B3338510939303435
 
FW version : 0x0110
 
Device ID  : 0x0500
 
Device name : STM32MPxxx
 
Device type : MPU
 
Device CPU : Cortex-A7
 
 
 
 
 
Start Embedded Flashing service
 
 
 
 
 
 
 
Memory Programming ...
 
Opening and parsing file: tf-a-stm32mp157c-dk2-serialboot.stm32
 
 File     : tf-a-stm32mp157c-dk2-serialboot.stm32
 
 Size     : 241984 Bytes
 
 Partition ID : 0x01 
 
 
 
Download in Progress:
 
[==================================================] 100% 
 
 
 
File download complete
 
Time elapsed during download operation: 00:00:00.545
 
 
 
RUNNING Program ... 
 
 PartID:   :0x01 
 
Start operation done successfully at partition 0x01
 
 
 
Flashlayout Programming ...
 
[==================================================] 100% 
 
Running Flashlayout Partition ...
 
Flashlayout partition started successfully
 
 
 
 
 
Memory Programming ...
 
Opening and parsing file: u-boot-stm32mp157c-dk2-trusted.stm32
 
 File     : u-boot-stm32mp157c-dk2-trusted.stm32
 
 Size     : 870684 Bytes
 
 Partition ID : 0x03 
 
 
 
Download in Progress:
 
[==================================================] 100% 
 
 
 
File download complete
 
Time elapsed during download operation: 00:00:00.971
 
 
 
RUNNING Program ... 
 
 PartID:   :0x03 
 
 
 
reconnecting the device ...
 
 
 
USB speed  : High Speed (480MBit/s)
 
Manuf. ID  : STMicroelectronics
 
Product ID : USB download gadget@Device ID /0x500, @Revision ID /0x2000, @Name /STM32MP157CAC Rev.B,
 
SN     : 0019002B3338510939303435
 
FW version : 0x0110
 
Device ID  : unknown
 
Start operation done successfully at partition 0x03
 
 
 
 
 
Memory Programming ...
 
Opening and parsing file: tf-a-stm32mp157c-dk2-trusted.stm32
 
 File     : tf-a-stm32mp157c-dk2-trusted.stm32
 
 Size     : 241984 Bytes
 
 Partition ID : 0x04 
 
 
 
Download in Progress:
 
 
 
 
 
Error: failed to download Segment[0]
 
Error: failed to download the File
 
Time elapsed during download operation: 00:00:30.005
 
Error: Download partition 0x04 failed
 
Error: TSV flashing service failed

I can still successfully flash the SD Card with the old v1.2.0 package. Any ideas?

1 ACCEPTED SOLUTION

Accepted Solutions
Bernard PUEL
ST Employee

Hello Diego,

V2.0.0 is only compatible with V2.4.0 Cube programmer at least, you can download it from st.com.

We have seen some issue also with Netac branded sdcard, this can be also checked.

View solution in original post

2 REPLIES 2
Bernard PUEL
ST Employee

Hello Diego,

V2.0.0 is only compatible with V2.4.0 Cube programmer at least, you can download it from st.com.

We have seen some issue also with Netac branded sdcard, this can be also checked.

Diego Moreno
Associate II

Thank you!