Wanna do a hub for flashing firmware on devices

I want to make a hub that will flash multiple completely identical devices.

Imho, how it works:
-hub connected trough type-c to pc accept data and powered trough it,
-hub checking how many devices connect to it
-hub checking main port for some CLI command
-the hub start forming a reference data array when we start flashing process on some port on it
-then we generate several arrays from it simultaneously (maybe we need multithreading but thats not important can be one each time)
-checking that they match the reference data that was sent out
-if not, changing those arrays with wronged data to be fully similar to reference array
-send the data to the com ports simulteneously (or one by one but automaticly)
-the LED on the ports that accepted full data turned on we accept some info about succes on serial monitor
-if not LED stay off and we accept failure message trough serial monitor

this logic needs to be created on hub side and i dont know how to make that hub because lack of knowledge maybe i can find that type of hub or so? if anyone know how to do that easily i be glad to hear your ideas hints etc.

That idea was born when i start selling drones for sale... and start to optimize working process

As your topic is not a suggestion for the Arduino project itself but rather a project of your own that you need help with it has been moved to the Project Guidance category of the forum

it's called a gang programmer..
Interesting but I would be looking at OTA programming..

have fun.. ~q

Try Linux and run the IDE in several workspace, each one programs a part. I have had up to a dozen workspace open and it works just fine. The hardest part is keeping track of who is on what port.