How to launch STM32Cubeprogrammer in ubuntu can you please tell me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-21 1:09 AM
i am not able to flash the image in stm32mp157c-dk2
Solved! Go to Solution.
- Labels:
-
STM32CubeProgrammer
-
STM32MP15 Lines
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-26 2:46 AM
Hi Olivier GALLIEN (ST Employee )
Thank you for reply
Actually previous report is flashing succeed in windows platform.
I now flashing Linux(Ubuntu20.04 its getting error like
please check it .
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-26 3:39 AM
HI,
I'm using USB -C power supply ( 5.1 V /3A )Raspberry Pi
Here they given l given like https://community.st.com/s/question/0D50X0000Bftr1ySQA/power-supply-for-stm32mp157cdk2
And also I'm added -tm 20000
still problem is there
please give suggestion
moveon@moveon-VirtualBox:~/STM32MPU_workspace/STM32MP15-Ecosystem-v2.1.0/Starter-Package$ STM32_Programmer_CLI -c port=usb1 -w flashlayout_st-image-weston/trusted/FlashLayout_sdcard_stm32mp157c-dk2-trusted.tsv
-------------------------------------------------------------------
STM32CubeProgrammer v2.6.0
-------------------------------------------------------------------
USB speed : High Speed (480MBit/s)
Manuf. ID : STMicroelectronics
Product ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000
SN : 0034001A3438510438333630
FW version : 0x0110
Device ID : 0x0500
Device name : STM32MP1
Device type : MPU
Device CPU : Cortex-A7
Start Embedded Flashing service
Error: The file FlashLayout_sdcard_stm32mp157c-dk2-trusted.tsv does not exist, please check the file's path
Error: TSV flashing service failed
moveon@moveon-VirtualBox:~/STM32MPU_workspace/STM32MP15-Ecosystem-v2.1.0/Starter-Package$ ls
en.FLASH-stm32mp1-openstlinux-5-4-dunfell-mp1-20-11-12.tar.xz stm32mp1-openstlinux-5-4-dunfell-mp1-20-11-12
moveon@moveon-VirtualBox:~/STM32MPU_workspace/STM32MP15-Ecosystem-v2.1.0/Starter-Package$ cd stm32mp1-openstlinux-5-4-dunfell-mp1-20-11-12/images/stm32mp1/
arm-trusted-firmware/ flashlayout_st-image-weston/ scripts/
bootloader/ optee/
moveon@moveon-VirtualBox:~/STM32MPU_workspace/STM32MP15-Ecosystem-v2.1.0/Starter-Package$ cd stm32mp1-openstlinux-5-4-dunfell-mp1-20-11-12/images/stm32mp1/
moveon@moveon-VirtualBox:~/STM32MPU_workspace/STM32MP15-Ecosystem-v2.1.0/Starter-Package/stm32mp1-openstlinux-5-4-dunfell-mp1-20-11-12/images/stm32mp1$ STM32_Programmer_CLI -c port=usb1 -w flashlayout_st-image-weston/trusted/FlashLayout_sdcard_stm32mp157c-dk2-trusted.tsv
-------------------------------------------------------------------
STM32CubeProgrammer v2.6.0
-------------------------------------------------------------------
USB speed : High Speed (480MBit/s)
Manuf. ID : STMicroelectronics
Product ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000
SN : 0034001A3438510438333630
FW version : 0x0110
Device ID : 0x0500
Device name : STM32MP1
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 : 237896 Bytes
Partition ID : 0x01
Download in Progress:
[==================================================] 100%
File download complete
Time elapsed during download operation: 00:00:00.640
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 : 904820 Bytes
Partition ID : 0x03
Download in Progress:
[==================================================] 100%
File download complete
Time elapsed during download operation: 00:00:01.566
RUNNING Program ...
PartID: :0x03
reconnecting the device ...
Error:
Unable to reconnect the target device: time out expired
Error: Start operation failed at partition 0x03
Error: TSV flashing service failed
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-26 5:13 AM
Hi @MVENN.1​
that's sound very like a VM configuration issue, it is described in the FAQ link we already provided to you (https://community.st.com/s/article/FAQ-STM32MP1-STM32CubeProgrammer-USB-reconnect-error-at-STM32MP1-boot-device-flashing).
Abstact:"
- If you are using a VM, check the USB 'connection' between Linux and Windows as uBoot reconnect using a different USB identification and might not be 'routed' to the VM.
- In VMWare, you have a menu Player/Removable Devices where you can choose which devices that belong to Virtual Machine or to Windows. In VirtualBox it should have similar setting.
When uBoot start up, check at that time in your VM if you have 'USB download gadget@Device ID /0x500, @Revision ID /0x0000)' as a new removable device to 'connect' to your Virtual Machine.
"
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-26 6:57 AM
Hi PatrickF ( ST Employee )
Thanks for your reply.
Its working everything really thanks for your support.
after adding VM in 'USB download gadget@Device ID /0x500, @Revision ID /0x0000)' and select in VM.
like
Thanks.

- « Previous
- Next »