^

AR# 20060 11.1 EDK - "WARNING:MDT - MDM Peripheral Not Detected on Hardware - XMD does not connect to MicroBlaze via the MDM module on Virtex-4"

Keywords: LX, MB, ChipScope

After I program an XC4VLX25 device with a ".bit" file containing a MicroBlaze processor system, XMD is unable to connect to the MDM. Error messages are not displayed, and a connection is not made.

For a 6.3i EDK/ISE Project

For Virtex-4 ES JTAG ID register version 0 silicon, you must use a new version of the XMD and OPB_MDM modules. The ZIP file below contains both the updated version of XMD and a new OPB_MDM Core for use with the XC4LX25 ES devices.

1. Download the ZIP file at:
http://www.xilinx.com/txpatches/pub/utilities/fpga/4vlx25_mdm_xmd.zip

2. Unzip the contents into the "project\pcores" directory.

3. Update the MHS file to reflect the new OPB_MDM Core. Change the version from v2.00a to v2.01a.

4. Save the MHS file and regenerate the netlist.


For a 7.1i EDK/ISE Project

The ZIP file below contains both the updated version of XMD and a new OPB_MDM Core for use with XC4LX25 ES devices. Only the updated MDM module is required for 7.1i.

1. Download the ZIP file at:
http://www.xilinx.com/txpatches/pub/utilities/fpga/4vlx25_mdm_xmd.zip

2. Unzip the contents into the "project\pcores" directory.

3. Update the MHS file to reflect the new OPB_MDM Core. Change the version from v2.00a to v2.01a.

4. Save the MHS file and regenerate the netlist.


You can use the XMD executable from the 7.1i EDK installation to connect to the MicroBlaze Processor as follows:

1. Start a Xilinx Cygwin Shell.

2. In the shell, enter:
XMD

3. After the prompt has changed to XMD, enter the following:
xload MHS system.mhs
connect mb mdm -bscan USER1


Setting the XMD Connect Options in 7.1i EDK_SDK

While setting the Debug configuration for the processor, in the "XMD Target Connection" Tab -> XMD Connect Command field, specify the "connect mb mdm -bscan USER1" command. This command is used by SDK to connect to the XMD target.

For more information, see the Xilinx Platform Studio SDK Help section, "Debugging a Program on Target -> Setting the Debug Configuration -> Step DC6: Specify the XMD Connect Options."

For a 8.1i EDK/ISE Project and newer

The ZIP file (linked below) contains both the updated version of XMD and a new OPB_MDM Core for use with XC4LX25 ES devices. Only the updated MDM module is required for 8.1i and newer.

1. Download the ZIP file at:
http://www.xilinx.com/txpatches/pub/utilities/fpga/opb_mdm_v2_01_a.zip

2. Unzip the contents into the "project\pcores" directory.

3. Update the MHS file to reflect the new OPB_MDM Core. Change the version from v2.00a to v2.01a.

4. Save the MHS file and regenerate the netlist.


You can use the XMD executable from the EDK installation to connect to the MicroBlaze Processor as follows:

1. Download the ZIP file at:
http://www.xilinx.com/txpatches/pub/utilities/fpga/opb_mdm_v2_01_a.zip

2. Unzip the contents into the "project\pcores" directory.

3. Update the MHS file to reflect the new OPB_MDM Core. Change the version from v2.00a to v2.01a.

4. Save the MHS file and regenerate the netlist.

5. Open the <project>/etc/xmd.opt file.

6. Modify the line as follows:
connect mb mdm -bscan USER1

7. Save and close the "xmd.opt" file.

For an mdm v1.00a and higher core (new in EDK 9.2i)

Change the JTAG chain parameter to USER1

1. Right-click on the MDM module and select Configure IP.

2. With the User tab forward, select Advanced.

3. Change the 'Specifies the JTAG user-defined register used' value to USER1.

4. Click OK.

5. The design will need to be reimplemented in order for the changes to take affect.

NOTE: ChipScope Pro and XMD cannot be connected at the same time. This limitation will be removed in non-ES silicon.


AR# 20060
Date Created 09/03/2007
Last Updated 04/25/2009
Status Active
Type
Feed Back