FinishDataXfer crash when Power Lost to the board | Cypress Semiconductor
FinishDataXfer crash when Power Lost to the board
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.