Versions Compared

Key

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

Introduction

fadfadfadf

Reference Architecture

To 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 TE0300, TE0320 or TE0630 family 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.

The procedure is the following.gfgdfgdf

1) Update XPS project and download bitstream to the FPGA

...

Open the project by double-clicking on the system.xmp file. The Xilinx Platform Studio is opened. To compile the project press the "Download Bitstream to the FPGA" button.

???? If the HDL design was successfully implemented and downloaded to the TE0300/TE0320/TE0630 family module, you can proceed to compile the MB software. Press the "build all user applications" button. ??????

Note
If this doesn't work, you should probably use the long (clean) procedure below. This procedure will also aid you if you are newcomer user of recent Xilinx XPS and SDK and desires to create your own project.

...

B) Update the SDK project (add more than 10 images)

2) Check the fiirmware of FX2 microcontroler

The FX2 microcontroller on the TE0300, TE0320 or TE0630 family should contain valid firmware before proceeding.

...

???? If the HDL design was successfully implemented and downloaded to the TE0300/TE0320/TE0630 family module, you can proceed to compile the MB software. Press the "build all user applications" button. ??????

3) Run the demo project

Tip
Demo program (running on MicroBlaze) will work even in case the UART port is left unconnected: it is not necessary to use a USB/Uart converter or Uart port on a PC, if you are using XMD UART HDL block.

Case A) Use the demo project with the XMD UART

With this application, you can test the PC ↔ USB ↔ JTAG  ↔ FPGA communication using a simulated UART (XMD_UART) on JTAG/USB connection.

If you want to input some characters to the XMD UART, then open some terminal emulators,such as

  • Microsoft / Hilgraeve HyperTerminal (usually included in Windows before Vista START MENU > All programs > Acessories > Communications > Hyper Terminal). 
  • ClearTerminal (very easy)

Connect using the following settings:

  • No Host address
  • Port Number: 4321
  • TCP/IP connection type

The UART settings are:

  • bits per seconds: 115,200
  • data bits: 8
  • parity: none
  • stop bits: 1
  • flow control: none (otherwise you will not be able to enter commands)

The UART port will output something of tis kind:

With this application, you can test the PC ↔ FPGA communication using a provided TE API.

PLACEHOLDER START

When application demo is compiled, you can click on the "Start XMD" button to download the hw_test application and open a UART terminal. 

Before running the demo application, open the #project_root#\xmd.ini file:
1.rst
2.dow sw/test_hw.elf
3.#dow sw/demo.elf
4.run
5.terminal -jtag_uart_server 4321
To run the demo application
uncomment line 3 (remove "#")
comment line 2 (add "#" as first character)
save xmd.ini.
type "exit" in XMD command window
restart XMD by clicking again the "Start XMD" button in the XPS toolbar.
With this application, you can test the PC ↔ FPGA communication using a provided API.
If you want to input some characters to the XMD UART, then open some terminal emulators, such as Microsoft / Hilgraeve HyperTerminal (usually included in Windows START MENU / All programs / Acessories / Communications / Hyper Terminal). Connect using the following settings:
No Host address
Port Number: 4321
TCP/IP connection type

...