******************************************************************************* ** Copyright © 2008, Xilinx, Inc. ** This design is confidential and proprietary of Xilinx, Inc. All Rights Reserved. ******************************************************************************* ** ____ ____ ** / /\/ / ** /___/ \ / Vendor: Xilinx ** \ \ \/ Version: 1.0 ** \ \ Filename: xrom_readme.txt ** / / ** /___/ /\ ** \ \ / \ ** \___\/\___\ ** **Device: **Purpose: **Reference: ** ******************************************************************************* ** ** Disclaimer: LIMITED WARRANTY AND DISCLAIMER. These designs are ** provided to you "as is." Xilinx and its licensors make and you ** receive no warranties or conditions, express, implied, ** statutory or otherwise, and Xilinx specifically disclaims any ** implied warranties of merchantability, noninfringement, or ** fitness for a particular purpose. Xilinx does not warrant that ** the functions contained in these designs will meet your ** requirements, or that the operation of these designs will be ** uninterrupted or error free, or that defects in the Designs ** will be corrected. Furthermore, Xilinx does not warrant or ** make any representations regarding use or the results of the ** use of the designs in terms of correctness, accuracy, ** reliability, or otherwise. ** ** LIMITATION OF LIABILITY. In no event will Xilinx or its ** licensors be liable for any loss of data, lost profits, cost ** or procurement of substitute goods or services, or for any ** special, incidental, consequential, or indirect damages ** arising from the use or operation of the designs or ** accompanying documentation, however caused and on any theory ** of liability. This limitation will apply even if Xilinx ** has been advised of the possibility of such damage. This ** limitation shall apply notwithstanding the failure of the ** essential purpose of any limited remedies herein. ** ******************************************************************************* Application: xrom ------------------ This is the board diagnostics and testing application. CONFIG Switch Settings: 00010101 1. Connect the Host PC to the ML506 (J1 header) using a PC-IV or Platform USB JTAG cable 2. Connect the Host PC serial port to the ML506 serial port using a null modem cable and launch a terminal program on the Host (eg. TeraTerm) with the settings: 9600 baud, 8-N-1, No flow control 3. Connect the ML506 to a DVI monitor or to a VGA monitor with the appropriate adapter 4. Launch XPS and open the ML506 EDK project (ml506_bsb_system.xmp) 5. Launch a Shell window using XPS menu selection: Project > Launch EDK Shell 6. Download bitstream in shell window by typing: impact -batch etc/download.cmd 7. XPS menu selection: Debug > Launch XMD 8. At XMD% prompt type: cd microblaze_0/code 9. At XMD% prompt type: rst 10. At XMD% prompt type: dow xrom.elf 11. At XMD% prompt type: con On the terminal window associated with the serial port, enter the number 1 to select the Tests sub-menu. Make further selections as desired to run board diagnostic tests. LCD Output: ----------- ML506 Diag/Test ->Use Serial Port Serial Port Output: ------------------- ------------------------------------------------------------------------------ XROM for ML506 Version 1.10 built on Thu Oct 28 11:30:14 PST 2004 ------------------------------------------------------------------------------ 1. Tests ML506 Diagnostic Tests ====================== 1. Test DDR SDRAM 2. Test ZBT SRAM 3. Test LEDs 4. Test Push Buttons 5. Test Dip Switches 6. Test Character LCD 7. Test PS2 - Keyboard 8. Test SMA Connectors 9. Test VGA Output A. Test Flash Memory B. Print IIC EEPROM Contents C. Test Piezo 0. Return to the Main Menu DDR RAM Test ============ DDR Test Summary: Passes: 0 Errors: 0 Press ESC to return to the main menu Test 0: Writing Zeros Test 0: Read-Verifying Zeros Test 0: PASSED Test 1: Writing Ones Test 1: Read-Verifying Ones Test 1: PASSED Test 2: Clearing DDR Memory Test 2: Testing for stuck together address bits Test 2: Clearing DDR Memory for Test 3 Test 2: PASSED Test 3: Max Ba/Row/Col Noise Test Test 3: PASSED Test 4: Writing Data = !Address Test 4: Read-Verifying Test 4: PASSED Test 5: Writing 256 Bytes Test 5: Writing 65536 Half-Words Test 5: Writing 65536 Words Test 5: PASSED ZBT SRAM Test ============= * Single byte/half-word/word accesses Testing for memory availability Testing for data lines stuck at one Testing for data lines stuck at zero Testing for walking one data errors Testing for walking zero data errors Testing for address lines stuck at one Testing for address lines stuck at zero Testing for walking one address errors Testing for walking zero address errors Testing for pseudo-random data errors RAM test completed Test Passed, No Errors LED Test ======== You should see the LEDs move in a pattern Press ESC to return to the main menu Push Button Test ================ Press Each Push Button And CPU Reset Button If you do not press each button, test will fail in 30 seconds Test Passed Dip Switch Test =============== Press ESC to return to the main menu Note: Toggling a DIP switch shows up as an asterisk underneath the respective DIP switch number 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 * 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 * 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 * 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 * 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 * 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 * 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 * 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 * 1 2 3 4 5 6 7 8 Character LCD Tests =================== 1. Turn LCD On 2. Turn LCD Off 3. Write To LCD 4. Print Hello World 5. Clear LCD 0. Return to the Main Menu PS/2 Keyboard Test ================== Plug keyboard into PS/2 "MOUSE" Port After keyboard is plugged in, Press any key to continue Waiting for Keyboard Ack You should see output to the Terminal PS/2 keyboard scan codes are displayed Press Escape to Finish or Abort Plug keyboard into PS/2 "KEYBOARD" Port After keyboard is plugged in, Press any key to continue Waiting for Keyboard Ack You should see output to the Terminal PS/2 keyboard scan codes are displayed Press Escape to Finish or Abort SMA Port Test (*Note: Test to be updated. Please ignore output.) ============= Connect SMA Cable from DIFF CLK IN P to DIFF CLK OUT P Connect SMA Cable from DIFF CLK IN N to DIFF CLK OUT N Press ENTER to continue or ESC to exit Writing 0's Across Both SMA Cables...RESULT = 0 EXPECTED = 0 Writing 1's Across Positive SMA Cable...RESULT = 400000 EXPECTED = 400000 Writing 1's Across Negative SMA Cable...RESULT = 800000 EXPECTED = 800000 Test Passed VGA Test ======== Connect VGA Output to Display using a VGA Cable Press ENTER to continue or ESC to exit Display color black Writing Color Bar Pattern TFT test completed! You should see vertical color and grayscale bars across your VGA Output Monitor Press ESC key to continue Flash Memory Test ================= WARNING: Do not interrupt this flash test until it completes otherwise the contents of flash may be erased. Do you want to continue (Y/N)? Querying Flash device size Found 256 Mbit devices Testing Flash addresses 28000000 to 29FFFFFF Unlocking All Blocks Saving flash memory contents into DDR TEST - Testing Walking 1's across Data bus TEST - Testing Walking 0's across Data bus TEST - Testing Walking 1's across Address bus (tests address bits 25 to 2) TEST - Testing Walking 0's across Address bus (tests address bits 25 to 2) Restoring flash memory contents from DDR FLASH TEST TOTAL ERRORS: 0 ======================================== Printing IIC EERPOM Contents ============================ WARNING: This test will not run properly if you have modified IIC EEPROM! NOTE: * IIC EEPROM addresses 0x4C1 to 0xFFF are available for user use. * Addresses 0x000 to 0x4C0 are reserved for Xilinx use and must not be modified or your board may no longer function properly. If the Xilinx reserved addresses have been modified this test may print garbage You may wish to capture the output to a file Do you want to continue (Y/N)? Board Identification: Xilinx ML506 Board Model: HW-V5-ML506 Major Revision: B Minor Revision: 001 FPGA Part Number: XC5VSX50TFF1136 Board Serial Number: 014004 Board MAC Address: 000A35014004 Manufacture Date: 15-AUG-2007 Manufacture ID: WSI 5.0V Production Measured Power Supply: 5.139 3.3V Production Measured Power Supply: 3.304 2.5V Production Measured Power Supply: 2.500 1.8V Production Measured Power Supply: 1.808 1.2V Production Measured Power Supply: 1.004 Last Test Date: 15-AUG-2007 Test Result Code 1: 0xD3C0000F87BC0E80 Test Result Code 2: 0xFFFFFF8000000000 Board Error Code: 0x0000000000000000 Burn-In Test Passes: 0 Burn-In Test Errors: 0 DDR Test Passes: 1 DDR Test Errors: 0 Current Test Code: 0xFFFFFFFF Last Test Code: 0x00000011 Press Enter to Continue Piezo Test ============================ DVI/VGA Output: --------------- The DDR tests display color patterns as they sequence through memory which includes the video framebuffer