This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

xds100v2 cpld programming

Hi,

     I am trying to build XDS100 V2 emulator using the design details provided by  TI. I want to know how the On-board CPLD and EEPROM could be programmed. What are the tools required ?

when i tried to open CPLD source file (xds100v2_cpld.ise) extracted from the zip file of XDS100 V2 in Xilinx-ISE software, i got an error reading "You dont have permissions to write the file or you are using an earlier version of ISE software". How to view this file, whether i have to change any permissions or should i use any other software?

  • Hi,

    All the details are shown at section 5 of the XDS100 page: http://processors.wiki.ti.com/index.php/Xds100

    Marada Naveen Kumar said:

    I want to know how the On-board CPLD and EEPROM could be programmed. What are the tools required ?

    The utility is FTProg. Check the CPLD programming section 5.3.3.

    Marada Naveen Kumar said:

    when i tried to open CPLD source file (xds100v2_cpld.ise) extracted from the zip file of XDS100 V2 in Xilinx-ISE software, i got an error reading "You dont have permissions to write the file or you are using an earlier version of ISE software". How to view this file, whether i have to change any permissions or should i use any other software?

    I am not familiar with Xilinx' ISE software to comment about any release incompatibilities, but all the files in the CPLD directory are installed with the read-only attibute by default, therefore you may need to clear this attribute before accessing this file in the device.

    Hope this helps,

    Rafael

  • Thanks Rafael,

                                  I am clear with EEPROM Programming.Regarding to cpld programming ,there is a link in section 6.4.12 in page: http://processors.wiki.ti.com/index.php/Xds100,which gives me a setup file and a directory .In the directory i found two files "idcode.xsvf,xds100v2_cpld.xsvf" .According to the instructions given in the "readme"

    file it seems that these two files are sufficient for programming,but the files given in the cpld directory of xds100v2 zip file are different .please look into this and provide clarification.

    This readme file details on programming XILINX cpld on xds100v2 USB emulator.
    This application supports an xds100v2 designed to match the TI reference design
    and tested on the Spectrum Digital xds100v2 14 pin and 20 pin versions.
    
    This application does NOT support xds100v1 or any design not following 
    the TI xds100v2 reference design.  If your design does NOT follow the TI reference 
    design you may contact Spectrum Digital for source code to this application. Or
    you may create your own application based on open source from FTDI and Xilinx.
    
    Directory Structure
    -------------------
    <install_dir>\ccsv4\common\uscif\ftdi\xds100v2_cpldprog
    
    xds100v2_cpldprog USAGE
    ---------------------
    From the command line:
    	xds100v2_cpldprog.exe -v(1-4) filename.xsvf
    
    The programmer takes two parmameters 
    	1. -v : verbose level 1-4.
    	2. xsvf file as filename.xsvf.
    
    PROGRAMMING THE CPLD
    ---------------------
    1. Connect xds100v2 to the PC via USB 2.0. 
    
    2. The directory has 2 xsvf files.
    	idcode.xsvf - used to read and verify the idcode of the xilinx device.
    		xds100v2_cpldprog.exe -v 4 idcode.xsvf	
    	xds100v2_cpld.xsvf - used to erase,program and verify the fpga.
    		xds100v2_cpldprog.exe xds100v2_cpld.xsvf
                    The xds100v2_cpld.xsvf is the most recent version available
                    for the Spectrum Digital xds100v2 and has several enhancements
                    JTAG pin tri-state control. The cpld source updates are available
                    from Texas Instruments.
    
    3. You can use any one of these files as input or use your own .xsvf to program the device. 
    
    4. Sample Output on successful program completion will be:
    xds100v2_cpldprog xds100v2_cpld.xsvf
    XSVF Player v5.01, Xilinx, Inc.
    Found 2 USB 2.x devices
    Opened Texas Instruments Inc.XDS100 Ver 2.0 B, at Location 21266
    XSVF file = xds100v2_cpld.xsvf
    SUCCESS - Completed XSVF execution.
    Execution Time = 22.359 seconds