PicoBlaze. for Spartan-3, Virtex-II, Virtex-IIPRO and Virtex-4 devices. JTAG Loader. Quick User Guide. Kris Chaplin and Ken Chapman

Similar documents
Universal ByteBlaster

LogiCORE IP Spartan-6 FPGA Triple-Rate SDI v1.0

Using the XSV Board Xchecker Interface

AT18F Series Configurators. Application Note. Stand-alone or In-System Programming Applications for AT18F Series Configurators. 1.

COE758 Xilinx ISE 9.2 Tutorial 2. Integrating ChipScope Pro into a project

Instruction Guide February 2017

Spartan-II Development System

Comparing JTAG, SPI, and I2C

Device 1 Device 2 Device 3 Device 4

Quick Installation Guide. Indoor / Outdoor Antenna, Antenna Cable & Surge Arrestor

12. IEEE (JTAG) Boundary-Scan Testing for the Cyclone III Device Family

PD18-73/PD18-73LF: GHz Two-Way 0 Power Splitter/Combiner

DVI Rover 700 User Guide

AT-HDPIX. Users Manual

Digilent Nexys-3 Cellular RAM Controller Reference Design Overview

Instant 802.3af Gigabit Outdoor PoE Converter. Model: INS-3AF-O-G. Quick Start Guide

Letters.org. SORRY LETTER TO AUNT. Included: Sorry Letter to Aunt

SDI-HDRPTPRO. User Manual. HD-SDI Repeater with Signal Equalization & Re-clocking. Version 1.2

SDI-SDHDXPRO User Manual. Version1.2

CHAPTER 3 EXPERIMENTAL SETUP

3M Locator Plate N

Children cannot always recognize potential hazards properly. This 5.1 system is not designed for operation in a heavy industry environment.

VHDL Upgrading of a TNT2 card

3M Coupling Tray FDTC-10S-COUPLINGTRAY

WIRING INSTRUCTIONS CROP-LINK Drip Installation

USER MANUAL HDMI 1x4 Distribution Amplifier w/ CAT5e/6 outputs up to 394ft. (120 meters)

Using the XC9500/XL/XV JTAG Boundary Scan Interface

SW-HD3X14K. SW-HD3X14K 3x1 HDMI Switcher with 4K Support

HDMI 1x8 Distribution Amplifier w/ CAT5e/6 outputs up to 394ft. (120 meters) USER MANUAL

Configuring FLASHlogic Devices

StickIt! VGA Manual. How to install and use your new StickIt! VGA module

Channel Mapping the Com1000 Headend. Channel Mapping the Com1000 using EPG generated PSIP Data. Technical Bulletin

3M Slim Lock Closures

Model: HDCMP31. Installation Guide

Virtex-II Pro and VxWorks for Embedded Solutions. Systems Engineering Group

Setup Guide. Introduction

Ryerson University Department of Electrical and Computer Engineering EES508 Digital Systems

Test Report TIDA /14/2014. Test Report For TIDA Aptina Automotive Camera Module 02/14/2014

Setup Guide. Introduction

WIRING INSTRUCTIONS Crop Link Lite/Pro 4-20mA INPUTS and SCALED VOLTAGE INPUTS

Using HERON modules with FPGAs to connect to FPDP

Quick Installation Guide. Indoor / Outdoor Antenna, Antenna Cable & Surge Arrestor H/W: V2

Enable-IT 821P PoE Extender Quickstart Guide Professional Grade Networking

Document Part Number: Copyright 2010, Corelis Inc.

Using the KC705 Kintex-7 evaluation kit

Enable-IT 824WP Outdoor Waterproof PoE Extender Kit Quickstart Guide Professional Grade Networking

Mini Gateway USB for ModFLEX Wireless Networks

HDSP2X4. HDMI 2 x 4 Splitter with Full HD 1080p

8 Port HD/SD-SDI Switch

Model PSKIT-H540 Ultrasonic Power Supply Kit 40 khz 500 Watts

Enable-IT 865 Q PRO Gigabit Professional Grade PoE Extender Kit Quickstart Guide

Spartan-IIE LC Development Board User s Guide

Enable-IT Port Extended Gigabit Ethernet DSLAM Quickstart Guide

SOC Single Channel H264 + Audio Encoder module

SportReplay Multichannel Video Recording and Instant Replay system

SP-HD1X24K. 1x2 HDMI Splitter with 4K Cinema resolutions & EDID

Flip-flop and Registers

Content. 3G SDI 1x16 Splitter with Re-Clock Technology 1 INTRODUCTION..1 2 SPECIFICATION PACKAGE CONTENT. 3 4 PANEL DESCRIPTION..

Product Obsolete/Under Obsolescence

Terms of Use and The Festival Rules

DisplayPort to VGA Converter

