7 Replies Latest reply on Jan 7, 2019 3:47 AM by abhinavg_21

    Master GPIF2 read errors.

    amjoc_3854616

      Hi,

      I'm trying to read/write data (size : 8MB) to FPGA through GPIF2 interface with fx3 as a master. Example code used for this purpose is AN87216.

      I've changed according to my needs. Read will start by checking FLAGA status, instead of that i used FW_TRG with INTR_CPU at RD_CTRL state. When i try to read data from Control center utility, only (2048*16) bytes of data is read. If i try to read again, the following error is shown.

      BULK IN transfer

      BULK IN transfer failed with Error Code:997

       

      Can you help with start reading data without checking the flag status? I need to get complete data without data loss?

       

      Attaching firmware code and .cydsn folder.

       

      Message was edited by: amal john