#include <ezusb_jtag.h>
Inheritance diagram for EzUSBJTAG:
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. |
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.