[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Using opb_mdm as a jtag uart



As John indicated, the jtag uart capability of opb_mdm allows the UART
input/output to be sourced/sinked across JTAG.  Inside xmd, "terminal"
launches a separate terminal window.

This is useful for multiprocessor systems implemented in the FPGA since it
provides another uart interface without requiring another serial connector
on the board.

The device driver for uartlite is the same whether a serial cable or jtag is
used as the physical medium.  As a result, a quick way to use JTAG uart is
to switch the following three sets of auto-config.in values before running
"make menuconfig":
  CONFIG_XILINX_UARTLITE_0_BASEADDR
  CONFIG_XILINX_UARTLITE_0_HIGHADDR
  CONFIG_XILINX_UARTLITE_0_IRQ
and
  CONFIG_XILINX_MDM_0_BASEADDR
  CONFIG_XILINX_MDM_0_HIGHADDR
  CONFIG_XILINX_MDM_0_IRQ

A longer term solution would be to add a level of indirection for the
console interface that could then refer to any "uartlite" compliant pcore.

Paul

Quoting John Williams <jwilliams@itee.uq.edu.au>:
> >
> > It is not necessary to add interrupt to MDM.
>
> It might be useful for "headless" systems where you need a UART on the
> bench but not in production.  xmd/mdm has the capability to act like a
> UART, but I've never tried it in uClinux.
>
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/