cancel
Showing results for 
Search instead for 
Did you mean: 

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?

MEdma.1
Associate
 
1 ACCEPTED SOLUTION

Accepted Solutions
Eldam
Senior

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.

View solution in original post

4 REPLIES 4
Uwe Bonnes
Principal III

How does programming happen?

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
Up vote any posts that you find helpful, it shows what's working..
MEdma.1
Associate

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
Senior

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.