Using DLP LightCrafter 4500 Triggers to Synchronize Cameras to Patterns

Atlona HDBaseT-Lite Transmitter over Single CAT5e/6/7

1x4 DVI Monitor Switcher

EXT-SDHDX. Mini SDI to HDMI Converter

Forward Т Software. SDI option. Revision as of December 19, Installation and Setup Guide. SoftLab-NSK Ltd.

BENESTON USER MANUAL AHD-ER03H. AHD to HDMI & VGA & AV Converter AHD-ER03H

VGA CAT-5 1:8 Distribution S VGA CAT-5 Distribution R. EXT-VGA-CAT5-148S EXT-VGA-CAT5-148R User Manual

1X4 HDMI Splitter with 3D Support

Flarm Speaker. Installation Manual Version 1.00

3G/HD/SD-SDI to HDMI Converter

Model: UHD41-ARC. Installation Guide

SDI-HDSDXPRO. USER MANUAL Version 1.1

Introduction. Package Contents. Installation Requirements

Precision TNC Coaxial Calibration Kit

Content. 3G SDI 4X1 Switcher 1 INTRODUCTION. 1 2 SPECIFICATION PACKAGE CONTENT PANEL DESCRIPTION CONNECTION AND OPERATION..

DVDO VS4 HDMI Switch. User s Guide How to install, set up, and use your new DVDO product

AtlonA HDMI Media Center 6 inputs 1 output Switcher & Converter & 1080p Up-Scaler AT-LINE-EX. User Manual

4x1 HDTV Switcher USER MANUAL.

High Density Block BRCP. HD BRCP- 128/192/256 pair. Installation Instructions

8 Port HD/SD-SDI Video Switch with 2 Port Splitter

4x1 HD Analog Audio Switcher

VIODC SDI Demonstration

Enable-IT Port Extended Gigabit Ethernet PoE DSLAM Quickstart Guide

Owner s Manual. UHD 4Kx2K HDMI Splitters. Models: B UHD, B UHD, B UHD-WM, B UHD

User Manual KODAK SCANZA DIGITAL FILM SCANNER. 4.7"W 4.7"H 5"D (120 x 120 x 127mm)

3x1 HDMI Switcher USER MANUAL.

Installation and Tuning Manual DAC 7000 DAC 2X

Wireless HDMI Extender. Model

Installation and Operation Manual. for the. SM-6 Programmable Stereo Mixer

CN12 Technical Reference Guide. CN12 NTSC/PAL Camera. Technical Reference Guide PCB Rev

IoT Toolbox Mobile Application User Manual

ARIS EXPLORER 1200 GETTING STARTED

5 Port DVI Splitter VIDEO WALLS VIDEO PROCESSORS VIDEO MATRIX SWITCHES EXTENDERS SPLITTERS WIRELESS CABLES & ACCESSORIES

Why FPGAs? FPGA Overview. Why FPGAs?

Owner s Manual. VGA + Audio to HDMI Adapter/Scaler. Model: P HDSC2

LFSRs as Functional Blocks in Wireless Applications Author: Stephen Lim and Andy Miller

Lab 6: Video Game PONG

Move & Store Cart CONTENTS. Assembly Instructions

AT&T U-verse Enabled. How to Use the TV UI API. Publication Date: September 9, 2014

Transcription:

PicoBlaze for Spartan-3, Virtex-II, Virtex-IIPRO and Virtex-4 devices JTAG Loader Quick User Guide Kris Chaplin and

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, non-infringement, 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 not-withstanding the failure of the essential purpose of any limited remedies herein. JTAG Loader prepared by Kris Chaplin Customer Applications Engineer Xilinx Ltd email:chaplin@xilinx.com Please contact the author or Xilinx Technical support with any questions about this material. This material should not be copied or circulated without permission of Xilinx Ltd. JTAG Loader - Quick Guide - 3

Normal PicoBlaze Design A PicoBlaze (KCPSM3) program is stored in a BRAM configured as a ROM. The program is normally modified by a change to the configuration bit stream. The KCPSM3 assembler reads a VHDL or Verilog template describing the BRAM configuration and simply adds the initialization strings to define the program. KCPSM3 ROM_form.vhd ROM_form.v IN_PORT[7:0] INTERRUPT RESET OUT_PORT[7:0] PORT_ID[7:0] READ_STROBE Block Memory (Program) INSTRUCTION[17:0] ADDRESS[9:0] CLK WRITE_STROBE INTERRUPT_ACK INSTRUCTION[17:0] ADDRESS[9:0] CLK <progname>.psm KCPSM3 <progname>.vhd <progname>.v JTAG Loader - Quick Guide - 4

Normal Design Flow ROM_form.vhd <filename.psm> <filename.vhd> design.vhd Synthesis The PSM program is assembled and the resulting VHDL (or Verilog) file is included in the design. This is then processed through the normal ISE tools and used to configure the device via a JTAG download cable. PAR impact Download Complete Design(JTAG) JTAG Loader - Quick Guide - 5

