Provide a usb_ftdi_err function for detecting an ftdi serial error.
Wait for ftdi errors to clear before doing reads on avalon.