Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

EzUSBJTAG Class Reference

The implementation of JTAG Control for EzUSB. More...

#include <ezusb_jtag.h>

Inheritance diagram for EzUSBJTAG:

Inheritance graph
[legend]
Collaboration diagram for EzUSBJTAG:

Collaboration graph
[legend]
List of all members.

Public Methods

 EzUSBJTAG ()
 The constructor, call EzUSB's one with empty file name and install signal handlers.

virtual ~EzUSBJTAG ()
 The destructor, remove signal handlers.

virtual bool init (int argc, char **argv)
 Initialize the link with the connection device.

virtual void ireg (unsigned char *data)
 Read and write the jtag instruction register.

virtual void dreg (unsigned char *data, unsigned char length, bool writeOnly=false)
 Read and write the jtag data register.

virtual void jtagReset (void)
 Put the JTAG in run test/idle mode.

virtual void cpuReset (bool state)
 Assert or deassert the cpu reset line.

virtual void trst (bool state)
 Assert or deassert the TRST (the JTAG Reset line).

virtual void idle (unsigned int nbTCK)
 Idle for some TCKs in the run test/idle state.

virtual void flushQueue (void)
 Flush the jtag write only command queue.

virtual const char * getName (void) const
 Return the name of the Jtag Control (like usb, pp).


Protected Methods

void writeAndReadBuffer (unsigned char *buffer, int toWrite, int toRead, unsigned long delay=0)
 Method used internally to send and receive a buffer.


Protected Attributes

unsigned char queue [64]
 interneal queu for message queuing.

int queuePos
 internal position in queu.


Detailed Description

The implementation of JTAG Control for EzUSB.

This class inherits from JTAGControl as it's purprose is to implement a JTAG interface. It also inherits from EzUSB so all program upload facilities are already here.

Definition at line 40 of file ezusb_jtag.h.


The documentation for this class was generated from the following files:
Generated on Fri May 16 13:01:49 2003 for Jelie by doxygen1.2.15