Platform Cable USB User Manual

From Waveshare Wiki
Jump to: navigation, search

Overview

Introduction

Platform Cable USB is suitable for XILINX CPLD/FPGA devices and allows programming and debugging of the device and its configuration chip through the USB interface of a computer.

Platform Cable USB Function
- Adopt CY7C68013A+XC2C256 solution, fully compatible with the original Platform Cable USB.
- Support all Xilinx devices download, including FPGA / CPLD / ISP Configuration PROM devices.
- Support JTAG / Slave Serial / SPI download mode, which can be configured for all Xilinx devices.
- Support download interface voltage of target system: 5V / 3.3V / 2.5V / 1.8V / 1.5V.
- Xilinx ISE / iMPACT / ChipScope support.
- Optional target device download clock and auto-tuning support for XILINX software.
Supported Software
- Xilinx ISE 
- iMPACT 
- ChipScope
Supported Devices
- Support all Xilinx devices for download, including FPGA / CPLD / ISP Configuration PROM devices.
- New devices are constantly being added to ......
Feature
- Adopt CY7C68013A+XC2C256 solution, fully compatible with the original Platform Cable USB
Connect to PC
- Connect to computer via USB 2.0 interface
Connect to Target Board
- Connect to the target board via JTAG, AS, or PS interface
Platform Cable USB Status Indicator
- Red light is the power light.
- Green: USB is connected and Vref has a power supply into it (connected development board has power on).

Xilinx Platform Cable USB

Device Connection

Software Development Platform

XILINX provides complete platform support for CPLD/FPGA development, mainly including:

- HDL development software: Xilinx ISE
- Simulation software: Modelsim-SE
- In addition to the third-party synthesis, simulation, and other tools to provide a software interface
Hardware Development Platform
   The hardware development platform is very simple, only a PC and a programming cable can be the online configuration of CPLD/FPGA or programming of serial configuration devices.

Connect to PC

Use a USB cable to connect the PC.

Connect to the Target Board

There are three interfaces for Platform Cable USB to connect to the target board.
Platform Cable USB User Manual01.png

JTAG Adapter Interface

Platform Cable USB User Manual02.png

Software User Guide

Software Introduction

Introduction to common FPGA development software

software_name Introduction
Xilinx ISE Xilinx ISE is XILINX's comprehensive PLD development software that supports schematic, VHDL, Verilog HDL, and other forms of design input, with its own synthesizer and emulator embedded to complete the complete PLD design flow from design input to hardware configuration.
SignalTap II SignalTap II, known as SignalTap II Logic Analyzer, is a powerful and useful FPGA on-chip debug tool that captures and displays real-time signals and observes the interactions between hardware and software in a system design.
Modelsim-SE Mentor's simulation software for XILINX CPLD/FPGA with features such as RTL-level and gate-level simulation.

Xilinx ISE Installation

Download Demo to FPGA (No program loss during power failure)

XC3S250E is used as an example to configure the following chips. Platform Cable USB is used as an example to configure the downloader. You need to select the corresponding chip model and downloader during configuration.
After compiling, you can configure the information download, as shown below:

  1. Click Xilinx ISE:
    Xilinx ISE01.png
  2. Open the "LED4.xise" project under the verilog\LED\ directory in the 3S250E sample program (users can open any other project, here the LED program of this development board as an example), as shown in the following figure.
  3. Xilinx ISE02.png
  4. First select "1" and then double click "2", as shown below:
    Xilinx I2.png
  5. Double-click the Boundary Scan option in the pop-up field, as shown in the following figure:
    Xilinx ISE03.png
  6. First, left-click on the blank space, then right-click and select Cabel Setup, as shown in the figure below.
    Xilinx ISE04.png
  7. Select the appropriate download method, as shown below.
    Xilinx ISE05.png
  8. Go ahead and left-click on the blank space first, then right-click, as shown below.
    Xilinx ISE06.png
  9. Select the burn file, as shown in the following figure.
    Xilinx ISE07.png
  10. Choose No as shown below:
    Xilinx ISE08.png
  11. Operate as shown below:
    Xilinx ISE09.png
  12. Operate as shown below:
    Xilinx ISE10.png
  13. Right-click, and choose Program to download as shown below:
    File:Xilinx ISE12.png
  14. Finished.


Download Program to FLASH (No program loss during power failure)

  1. Click Xilinx ISE:
    Xilinx ISE01.png
  2. Open the "LED4.xise" project under the verilog\LED\ directory in the 3S250E sample program (users can open any other project, here the LED program of this development board as an example), as shown in the following figure.
  3. Xilinx ISE02.png
  4. First select "1" and then double click "2", as shown below:
    Xilinx I2.png
  5. Double-click the BCreate PROM File option in the pop-up column, as shown in the following figure:
    Xilinx Flash03.png
  6. In the pop-up section, follow the steps as shown below, where step 5 saves the file to the corresponding project folder, as shown below.
    Xilinx Flash04.png
  7. Choose OK as shown below:
    Xilinx Flash05.png
  8. Open the specified file, as shown in the following image.
    Xilinx Flash06.png
  9. Choose No as shown below:
    Xilinx Flash07.png
  10. Choose OK as shown below:
    Xilinx Flash08.png
  11. First, left-click in the blank space, and then select Generate File, as shown in the figure below.
    Xilinx Flash09.png
  12. The download file was generated successfully, as shown in the image below.
    Xilinx Flash10.png
  13. Continue to click back to Boundary Scan, as shown in the figure below.
    Xilinx Flash12.png
  14. Right-click as shown below:
    Xilinx Flash13.png
  15. Choose to download the file as shown below:
    Xilinx Flash14.png
  16. Click Program to start download as shown below:
    Xilinx Flash15.png
  17. A pop-up selection of columns is shown below:
    Xilinx Flash16.png
  18. The download was successful, as shown in the following image:
    Xilinx Flash17.png

New Project

The following configuration chip is XC3S250E for example, and the configuration downloader is Platform Cable USB for example, when configuring the corresponding chip model and downloader.

  1. Click Xilinx ISE as shown below:
    Platform Cble01.png
  2. Input the project name and specify the storage path:
    Platform Cble02.png
  3. Set the project parameters such as chip, package, language and so on.
    Platform Cble03.png
  4. As shown below:
    Platform Cble04.png
  5. Name the new Verilog HDL file:
    Platform Cble05.png
  6. As shown below:
    Platform Cble06.png
  7. As shown below:
    Platform Cble07.png
  8. The code in Verilog HDL is as follows, and after writing the code, save it as follows:
    Platform Cble08.png
  9. Create pin configuration file:
    Platform Cble09.png
  10. As follows:
    Platform Cble10.png
  11. As follows:
    Platform Cble11.png
  12. Pin configuration file as shown below:
    Platform Cble12.png
  13. Click the following pattern to compile:
    Platform Cble13.png
  14. Finished.