2 Replies Latest reply on Oct 26, 2015 11:39 PM by zhang.chenchen

    CYUSB3014BZXI stop working

    zhang.chenchen

      Hi , everyone:

         

      Now, I'm debugging the Cyusb3014 and my project design and implementation scheme is that "ADC -> (FPGA->RAM) -> USB -> PC (win 7 32bit)". My Problem is that:

         

      P1:  when I executed this code, the recieved datas were right every time.

         
            
      • //while(1)
        {
                openUSB();
                USB3_ReadData(nBuffer,0,8192);
        }
      •     
      • P2:  when I executed this code for a while, the programs stopped (NOT ON THE BEGINING) and messaged "By an unhandled exception, while reading position 0x00000000 access conflict".

        while(1)
        {
                openUSB();
                USB3_ReadData(nBuffer,0,8192);
        }
      •    
         

      P3: when I executed this code for a while,the programs didn't stop, but after a while,the recieved datas repeated until I stop the program.

         

      openUSB();
      while(1)
      {
          USB3_ReadData(nBuffer,0,8192);
      }

         

       

         

      //nBuffer size is 4096;

         

      I don't know what's the problem. Firmware, Hardware or Software? I hope you can give me some advise.

         

      Firmware:   Slave fifo sync 16bits

         

       

         

      Thanks.