0 Replies Latest reply on Apr 9, 2010 4:14 PM by userc_44108

    how to stop EP4  and manually transfer date to the IN endpoint

              Hi Guys:   
      I need to edit the data from read from nand flash before they are sent to the USB via EP4. However the current ways the data is read and sent through to the USB are all done automatically without CPU's knowledge. I tried to disable EP4's Auto bit, EP4FIFOCFG = bmINFM and then while (!(GPIFTRIG&0x80)); // poll ep4 done   
      this does not seem work, I am still unable to get the data read from nand flash in EP4FIFO.