USB re-enumeration too slow after download firmware to RAM | Cypress Semiconductor
USB re-enumeration too slow after download firmware to RAM
I'm developing a host application in C# whose first step is to detect the FX3 as bootloader and then download a customized firmware.
It is done using the "DownloadFw(path, FX3_FWDWNLOAD_MEDIA_TYPE.RAM);" function.
For some reason it takes too long ~ 20 seconds to re-enumerate the device (the function returns after ~ 1 second).
I took that function call from the Control Center source code. Control Center re-enumerates almost inmediately and I'm not able to detect the difference in the code.
Does anybody know what is happening?.
P.D: DeviceAttached/DeviceRemoved events are registered in my application but they never triggers. They trigger correctly in Control Center application.