Problem USB Bulk

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Problem USB Bulk

    I use emUSB 2.20 for a Bulk device on the NXP LPC2368 and it work quite well.
    But sometimes , the progam stop in Readcmd or Writecmd fonctions (static void _WriteCmdWithData(U32 Cmd, U32 Data) , static unsigned _ReadCmdData(U32 Cmd) ....) at the this line :
    while ((__USB_DEV_INT_STAT & CCEMTY_INT) == 0);
    So the on the computer software side it also stop and give an error !

    any idea?