Coder Social home page Coder Social logo

ftd2jtag's Introduction

JTAG Exercise

This is a small software application written in Python that interacts with a Xilinx XC2C64A chip mounted on a CoolRunner-II development board.

This design fills in the "back box" between the PC and the JTAG interface on the chip.

Task

The program:

  1. Reads back the unique IDCODE from the XC2C64A chip, and compares it to the IDCODE in the chip’s datasheet.
  2. Blinks D1 and D2 (alternating) at 0.5Hz

The module written can be extended to implement JTAG control over other chips.

Equipment

The equipment needed to complete this exercise includes:

Installation

Wire up the project according to the connection diagram: Wiring Diagram

This code is tested to run on Windows 10 in Powershell

I recommend creating a virtual environment before running, but this is optional:

PS path\to\ftd2jtag> py -m venv env
PS path\to\ftd2jtag> .\env\Scripts\activate
PS path\to\ftd2jtag> pip install -r requirements.txt

Usage

PS path\to\ftd2jtag> py .\jtag_exercise.py

You may also view the JTAG signals in the WaveForms project using the Analog Discovery 2.

Resources

Finding the right datasheets, schematics, and other files from the manufacturer websites was crucial to completing the exercise.

Equipment Datasheets

JTAG Programming Resources

Dependencies

Python >3.6

ftd2xx

bsdl-parser

Additional Q&A

additional_questions.md

Author

Rock Boynton - Portfolio website | GitHub | LinkedIn

ftd2jtag's People

Contributors

rockboynton avatar

Stargazers

Wayne A J Jr Craig avatar Katharina avatar Ahmed Nabih avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.