I checked the source code of 1.4.72
if (g_wait_usb_timeout >= 0 && !g_known_device_appeared)
{
if (difftime(time(0), start) >= g_wait_usb_timeout)
{
set_last_err_string("Timeout: Wait for Known USB Device");
return -1;
}
}
the 1.4.139 code is
auto usb_timeout = g_wait_usb_timeout.load();
if (usb_timeout >= 0s && known_device_state == NoKnownDevice)
{
if (usb_timer.is_elapsed(usb_timeout))
{
set_last_err_string("Timeout: Wait for Known USB Device");
return -1;
}
}
the 1.4.139 add
};
you also can refer to the patch
https://github.com/NXPmicro/mfgtools/pull/268/commits/1be9bba111380685871cdaea2b74bd65acd84b77
my understanding is new uuu tool -t option works for the command which needs device, like download images or boot image from board, then -t works, if the command like FB:xxx which doesn't need any device, the -t doesn't work, I've checked this from internal tools team but I didn't get any response yet