electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

Looking for USB -> JTAG verilog code


Post new topic  Reply to topic    EDAboard.com Forum Index -> PLD, SPLD, GAL, CPLD, FPGA Design -> Looking for USB -> JTAG verilog code
Author Message
GoldServe



Joined: 29 Jun 2005
Posts: 31


Post09 Sep 2007 8:17   

jtag verilog


Hi,

I am trying to build my own usb to jtag converter. I have the board all designed but i'm looking for some help in getting the state machine started for the jtag communications part.

Basically, I am using a USB chip that has an 8-bit parallel bus for the data and a few IOs that I can use to trigger the state machine on the CPLD.

I am looking for some code with a state machine in verilog to send standard JTAG commands and data ( and reading back).

Any help would be appreciated!
Back to top
kishore2k4



Joined: 17 Jun 2006
Posts: 293
Helped: 33


Post09 Sep 2007 8:29   

usb to jtag converter


There is a JTAG TAP controller project at opencores.org
http://www.opencores.org/projects.cgi/web/jtag/overview

It is the same inteface that is used in the OR1200 RISC processor. I am not sure if you can fit the jtag controller plus interface logic in a CPLD though. If I am not wrong, xilinx platform USB uses a USB micrcontroller and does everything in software.
Back to top
GoldServe



Joined: 29 Jun 2005
Posts: 31


Post09 Sep 2007 8:31   

jtag tap verilog


I saw that but it is probably not what i'm looking for right? Doesn't this go on the chip and is on the other end of JTAG? Controlling all the boundary scan registers, etc?

I'm looking for basically a parallel to serial converter that has a jtag state machine so I can send serial jtag commands to a chip. Cheers!
Back to top
kishore2k4



Joined: 17 Jun 2006
Posts: 293
Helped: 33


Post09 Sep 2007 13:26   

tap controller verilog


Oh, In that case that isn't right for you. I've never worked on the JTAG state machine before but I think you can simply pick 4 pins out of those 8 and do the rest in software like most JTAG adapters, unless you have specifically picked this CPLD based design. Care to expand on what exactly you intend your final product to be?
Back to top
GoldServe



Joined: 29 Jun 2005
Posts: 31


Post09 Sep 2007 18:37   

usb verilog code


I'm looking to make a very high speed jtag flash programmer so I need a hardware based design. Basically i'm looking for a TAP Master...
Back to top
Google
AdSense
Google Adsense




Post09 Sep 2007 18:37   

Ads




Back to top
GoldServe



Joined: 29 Jun 2005
Posts: 31


Post13 Sep 2007 0:28   

jtag verilog


I started to program my own TAP master but find it very hard to fit it into the MAX300E with 32 macrocells. I know it can be done.

The specs are an input clock of 24MHZ and the JTAG clock is 500hertz. Anyways, I have the specs of the TAP master in pictures below. If someone can come up with some easy way to reproduce the JTAG Signals given the usb signals, please post a snippet of what you did. Thanks!

Looking for USB -> JTAG verilog code

Looking for USB -> JTAG verilog code

Looking for USB -> JTAG verilog code
Back to top
GoldServe



Joined: 29 Jun 2005
Posts: 31


Post14 Sep 2007 16:16   

verilog coding for usb controller


Correction, I have 64 macrocells to use but I still can't think of a very efficient way to write what I need. Any help here?
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> PLD, SPLD, GAL, CPLD, FPGA Design -> Looking for USB -> JTAG verilog code
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
Help : Looking for mini N-Link jtag programmer USB drivers (1)
looking for demo code in PICDEM USB (1)
LOOKING FOR 68000 VERILOG BEHAVIORAL CODE (1)
JTAG - USB circuit for MSP430? (4)
USB-JTAG Programmer for MSP430 (6)
learning the USB protocol - reference code in VHDL\Verilog (1)
which is best USB JTAG for LPC2138 (4)
USB to Parallel Adapter for Xilinx JTAG (9)
USB based JTAG for MSP430 series microcontroller (5)
USB-JTAG Emulator for nxp lpc1768 board (1)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS