FinishDataXfer crash when Power Lost to the board

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

cross mob
Anonymous
Not applicable

Hi,

   

My design uses FX2LP chip, with 3.3V power for the FX2LP supplied externally.

   

Everything works well except, the FiishDataXfer function crashes if I turn the power off to the device. If I pull the USB cable, it doesn't crash. Is there anyway I can determine the power failure event? There is no possible way to change the design at this stage. I appreciate if someone can direct me in the right direction.

   

I am using Visual C++ to do the application.

   

Thanks,

   

Tharaka.

0 Likes
0 Replies