NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
0AintLifeGrand0
Posts: 8
0 Kudos

Re: JTAG Digital Waveform Library

Hello David,

 

I'm now building a schematic for my new PCIe-6535. This testcase is a simple SPI bus expander, to test the SPI emulating. I still haven't looked in the programming/software behind the 6535 or behind the SDW/JDW lib's.

 

Can you tell me, when I use a device as the PCIe-6535 for emulating JTAG/SPI with the SDW JDW reference designs, should I then connect all lines (SCK,SI,SO,CS) to the Dig IO channels, or do I need to use the so called PFI channels as well?

Since your bit-banging I would guess you need only DIO?

 

Kind regards

Active Participant
David S.
Posts: 425
0 Kudos

Re: JTAG Digital Waveform Library

Yes, the DIO channels are used for the bus signals. (The PFI lines are all static, so they can't be used.)
David Staab, CLA
Staff Systems Engineer
National Instruments
Member
creole
Posts: 94
0 Kudos

Re: JTAG Digital Waveform Library

In the Serial Protocol Communication Reference Design for Digital Waveform Devices document, it mentions, "During the Initialization sequence, configure the device's Hardware Compare engine to operate in "Stimulus and Expected Response" mode." There is a graphic showing the niHSDIO property node with the attribute "HardwareCompare.Mode" and there is an enum feeding it set to "Stimulus and Expected Result". Where is that attribute? I can't find it. I'm using LV 2009 and NI HSDIO 1.7.2.

I do see an attribute for "Supported Data States" which I can set to HWC mode which allows for 0, 1, Z, L, H, and X on the stimulus and response. Is that the same as setting the Hardware.Compare.Mode?

thx,

-marcus

Active Participant
David S.
Posts: 425
0 Kudos

Re: JTAG Digital Waveform Library

Hi marcus -

 

Yes, they're the same thing. It looks like the properties were changed in a recent version. You can see in the context help for that property that it's used to configure the device for Hardware Compare mode.

 

Since it looks like you work at NI too -- you have a blue icon next to your name -- just call my extension or email me if you have any more questions. :smileywink:

David Staab, CLA
Staff Systems Engineer
National Instruments
Member
illini
Posts: 6
0 Kudos

Re: JTAG Digital Waveform Library - incorrect comment in example VI

In the LV 8.6 package, the JDW Get IDCODE.vi example has an error in comment text on the block diagram.

It says:  "1. Initialize the waveform, preallocating samples in memory.  If desired, begin by clocking in five 0's on the TMS line to initialize the device to the TEST-LOGIC-RESET state"

 

Clocking five 1's will reset to TEST-LOGIC-RESET.  This is what the example actually does - so the '0' should simply be replace with a '1'.

Member nxb
Member
nxb
Posts: 40
0 Kudos

Re: JTAG Digital Waveform Library

Hi all

 

I was wondering if there is a way to send JTAG Digital Waveforms generated by LabVIEW into a parallel port or USB port.  I know that there is a way to use DAQmx devices with JTAG Digital Waveforms where DAQmx drivers take JTAG Digital Waveforms and transfer that into physical signals which is then send to UUT.  I really am in a need to try to mimic whatever a DAQmx can do to make that happen with a parallel port or usb port. I would really appreciate if you can help me it is very urgent. Also I would really appreciate if there is another cheaper device or a way that can replace DAQmx so I can send those JTAG signals to my UUT. By the way I am using LV8.6.

 

Thanks

Member
moderator1983
Posts: 90
0 Kudos

Re: JTAG Digital Waveform Library

Hi Everyone,

 

I wanna know, if "JTAG Digital Waveform Reference Library" cna be used with R-Series cards (specifically PXI-78XXR series).

And the main concern is to implement/establish communication using JTAG interface (IEEE 1149.1).

 

Please help me with the issue.

 

--

Thanx and Regards

I hate it in friends when they come too late to help.
Credit card & "Kudos" are accepted...!!
Active Participant
David S.
Posts: 425
0 Kudos

Re: JTAG Digital Waveform Library

Hi moderator -

 

As explained in the Serial Protocol Communication whitepaper, JDW is designed to work only with vector waveform devices like NI DAQ and HSDIO. It does not work with RIO (R-series, FlexRIO, cRIO) devices.

David Staab, CLA
Staff Systems Engineer
National Instruments
Member
moderator1983
Posts: 90
0 Kudos

Re: JTAG Digital Waveform Library

Thank you David for your reply....

 

Could you guide me, I've PXI 7833R and want to implement JTAG interface to perform 'Boundary Scanning', is there any knowledge base or example or case study.....?

I hate it in friends when they come too late to help.
Credit card & "Kudos" are accepted...!!
Member
ravirmsp
Posts: 4
0 Kudos

Re: JTAG Digital Waveform Library

Hi Christian,

 

Thanks for the JTAG Digital Waveform Library. Really it reduces the protocol development time drastically.

 

I am using your example VI called HSDIO JTAG - Core Features.vi to generate JTAG signals TCK, TMS, TDI and TRST and acquire JTAG signals TCK, TMS, TDI, TDO and TRST  with HSDIO PXI 6552 card. I have the following question in the above example. 

What is the meaning of the following control JTAG channels in the example. JTAG Example Control.png

 

Can I expect TCK in channel 0, TMS in channel 1, TDI in channel 2, and TDO in channel 3 of the HSDIO card. Otherwise please suggest me how to map the JTAG channels with HSDIO channels. 

I am using the same JTAG channels configuration for my program but I am getting

 

 

 

 

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page