Versions Compared

Key

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

Configure debug and run operation

Before you could run the "demo.elf" file on MicroBlaze you should configure the "stdio output".

...

Tip
The Debug operation normaly share these settings, so you doesn't need to repeat this procedeure for debug operation but is better to check the settings (it is better to be on the safe side).

Change perspective from "C/C++" to "Debug"

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

...

Scroll Title
titleDebug perspective opened

Use the "demo" project with the XMD UART

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.

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"

...

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

XMD procedure

Scroll Title
titleIn the XMD console you should write "connect mb mdm -debugdevice cpunr 1".

...

Scroll Title
titleIf you write the character "a" the RAM test should start.

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".

...