AR# 14342: 3.1 EDK - Can I use the same peripheral as the DEBUG and STDIN or STDOUT device?
3.1 EDK - Can I use the same peripheral as the DEBUG and STDIN or STDOUT device?
Keywords: DEBUG, STDIN, STDOUT, XMD
General Description: Can I use the same peripheral (JTAG UART or UART) as the DEBUG and STDIN and/or STDOUT device?
- 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.