2020-11-21 01:09 AM
i am not able to flash the image in stm32mp157c-dk2
Solved! Go to Solution.
2020-11-24 05:47 AM
Hi @MVENN.1
Please follow carefully the Getting Started
Just pay attention that when reconnecting during download the USB device is well catch by your Virtual Machine and not your host
Olivier
2020-11-24 05:48 AM
look at this once please provide suggestion.
12:03:28 : STM32CubeProgrammer API v2.6.0
12:03:35 : USB speed : High Speed (480MBit/s)
12:03:35 : Manuf. ID : STMicroelectronics
12:03:35 : Product ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000
12:03:35 : SN : 0046003E3338510634383330
12:03:35 : FW version : 0x0110
12:03:35 : Device ID : 0x0500
12:03:41 : Read TSV File: D:\Projects\Tag\stm32MP1\stm32mp1-openstlinux\images\stm32mp1\flashlayout_st-image-weston\FlashLayout_sdcard_stm32mp157c-dk2-trusted.tsv
12:03:41 : Number of partitions: 9
12:03:59 : Start Embedded Flashing service
12:03:59 : Memory Programming ...
12:03:59 : Opening and parsing file: tf-a-stm32mp157c-dk2-trusted.stm32
12:03:59 : File : tf-a-stm32mp157c-dk2-trusted.stm32
12:03:59 : Size : 245364 Bytes
12:03:59 : Partition ID : 0x01
12:03:59 : Download in Progress:
12:04:00 : File download complete
12:04:00 : Time elapsed during download operation: 00:00:00.534
12:04:00 : RUNNING Program ...
12:04:00 : PartID: :0x01
12:04:00 : Start operation done successfully at partition 0x01
12:04:00 : Flashlayout Programming ...
12:04:00 : Running Flashlayout Partition ...
12:04:00 : Flashlayout partition started successfully
12:04:00 : Memory Programming ...
12:04:00 : Opening and parsing file: u-boot-stm32mp157c-dk2-trusted.stm32
12:04:00 : File : u-boot-stm32mp157c-dk2-trusted.stm32
12:04:00 : Size : 805514 Bytes
12:04:00 : Partition ID : 0x03
12:04:00 : Download in Progress:
12:04:01 : File download complete
12:04:01 : Time elapsed during download operation: 00:00:00.992
12:04:01 : RUNNING Program ...
12:04:01 : PartID: :0x03
12:04:01 : reconnecting the device ...
12:04:31 : Error: unable to reconnect the target device: time out expired
12:04:31 : Error: Start operation failed at partition 0x03
12:04:31 : Error: TSV flashing service failed
12:04:31 : Warning: Connection to device 0x500 is lost
12:04:32 : Disconnected from device.
Thanks
2020-11-24 06:03 AM
please have a look to https://community.st.com/s/article/FAQ-STM32MP1-STM32CubeProgrammer-USB-reconnect-error-at-STM32MP1-boot-device-flashing
2020-11-24 09:03 AM
Hi PatrickF(ST Employee)
Thank you for reply
I am using 5V/2A power supply. And also red led Blink continue.
can you just tell the where is the mistake i did.
Thank you.
2020-11-24 09:17 AM
Try to start a console on the VCP provided by the STLINK (115200,n,8,1), there is maybe useful messages
Check BOOT switches
Please have a look to the end of the page for Led blink signification (if the platform start) https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157x-DK2/Let%27s_start/Populate_the_target_and_boot_the_image
Supply must USB Type-C compliant, uBoot use CC lines advertising to check supply capabilities.
You could try to connect to a PC, it usually start, but with 2 blinks (detected as a 500mA supply). There might be issue if you connect powerful USB peripherals to the DK2.
Example of validated supply are (not limited to) :
2020-11-24 09:34 AM
Yes I tried to connect the USb C cable on PC it blink 2 times after that continues ON. So this is the problem I am able flash the image in SD card.
2020-11-24 10:12 AM
2020-11-24 10:14 AM
Yes I tried to connect USB c cable on PC it blink only 2 timesw after that continue ON.
Is the problem I not able to flash the image in to the SD card.
2020-11-24 08:48 PM
I tried and connect the STLINK but the device name is not showing.
And also I tried to connect the PC its blinking 2 times after that continues ON. This only supply issue. I am not able to flash the image in to the SD card.
2020-11-25 03:01 AM
Hi
Thank you for given this information.
I can able to flash the image on SD card in STM32CubeProgrammer in Windows.
After Booting( ON position ) i am getting default images like
After that this image only showing last 10 min onwards
i am not getting this image down one .
any one can reply.
Thanks.