PicoBlaze JTAG Program Loader The ROM_form template is replaced. This adds a few slices of logic to connect the second port of the BRAM to the JTAG controller inside the FPGA. It also adds a reset control. ROM_form.vhd ROM_form.v KCPSM3 TDI TDO TMS TCK BSCAN Interface ROM_form.vhd ROM_form.v Dual Port Block Memory (Program) D[8:0] WE Block A[10:0] Memory (Program) INSTRUCTION[17:0] ADDRESS[9:0] CLK proc_reset IN_PORT[7:0] OUT_PORT[7:0] INTERRUPT PORT_ID[7:0] RESET CLK READ_STROBE WRITE_STROBE INTERRUPT_ACK INSTRUCTION[17:0] ADDRESS[9:0] <progname>.psm KCPSM3 <progname>.vhd <progname>.v JTAG Loader - Quick Guide - 6

Insert JTAG Loader 1 - Replace the ROM_form.vhd (or ROM_form.v) file in your project directory. 2 - Assemble your program to create new VHDL (or Verilog) file. 3 - Add the reset to the instantiation of the the program ROM and connect to the PicoBlaze. component my_prog Port ( address : in std_logic_vector(9 downto 0); instruction : out std_logic_vector(17 downto 0); proc_reset : out std_logic; clk : in std_logic); end component; processor: kcpsm3 port map( address => address, instruction => instruction, port_id => port_id, write_strobe => write_strobe, out_port => out_port, read_strobe => read_strobe, in_port => in_port, interrupt => interrupt, interrupt_ack => interrupt_ack, reset => reset, clk => clk); The reset will ensure the program is executed from the beginning following each new download. program_rom: my_prog port map( address => pv_address, instruction => pv_instruction, proc_reset => reset, clk => clk); 4 - Synthesize and download the new design. JTAG Loader - Quick Guide - 7

JTAG Loader Programs Once the new design is configured into the device, a new set of programs can be used to rapidly change the PicoBlaze program. Enhanced ROM_form.vhd <filename.psm> <filename.vhd> design.vhd Describe JTAG chain (run once only) hex2svfsetup <new_prog.psm> Synthesis PAR <new_prog.hex> impact hex2svf <new_prog.hex> <new_prog.svf> svf2xsvf -d -i <new_prog.svf> -o <new_prog.xsvf> Download Complete Design(JTAG) playxsvf <new_prog.xsvf> Ensure IMACT is closed before using playxsvf. JTAG Loader - Quick Guide - 8

The JTAG Loader 1-2-3 Once the set up program has been used once, a batch file (provided) makes the execution of the remaining 3 programs much easier and faster. Describe JTAG chain (once only) hex2svfsetup <new_prog.psm> 1) Modify your PSM program. 2) Assemble your new program. 3) Run the batch file. <new_prog.hex> jtag_loader.bat hex2svf <new_prog.hex> <new_prog.svf> svf2xsvf -d -i <new_prog.svf> -o <new_prog.xsvf> jtag_loader <new_prog> playxsvf <new_prog.xsvf> JTAG Loader - Quick Guide - 9

Working or Not Working? When the playxsvf part of the JTAG loader works the process completes in a few seconds and a few simple messages are displayed. XSVF Player v5.01, Xilinx, Inc. XSVF file = led_lab.xsvf SUCCESS - Completed XSVF execution. Execution Time = 1.061 seconds However, if the player can not access the JTAG cable, the process will appear to take a long time and the DOS window will be filled TCK, TMS and TDI values. These appear so fast that you will not notice the message about not being able to connect to the parallel cable. XSVF Player v5.01, Xilinx, Inc. INFO: XSVF file = blink.xsvf ERROR: Xilinx Parallel Cable is not connected to parallel port. TCK = 0; TMS = 1; TDI = 0 TCK = 1; TMS = 1; TDI = 0 TCK = 0; TMS = 1; TDI = 0 TCK = 1; TMS = 1; TDI = 0 TCK = 0; TMS = 1; TDI = 0 TCK = 1; TMS = 1; TDI = 0 TCK = 0; TMS = 1; TDI = 0 TCK = 1; TMS = 1; TDI = 0 TCK = 0; TMS = 1; TDI = 0 TCK = 1; TMS = 1; TDI = 0 Make sure the parallel JTAG cable is connected and close all other programs which use the JTAG cable such as impact as these may be preventing access. JTAG Loader - Quick Guide - 10

Further Reading To read more about the JTAG mechanism being used by this utility, please visit the TechXclusive web site. http://support.xilinx.com/xlnx/xweb/xil_tx_home.jsp JTAG Loader - Quick Guide - 11