UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 14342

3.1 EDK - Can I use the same peripheral as the DEBUG and STDIN or STDOUT device?

Description

Keywords: DEBUG, STDIN, STDOUT, XMD

Urgency: Hot

General Description:
Can I use the same peripheral (JTAG UART or UART) as the DEBUG and STDIN and/or STDOUT device?

Solution

- Use of any UART as STDIN and DEBUG PERIPHERAL will not work, as XMD does not read any input from a user and send it as user input for the program.

- Use of any UART as STDOUT and DEBUG PERIPHERAL will work as long as the user program is writing only ASCII output. Programs should NOT output binary 0x0, 0x1, 0x2, 0x3 onto the DEBUG PERIPHERAL. If they are, the debugging session with XMD will be out of synch. If binary data must be displayed, LEDs and 7-segment displays are a better place for this.

This restriction will be removed once MicroBlaze has a non-intrusive debugging method. This will be supported in an upcoming EDK version.
AR# 14342
Date Created 03/27/2002
Last Updated 04/28/2006
Status Archive
Type General Article