Method and apparatus for operating on a memory unit via a...

Error detection/correction and fault detection/recovery – Pulse or data error handling – Digital logic testing

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C714S025000, C714S725000, C714S727000, C365S201000

Reexamination Certificate

active

06243842

ABSTRACT:

FIELD OF THE INVENTION
The present invention relates to Joint Text Action Group (JTAG) ports generally and to their method of operation in particular.
BACKGROUND OF THE INVENTION
Memory units are very common in many different types of products. All memory units are programmable but the types of memory units differ in whether or not and how they are erased. Read only memory (ROM) units are not erasable and require replacement if the information programmed therein must be changed. Erasable programmable, read only memory (EPROM) units use electrical signals to program them but require ultraviolet light to erase the entire chip at once. Electrically erasable programmable, read only memory (EEPROM) units and FLASH EEPROM units use electrical signals for erasing and for programming. Thus, a single bit or a single word can be changed if desired.
Included in the term “memory units” are programmable logic devices (PLDs) which, instead of storing data as do memory units, store logical equations. A PLD can be based on any of the memory unit types.
To reprogram a programmable memory unit, the unit must be placed into a programming device which erases the unit in the appropriate manner and then electrically programs the unit. For memory units formed in a chip which is connected to a circuit board via a socket, this is not a problem since the units are typically removable from the socket.
However, those units which are directly soldered to the circuit board and those which are formed within a multifunction chip cannot be removed to the programming device. These units can be operated on (i.e. read, programmed, erased, verified, etc.) via a parallel port.
In-system programming (ISP) provides a method of operating on an on-chip memory unit, or any non-removable memory unit. IEEE Standard 1149.1 defines a test access port, known as a “JTAG port”, through which in-system programming occurs using a serial channel.
FIGS. 1A and 1B
, to which reference is now made, illustrate the JTAG port and its operation.
FIG. 1A
illustrates a personal computer (PC)
10
having a parallel port
11
which controls a chip
12
having a JTAG port
14
while
FIG. 1B
illustrates the method of operation, in the form of a state machine, through the JTAG port
14
.
In order to operate with a JTAG port, the chip
12
must also have a JTAG controller
16
which converts the serial data transmitted through the port to the parallel format needed for accessing the memory unit, labeled
18
, via a parallel bus
20
. The bus can either be a single bus for data and address signals or two busses, one for data signals and one for address signals. In addition, the JTAG controller
16
decodes the instructions sent to into control signals for controlling the operation of the memory unit
18
. These control signals are provided to the memory unit
18
via a control bus
29
.
The JTAG port
14
has four pins, one each for the clock signal TCK, a control signal TMS, a data in signal TDI and a data out signal TDO, and the JTAG controller
16
includes a state machine
22
, a data shift register
24
, an instruction shift register
27
and an instruction decoder
28
.
The data in signal TDI is a serial presentation of the data and address information to be provided to the memory unit
18
as well as of the instructions to the memory unit
18
. The data and address information is provided to data shift register
24
which shifts in the serial data provided by signal TDI. The data shift register
24
thus has enough storage units to hold both data (typically of 8 bits) and address (typically of 16 bits). The instructions are provided to the instruction shift register
27
.
Via parallel port
11
, the PC
10
provides the clock signal TCK and the control signal TMS to the state machine
22
which, in turn, controls the operation of the JTAG controller
16
. Accordingly, the PC
10
also drives the data in signal TDI and monitors the data out signal TDO. The various instructions forming the control signal TMS are indicated in FIG.
1
B. As the operation of the JTAG controller
16
is fully defined in the IEEE standard 1149.1, the following discussion will only highlight portions of the operation.
Initially, whatever information is on bus
20
is captured (state
32
) and placed into data shift register
24
. The data and address information of data in signal TDI is then shifted (state
34
) into data shift register
24
, causing the captured data to be shifted out, as data out signal TDO. Once a full set of data and address information has been shifted into data shift register
24
, the state machine
22
indicates (state
42
) to data shift register
24
to provide the data to parallel bus
20
. State machine
22
then indicates (state
44
) to the instruction decoder
28
to provide the instructions, via control bus
29
, to memory unit
18
to run the desired operation (reading, programming, erasure, verification, etc.) for the address.
PC
10
then waits a predetermined length of time T, as defined for each type of operation, before transmitting the next series of data and address bits. The length of time is set to ensure that the desired operation finishes before the next set of data is shifted in.
The timing is shown in
FIG. 1C
for two bytes, labeled BYTE
0
and BYTE
1
. The shifting operation for BYTE
0
, as indicated by the data in TDI signal, occurs first, during which the 24 data and address bits are shifted into data shift register
24
and
24
blank bits are shifted out to data out signal TDO. Once the data has been shifted into register
24
, the state machine
22
moves to the UPDATE state
42
after which the state machine moves to the run-test/idle state
44
in which an R-T-I pulse
45
is generated. The memory unit
18
then performs the operation, as indicated by the OPERATION signal. As noted, the OPERATION signal returns to its non-active state well within the period of length T allotted to it. The process repeats itself with the next shift operation, for BYTE
1
, during which the data of BYTE
0
is shifted out to data out signal TDO.
It will be appreciated that using the JTAG port
14
to operate on a memory unit is time consuming due to the serial transfer of the data and the long wait until the operation has finished for each byte.
SUMMARY OF THE INVENTION
An object of the present invention is to provide a novel method of controlling the operation of an on-chip memory unit through a JTAG port.
Therefore, in accordance with a preferred embodiment of the present invention, the method of controlling the operations of an on-chip memory unit includes the steps of receiving an indication of at least the ready or busy state of the memory unit and instructing the memory unit to perform the next operation once the indication is of the ready state.
In accordance with a preferred embodiment of the present invention, the step of receiving can include the repeated steps of capturing the indication and the data and address information of the previous byte provided to the memory unit and shifting the data and address information of a next byte and at least one extra bit through a shift register such that the indication is also shifted out of the shift register to a data out pin of a JTAG port. The steps of capturing and shifting are repeated until the indication is of the ready state.
Moreover, in accordance with a preferred embodiment of the present invention, the step of receiving includes the step of providing the indication from a non-JTAG port to a pin on a receiving port of an external processor.
Additionally, in accordance with a preferred embodiment of the present invention, the step of receiving includes the step of waiting until the indication is of the ready state. The waiting can occur by polling the receiving port or by connecting the indication to an interrupt port of an external processor.
There is also provided, in accordance with a preferred embodiment of the present invention, a memory chip which includes a memory unit having a ready/busy output line, a JTAG port, with JTAG input and JTAG output line

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Method and apparatus for operating on a memory unit via a... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Method and apparatus for operating on a memory unit via a..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method and apparatus for operating on a memory unit via a... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2503242

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.