Can you please call DMAChannelReset function before calling the flushep function.
I have test it. But when I call Cyu3pchannelreset I will not get data at the control pannel and the "error code" is 997. And at the same time I find that this function does not change my endpoint flag "full" . Why?