jt_io.h File Reference

Defines

Functions


Detailed Description

Support functions to access the JTAG interface via parallel port


Define Documentation

#define LPT_DATA_PORT   (port_base)
#define LPT_STATUS_PORT   (port_base+1)

Referenced by tap_reset().

#define LPT_CONTROL_PORT   (port_base+2)
#define LPTCTR_DEFAULT   0x00
#define inb (  )     0

Referenced by tap_reset().

#define outb ( P,
 ) 
#define insb ( P,
A,
 ) 
#define outsb ( P,
A,
 ) 
#define ENTER_IOPERM
#define LEAVE_IOPERM
#define DEV_ON   0x2F

DATA 0010 1111 - Power on , set direction and enable signals

#define DEV_DISABLE   0x7F

DATA 0111 1111 - Power on , set direction and disable signals

#define DEV_OFF   0x00

DATA 0000 0000 - Power off

#define TCLK   0x01

TCK - Pin

Referenced by tap_discover_chain(), and tap_raw_io_test().

#define TMS   0x02

TMS - Pin

Referenced by tap_discover_chain(), and tap_raw_io_test().

#define TRESET   0x04

target TRESET - Pin active LOW

Referenced by tap_raw_io_test().

#define TDTO   0x08

to device: at the target device this is the TDI - Pin

Referenced by tap_raw_io_test().

#define RESET_OFF   0x0
#define TDFROM   0x10

from device: at the target device this is the TDO - Pin


Function Documentation

static void raw_device_on ( void   )  [inline, static]

Switch cable on
low level functions to access the Hardware

Parameters:
- 
Returns:
-

Referenced by tap_raw_io_test().

static void raw_device_off ( void   )  [inline, static]

Switch cable off
low level functions to access the Hardware

Parameters:
- 
Returns:
-

Referenced by tap_raw_io_test().

static void raw_device_disable ( void   )  [inline, static]

disable cable
low level functions to access the Hardware

Parameters:
- 
Returns:
-

Referenced by tap_raw_io_test().

static void raw_Tout ( int  outbyte  )  [inline, static]

Set the Jtag outbyte at target.
E.g. set or clear the JTAG output signals TMS, TCK, TDI. low level functions to access the Hardware

Parameters:
outbyte 
Returns:
-

Referenced by tap_discover_chain(), and tap_raw_io_test().

static char raw_Tin ( void   )  [inline, static]

Read the TDO-Pin from the target.
low level functions to access the Hardware

Parameters:
- 
Returns:
TDFROM aka TDO

Referenced by tap_discover_chain(), and tap_raw_io_test().


This file is part of the documentation for JTAG-GDB Server for ARM .

Generated on Mon Feb 15 21:23:21 2010 by doxygen 1.6.2.