Skip to main content
MEdma.1
Associate
November 10, 2022
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

  • November 10, 2022
  • 4 replies
  • 1289 views

..

This topic has been closed for replies.
Best answer by Eldam

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
November 10, 2022

How does programming happen?

Tesla DeLorean
Guru
November 10, 2022

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
November 14, 2022

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
November 14, 2022

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.