Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • USB communication tests + DMA tests
  • full test (USB communication tests + DMA tests + other tests)

USB communication tests + DMA

...

tests only
Anchor
USBCommunicationTests
USBCommunicationTests

To test the USB communication in the Reference Architecture case is necessary:

  • to download the correct reference bitstream file in the FPGA and/or SPI Flash;
  • the USB FX2 microcontroller on the TE USB FX2 module should contain valid firmware;
  • the host computer should have a specific driver installed;
  • a USB cable should be used to connect the PC and the FPGA module (USB communication tests and/or power supply);
  • run the C# or C++ Reference Project test (link to add ???).

Full test

...

To completely test the Reference Architecture is necessary:

  • to download the bitstream file (that create the Microblaze system) and the demo.elf file or to be certain that this two are already downloaded before;
  • the USB FX2 microcontroller on the TE USB FX2 module should contain valid firmware;
  • the host computer should have a specific driver installed;
  • the host computer should have Xilinx EDK installed;
  • a JTAG adapter cable. We recommend using the Xilinx Platform Cable USB (USB ↔ JTAG) ;
  • a USB cable should be used to connect the PC and the FPGA module (USB communication tests and/or power supply);
  • run the C# or C++ Reference Project test (link to add ???) (USB communication tests + DMA tests). 

The procedures are the following.

Run the demo project

.bit or .mcs direct download

iMPACT, OpenFut or OpenFutNet

Procedure SDK: opening and update SDK project only
('updated' SW on 'NOT updated' HW)

Compile and link time less than 1 minute.

Procedure XPS+SDK: opening and update both XPS and SDK projects
('updated' SW on 'updated' HW')

Resynthesis of reference HW could take from 10 minutes to 1 hour(1)

 

Copy IP Cores and drivers used in TE reference projects

  Update XPS project from an old version to a new one
  

Export the HW design to SDK

 Open SDK project and (if needed) update the SDK project from an old version to a new oneRecreate SDK project using the new exported HW project
 Generate a new link script
 Download the bitstream to the FPGA
 Run the demo project
Check the fiirmware of FX2 microcontroler
USB communication tests + DMA tests

(1) It depends on which computer is used (workstation, regular PC or low-end PC).

...

  • If the FX2 microcontroller has not been programmed before, please follow the instructions here and here. You can use Cypress, Python OpenFut or C# OpenFutNet programs.
  • If you are sure that the FX2 microcontroller is properly connected, you can connect to the TE USB FX2 module with a JTAG adapter cable. We recommend using the Xilinx Platform Cable USB.
  • Then connect the TE USB FX2 module to a USB cable.

Use the demo project without the XMD UART

To use the demo project without the XMD UART, you need to use "RS232" instead of "debug_module" as standard in/out port. Otherwise the application running on the Microblaze processor freezes if you disconnect the XMD. To accomplish that you need to set up the Microblaze "Software Platform Settings".

  • In the dialog window select "OS and libraries" in the left window and pick "RS232" as a stdout and stdin interface.
  • Then rebuild the software and download again the project to the FPGA.

...

  • .

...

Module RS232 constraints*
Net fpga_0_RS232_RX_pin LOC=B13;
Net fpga_0_RS232_TX_pin LOC=B14;
Please refer to the table below  for other module series relevant to this application note.

Scroll pdf title
titleLocation of UART pins examples.

TE series

RS232_RX
FPGA ball

RS232_RX
module pin

RS232_TX
FPGA ball

RS232_TX
module pin

TE0300

R6

J5-29

P6

J5-31

TE0320

V17

J5-IO18

W17

J5-IO19

TE0630

Y7

J5-29

AB7

J5-31

TE0303It doesn't apply It doesn't apply 

TE0304

It doesn't apply

J1-3

It doesn't apply

J1-2

TE0323

It doesn't apply

J4-35

It doesn't apply

J4-37

host (PC)

TX

TX

RX

RX

...

 

 

 

 

...