It seems that when running UUU to flash parts from a remote process in windows (10), UUU will always crash/lock up.
There is no issue running UUU from the command prompt directly. However running in a production process would require an external windows application to control UUU, and it seems like that is not possible the way the utility works right now.
For example making a simple c# windows forms application, then having that application open uuu.exe from the normal Process class and supplying the command line arguments, will always become unresponsive either after the "Your console don't support VT mode, fail back to verbose mode" line or after the "Wait for Known USB Device Appear..." line, depending on how you use it.
Please let me know if there are any suggestions on how to make this utility work on a production windows process.
uuu is a demo command, if you need more customed function ,you can refer source code: https://github.com/nxp-imx/mfgtools/blob/master/uuu/uuu.cpp