electronics forum

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

How to bypass 2nd device in JTAG chain without iMPACT?


Post new topic  Reply to topic    EDAboard.com Forum Index -> PLD, SPLD, GAL, CPLD, FPGA Design -> How to bypass 2nd device in JTAG chain without iMPACT?
Author Message
CobraMKIII



Joined: 12 Dec 2007
Posts: 2


Post12 Dec 2007 13:10   

How to bypass 2nd device in JTAG chain without iMPACT?


Hello!

In my system I have a Xilinx Spartan 3 FPGA and a CPLD (Xilinx XCR3128XL Coolrunner XPLA3) in my JTAG chain. First device is the FPGA and the second is the CPLD. I want to program the FPGA and bypass the CPLD without using a programming tool like iMPACT. I want to control the programming by another system with a FPGA and my own JTAG routines. I already had success in programming a system with a FPGA and a FLASH in the JTAG chain, there I just ignored to send a BYPASS instruction to the FLASH. Now it seems that I have to bypass the CPLD so it won't be programmed as well.

How do I manage to send a BYPASS instruction to the CPLD without sending a BYPASS instruction to the FPGA as well? Next difficulty is that the length of the instruction register of the FPGA TPA is 6 bit and CPLD TPA is 5 bit.
After bypassing the CPLD, I want to write some instructions into the SHIFT-IR of the FPGA. Because of the JTAG chain, these instructions will also get the CPLD. How can I assert that it stays in the bypassing mode?

I hope someone is familiar on this topic and can help me.

Uli
Back to top
echo47



Joined: 07 Apr 2002
Posts: 4206
Helped: 566


Post12 Dec 2007 14:08   

How to bypass 2nd device in JTAG chain without iMPACT?


The JTAG chain protocol handles all those situations. JTAG is simple but somewhat confusing. I hope this makes some sense . . .

The instruction registers of all your JTAG chain devices are connected in series as one continuous shift register. You never bypass instruction registers. For example, if your chain has three devices A,B,C with instruction word lengths of 5,6,7 bits, then you must always transmit an 18-bit instruction string like this: CCCCCCCBBBBBBAAAAA. Even if you only need to talk to device B, you must still include AAAAA and CCCCCCC in the instruction string, so simply set them to BYPASS opcodes (all ones). The full instruction string would be 1111111BBBBBB11111. All three devices now have their instructions, so you can send a data string. The data string travels from your JTAG controller through device A's one-bit data bypass register, then through device B's interesting data register, then through device C's one-bit data bypass register, then back to your JTAG controller.
Back to top
Google
AdSense
Google Adsense




Post12 Dec 2007 14:08   

Ads




Back to top
CobraMKIII



Joined: 12 Dec 2007
Posts: 2


Post12 Dec 2007 14:45   

Re: How to bypass 2nd device in JTAG chain without iMPACT?


This makes sense. Thank you a lot for the quick reply. Very Happy
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 -> How to bypass 2nd device in JTAG chain without iMPACT?
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
How to stay in BYPASS mode during JTAG Programming (3)
How to use a library without scan cell to insert scan chain? (3)
impact config Spartan-II init chain error,cable III, (4)
RS485 bypass without relay (2)
JTAG Chain Cable Length (1)
initialize jtag chain error. (2)
fpga missing in jtag chain (1)
Can not Download by Jtag!!!! IMPact hint that... (3)
Altera and xilinx on the same jtag chain (5)
My CPLD stopped working! Can't access JTAG chain (2)


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