Versions Compared

Key

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

...

To change perspective you should click "Window">"Open Perspective">"Debug".

Scroll Title
titleOpen Debug Perspective
Image Modified

The new perspective is the following.

Scroll Title
titleDebug perspective opened
Image Added

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.

GUI procedure

In this simple case you can simply click "Run" > "Run"

Scroll Title
titledemo.elf downloaded and connected to Jtag-Uart
Image Added

In the console the menu of demo.elf should appear. If the menu doesn't appear you have probably set RS232 instead of debug (mdm) and/or set incorrectly "Stdio output".

If you write the character a the RAM test should start.

Image Added

XMD procedure

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

...

  • Configure debug
  • Change perspective from programming to debug selecting "Window" > "Open Perspective" > "Debug"

...

titleDebug Perspective

...

 

The UART port will output something of tis kind:
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.