USB re-enumeration too slow after download firmware to RAM

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

 Hi all,

   

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.

   

Regards,

0 Likes
1 Reply
Anonymous
Not applicable

 Hi,

   

Could you please upload your code here or send to prji@cypress.com?

   

-PRJI

0 Likes