Skip to main content
MEdma.1
Associate
Nov 10, 2022 16:34 UTC
Solved

I'm using a processor module based around STM32MP157C processor - we're ready to go to production. It's programmed with Linux and our application. We've been using Cube32 to program, but it takes 40 minutes to program. How can I program fast over USB

..

This topic has been closed for replies.
Eldam
EldamBest answer
Senior
Nov 14, 2022 11:41 UTC

If you're talking about programming emmc,

we use a sdcard with minimal distri on it,

we boot on sdcard

we use script to format emmc,

from there, we copy the content from the sdcard (or usb inserted disk)

and after we boot to emmc.

4 replies

Uwe Bonnes
Chief
Nov 10, 2022 20:09 UTC

How does programming happen?

Tesla DeLorean
Guru
Nov 10, 2022 21:36 UTC

USB-FS vs USB-HS ? ST-LINKV/V2 vs V3?

Slow ports, or hubs?

Perhaps use USB to deliver a smaller u-boot payload, and have that pull and program the main image broadcast in a loop with Ethernet?

Make the image smaller?

Use SD Card?

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
MEdma.1
MEdma.1Author
Associate
Nov 14, 2022 09:31 UTC

It's programmed over high speed USB. I prefer to use the image built according to manufacturer's recommendations. We are not Linux experts here, so changing the build too much has some risk. I think your suggestion about downloading a small u-boot payload is what the Elpotronic Gangflasher software does, but we can't get it to work right now.

Eldam
EldamBest answer
Senior
Nov 14, 2022 11:41 UTC

If you're talking about programming emmc,

we use a sdcard with minimal distri on it,

we boot on sdcard

we use script to format emmc,

from there, we copy the content from the sdcard (or usb inserted disk)

and after we boot to emmc.