1. Field of the Invention
The present invention relates generally to disk controllers, and more particularly to an embedded disk controller with a speed matching FIFO for facilitating multiple processor access.
2. Background
Conventional computer systems typically include several functional components. These components may include a central processing unit (CPU), main memory, input/output (“I/O”) devices, and disk drives. In conventional systems, the main memory is coupled to the CPU via a system bus or a local memory bus. The main memory is used to provide the CPU access to data and/or program information that is stored in main memory at execution time. Typically, the main memory is composed of random access memory (RAM) circuits. A computer system with the CPU and main memory is often referred to as a host system.
The main memory is typically smaller than disk drives and may be volatile. Programming data is often stored on the disk drive and read into main memory as needed. The disk drives are coupled to the host system via a disk controller that handles complex details of interfacing the disk drives to the host system. Communications between the host system and the disk controller is usually provided using one of a variety of standard I/O bus interfaces.
Typically, a disk drive includes one or more magnetic disks. Each disk typically has a number of concentric rings or tracks on which data is stored. The tracks themselves may be divided into sectors, which are the smallest accessible data units. A positioning head above the appropriate track accesses a sector. An index pulse typically identifies the first sector of a track. The start of each sector is identified with a sector pulse.
Typically, the disk drive waits until a desired sector rotates beneath the head before proceeding for a read or write operation. Data is accessed serially, one bit at a time and typically, each disk has its own read/write head.
The disk drive is connected to the disk controller that performs numerous functions, for example, converting digital data to analog head signals, disk formatting, error checking and fixing, logical to physical address mapping and data buffering. To perform the various functions for transferring data, the disk controller includes numerous components.
Typically, the data buffering function is used to transfer data between the host and the disk. Data buffering is needed because the speed at which the disk drive can supply data or accept data from the host is different than the speed at which the host can correspondingly read or supply data. Conventional systems include a buffer memory that is coupled to the disk controller. The buffer memory temporarily stores data that is being read from or written to the disk drive.
Conventionally, when data is read from the disk drive, a host system sends a read command to the disk controller, which stores the read command into the buffer memory. Data is read from the disk drive and stored in the buffer memory. An ECC module determines the errors that occur in the data and appropriately corrects those errors in the buffer memory. Once it is determined that there are no errors, data is transferred from the buffer memory to the host system.
Conventional disk controllers do not have an embedded processor or specific modules that can efficiently perform the complex functions expected from disk controllers.
Therefore, what is desired is an embedded disk controller system that can efficiently function in the fast paced, media storage environment.
In one aspect of the present invention, an embedded disk controller (“controller”) having a servo controller is provided. The controller also includes a servo controller interface with a speed matching module and a pipeline control module such that at least two processors share memory mapped registers without conflicts. The processors operate at different frequencies, while the servo-controller and the servo controller interface operate in same or different frequency domains.
The speed matching module ensures communication without inserting wait states in a servo controller interface clock domain for write access to the servo controller and there is no read conflicts between the first and second processor.
The controller also includes a hardware mechanism for indivisible register access to the first or second processor. The hardware mechanism includes a hard semaphore and/or soft semaphore.
The pipeline control module resolves conflict between the first and second processor transaction. If there is a write conflict between the first and second processor, pipeline control module holds write access to the second processor.
In yet another aspect of the present invention, a system for reading and writing data to a storage medium. The system includes an embedded disk controller having a servo controller interface module that includes a speed matching module and a pipeline control module such that at least two processors share memory mapped registers without conflicts.
This brief summary has been provided so that the nature of the invention may be understood quickly. A more complete understanding of the invention can be obtained by reference to the following detailed description of the preferred embodiments thereof in connection with the attached drawings.
The foregoing features and other features of the present invention will now be described. In the drawings, the same components have the same reference numerals. The illustrated embodiment is intended to illustrate, but not to limit the invention. The drawings include the following Figures:
FIGS. 3-(i) through 3-(iv) are schematics showing plural signals to and from servo-controller and servo controller interface;
FIGS. 11-(i) and 11-(ii) show a table describing various output signals from the servo controller to the servo controller interface, according to one aspect of the present invention;
FIGS. 12A-(i), 12A-(ii), and 12B-(i) through 12B-(iv) show schematic diagrams of the servo controller and the servo controller interface according to one aspect of the present invention;
FIGS. 12C-(i) through 12C-(iv) show a schematic of the speed match FIFO, according to one aspect of the present invention;
FIGS. 15-(i) and 15-(ii) show a timing diagram with the APB Bus write conflicting with the DSP write operations;
FIGS. 27-(i) and 27-(ii) provide a table of various bits that are used by a control register for SCI, according to one aspect of the present invention; and
To facilitate an understanding of the preferred embodiment, the general architecture and operation of a disk controller will be described initially. The specific architecture and operation of the preferred embodiment will then be described.
The disk drive system of
As shown in
As is standard in the industry, data is stored on disk 115 in sectors. Each sector is byte structured and includes various fields, referred to as the sector format. A typical sector format includes a logical block address (“LBA”) of about four bytes followed by a data field of about 512 bytes. The LBA contains position information, for example, cylinder, head and sector numbers. A field for a CRC checksum of 4 bytes typically follows the data field. A subsequent field for a number of ECC bytes, for example 40-80 bytes, is located at the end of the sector.
Controller 101 can be an integrated circuit (IC) (or application specific integrated circuit “ASIC”) that comprises of various functional modules, which provide for the writing and reading of data stored on disk 115. Microprocessor 100 is coupled to controller 101 via interface 118 to facilitate transfer of data, address, timing and control information. Buffer memory 111 is coupled to controller 101 via ports to facilitate transfer of data, timing and address information.
Data flow controller 116 is connected to microprocessor bus 107 and to buffer controller 108. An ECC module 109 and disk formatter 112 are both connected to microprocessor bus 107. Disk formatter 112 is also coupled to data and control port 113 and to data bus 107.
SCSI controller 105 includes programmable registers and state machine sequencers that interface with SCSI port 102 on one side and to a fast, buffered direct memory access (DMA) channel on the other side.
Sequencer 106 supports customized SCSI sequences, for example, by means of a 256-location instruction memory that allows users to customize command automation features. Sequencer 106 is organized in accordance with the Harvard architecture, which has separate instruction and data memories. Sequencer 106 includes, for example, a 32-byte register file, a multi-level deep stack, an integer algorithmic logic unit (ALU) and other special purpose modules. Sequencer 106 support's firmware and hardware interrupts schemes. The firmware interrupt allows microprocessor 100 to initiate an operation within Sequencer 106 without stopping sequencer operation. Hardware interrupt comes directly from SCSI controller 105.
Disk formatter 112 is a disk interface controller and performs control operations when microprocessor 100 loads all required control information and parameter values into a writable control store (WCS) RAM (not shown) and issues a command. Disk formatter 112 executes the command with no microprocessor 100 intervention.
Buffer controller 108 can be a multi-channel, high speed DMA controller. Buffer controller 108 connects buffer memory 111 to disk formatter 112 and to an ECC channel of ECC module 109, a SCSI channel of SCSI controller 105 and micro-controller bus 107. Buffer controller 108 regulates data movement into and out of buffer memory 111.
To read data from disk 115, a host system sends a read command to disk controller 101, which stores the read commands in buffer memory 111. Microprocessor 100 then read the command out of buffer memory 111 and initializes the various functional blocks of disk controller 101. Data is read from disk 115 and is passed through disk formatter 112 simultaneously to buffer controller 108 and to ECC module 109. Thereafter, ECC module 109 provides the ECC mask for errors, which occurred during the read operation, while data is still in buffer controller 108. The error is corrected and corrected data is sent to buffer memory 111, and then passed to the host system.
Embedded Disk Controller
System 200 includes a microprocessor (“MP” and also referred to as “processor 240”) 240 (which is also the overall system processor) that performs various functions described below. MP 240 may be a Pentium® Class processor designed and developed by Intel Corporation® or an ARM processor (for example, ARM966E-S®) or any other processor. MP 240 is operationally coupled to various system 200 components via buses 236 and 208. Bus 236 may be an Advanced High performance (AHB) bus as specified by ARM Inc. Bus 208 may an Advanced Peripheral Bus (“APB”) as specified by ARM Inc. The specifications for AHB and APB are incorporated herein by reference in their entirety. It is noteworthy that the present invention is not limited to any particular bus or bus standard.
Processor 240 has a bus interface unit 241 that interfaces with bus 236, a memory interface 239 that interfaces with memory 238A.
Arbiter 245 arbitrates access (signal HGRANTARM 243) to AHB bus 236, while APB Bridge 235 is used to communicate between buses 236 and 208.
System 200 is also provided with a random access memory (RAM) or static RAM (SRAM) 238 that stores programs and instructions, which allows MP 240 to execute computer instructions. MP 240 may execute code instructions (also referred to as “firmware”) out of RAM 238.
System 200 is also provided with read only memory (ROM) 237 that stores invariant instructions, including basic input/output instructions. System 200 includes a Joint Action Test Group (“JTAG”) interface 246 for providing testing information.
MP 240 includes a TAP controller 242 that performs various de-bugging functions. MP 240 is also coupled to an External Bus Interface Bridge (or Controller) (“EBC” also referred to as “EBI” or “EBI controller”) 228 via an external bus interface (“EBI/F”) 227. EBC 228 allows system 200 via MP 240 and EBI/F 227 to read and write data using an external bus, for example, a storage device external to system 200, including FLASH memory, read only memory and static RAM. EBC 228 may be used to control external memory (not shown), as discussed in detail below. EBI/F 227 may be programmed to interface with plural external devices.
System 200 includes an interrupt controller (“IC”) 207 that can generate regular interrupts (IRQ 207A) or a fast interrupt (FIQ 207B) to MP 240. In one aspect of the present invention, IC 207 is an embedded system that can generate interrupts and arbitrates between plural interrupts.
System 200 includes a serial interface (“UART”) 201 that receives information via channel 203 and transmits information via channel 204.
System 200 includes registers 209 that include configuration, system control, clock and power management information.
System 200 also includes an address break point and history module (also referred to as “history module” or “history stack”) 234 that monitors activity on busses 236 and 208 and builds a history stack. Such history stack may be used for debugging, and monitoring plural components of system 200.
System 200 also includes a timer module 206 that controlled by MP 240 and includes various timers, for example, the “Watchdog timer”.
System 200 is provided with a general purpose input/output (“GPIO”) module 202 that allows GPIO access (shown as signal 205) to external modules (not shown).
System 200 is also provided with a digital signal processor (“DSP”) 232 that controls and monitors various servo functions through DSP interface module (“DSPIM”) 210 and servo controller interface 211 operationally coupled to a servo controller 216. DSP 232 interfaces with a memory module 212 via an interface 231 and with bus 233 via interface 229. DSP 232 also includes a tap controller 231a (similar to tap controller 242).
DSPIM 210 interfaces DSP 232 with MP 240 and updates a tightly coupled memory module (TCM) 212 (also referred to as “memory module” 212) via interface 230 with servo related information. MP 240 can access TCM 212 via DSPIM 210.
Servo controller interface (“SCI”) 211 includes an APB interface 214 that allows SCI 211 to interface with APB 208 and allows SC 216 to interface with MP 240. SCI 211 also includes DSPAHB interface 215 that allows access to DSPAHB bus 233. SCI 211 is also provided with a digital to analog/analog to digital converter (“ADCDAC”) 213 that converts data from analog to digital domain and vice-versa. Analog data 223 (converted from data 220) enters module 213 and leaves as data 222 to a servo drive 221.
SC 216 has a read channel device (RDC) interface 217, a spindle motor control (“SVC”) interface 219, a head integrated circuit(HDIC) interface 218 and servo data (“SVD”) interface 219A.
System 200 also includes a hard disk controller 101A that is similar to the HDC 101 and includes a code cache 101B. Disk controller 101A has a small computer system interface (“SCSI”)226, a buffer memory interface 225 and a read channel interface 224. Controller 101A can communicate with bus 236 via interface 101C.
In one aspect of the present invention, embedded processors (MP 240 and DSP 232) provide independent real time control, with one processor as the system control processor (MP 240) and the second processor (DSP 232) as a slave to the first for real time control of the disk servomechanism. DSP 232 as a slave also provides real time control for positioning a disk actuator. This includes analyzing error positioning data and outputting error correction data.
Dual processors also provide a real time overlap for processing host commands. For example, one processor may move the actuator while the other processor translates the LBA into physical information and queue host requests.
The dual processors also improve overall performance for the host. It also allows data recovery when ECC cannot correct data failures. Using unique data recovery algorithms and error recovery information data may be recovered if the ECC module 109 fails to dynamically correct the data.
Servo Controller Interface Module 211
In one aspect of the present invention, SCI 211 allows multiple processors, namely a main first processor (for example, MP 240) and a second processor (DSP 232), to access plural components in the embedded disk controller 200 without conflicts. SCI 211 also provides a “speed matching FIFO” 1206 (described below in detail with respect to
SCI 211 interfaces with SC 216 that may run at a different clock frequency, for example, 160 MHz or 200 MHz, through an asynchronous interface using a speed matching FIFO 1206 (may also be referred to as FIFO 1206) that may run at 160 MHz, described below. APB 208 accesses are transitioned from the 80 MHz clock domain to 160 MHz clock domain to access SC 216 through the Speed Matching FIFO 1206 that is clocked at a frequency of 160 MHz. Interface 215 is synchronous (160 MHz) with the speed Matching FIFO 1206. It is noteworthy that the foregoing frequencies are merely to illustrate the adaptive aspects of the present invention and not to limit the invention.
SCI 211 provides a mechanism for Processor 240 and DSP 232 to efficiently read and write registers in SC 216 without wait or any handshaking between SC 216 and processors 240 and 232. Processor 240 accesses SC 216 through APB 208, which uses 2 bus cycles (80 MHz). A write uses 2 bus cycles and a read 4 bus cycles. APB 208 read accesses use 2 additional wait cycles (2 bus cycles) to insure stable data at APB 208 read data register 1208. APB 208 write operations use 2 bus cycles. When there are conflicts between APB 208 write operation and DSP 232, then DSP 232 write operation is stalled for one DSP 232 clock allowing APB 208 to write an entry in FIFO 1206.
In one aspect, DSP 232 interfaces with SCI 211 through Interface 215 at 160 MHz. DSP 232 write operations use one clock cycle with no conflicts. DSP 232 read operation without any write conflicts use 2 DSP 232 clock cycles (1 wait cycle) to local SCI 211 registers. DSP 232 read accesses to SC 216 register use 3 DSP clock cycles. SCI 211 manages APB 208 write conflicts with DSP 232 write conflicts to insure that data is stable when clocked into registers.
Program control over SC 216 may be accomplished with transactions across APB 208 or through DSP AHB Interface 215. By performing writes to memory mapped registers 1209 system 200 firmware can initialize, configure and control the functionality of SC 216. DSP 232 can access SC 216 to control the disk servo mechanism for controlling positioning functions and spindle motor control functions.
SCI 211 provides at least the following interfaces that are described below with respect to
APB interface 214 for Processor 240; DSPAHB interface 214 for DSP 232; and ADCDAC 213 APB 208 Interface Signals:
All APB 208 signals are asserted and de-asserted at a certain frequency synchronous with PCLK (APB 208 clock). In one aspect PCLK may run at 80 Mhz.
DSPAHB Interface 215 Signals:
Interface 215 facilitates communication between SCI 211 and DSP 232 using DSP bus 233. All the signals are asserted and de-asserted synchronous with the low to high assertion of the DSP_HCLK (
APB Interface 214 provides an interface between APB 208 and SCI 211 and operates at a frequency (f1), where f1 may be 80 MHz. Interface 215 operates at frequency (f2), where f2 may be twice as f1. Both clocks are sourced from the same PLL allowing synchronization of APB 208 and DSP 232 transactions in Pipeline Control module 1203 that resolves any conflict between the transactions.
For APB 208 write transactions there are no wait states introduced by SCI 211. When there is a write conflict with DSP 232, pipeline control module 1203 holds the write access in DSPAHB interface 215 and de-asserts DSP_HREADY signal (described in
For APB 208 read transactions, SCI 211 accesses APB read data multiplexer 1202 (
Each time the DSP_HSELSCIM signal (described in
For read transactions, SCI 211 de-asserts the DSP_HREADYout signal 1203C (via pipeline control module 1203) causing DSP 232 to wait one clock cycle for local registers (See
When SCI 211 receives a read transaction from DSP 232, Pipeline Control module 1203 inserts 4 or 5 DSPAHB Bus 233 wait cycles (profile,
For a DSP 232 read transaction, SCI 211 accesses the DSPARM Read Data Mux 1201A (see
For a read access SC 216 deskews the asynchronous DSPRead signal 215A and takes a “snapshot” of the addressed register's contents by clocking it into the DSPSnapReg[31:00] 1201B (
In one aspect of the present invention, if SC 211 is running at 200 MHz there is 3.75 ns of propagation time from DSPSnapReg 1201B to SRVRDataReg 1207. At 160 MHz there is no propagation time from DSPSnapReg 1201B to SRVRDataReg 1207. Thus an additional DSP 232 wait cycle may be enabled by setting the EnAddDSPwt bit (SCICtrlReg[08]) in SCI 211 Control Register.
When there are no conflicts between APB 208 and DSP 232, write transactions have no wait cycles. These write transactions are loaded into the Speed Matching Write FIFO 1206, which deskews these transactions between the SCI 211 clock domain (160 MHz) and SC 216 clock domain (160 MHz or 200 MHz).
For read transactions, Pipeline Control module 1203 manages conflicts between write transactions and inserts wait state clock cycles for read transactions. Pipeline Control module 1203 does not insure indivisible read/update/write operations at the register level. To ensure indivisible read/update/write operations a semaphore is used with an agreed upon procedure between Processor 240 and DSP 232, as discussed below.
Pipeline Control module 1203 does not insure that a DSP 232 read following a write will get the data written by the write because writes are pipelined through the Speed Matching Write FIFO 1206, while read accesses are through multiplexer (“Mux”) 1201A directly. To insure that a read following a write will get the data from the write, DSP 232 waits 4 DSP_HCLK cycles after the write before reading the same register.
In addition, APB 208 may issue a write access to the same register being read by DSP 232, which may cause unexpected results. To insure exclusive access to a register, ownership of a hardware interlock semaphore is used that is described below.
The first write to the APB Bridge 235 does not cause any waits on the AHB 236. Back-to-Back writes cause 1 wait on AHB 236 for each write transaction. DSPAHB Bus 233 wait cycle is introduced when there is a conflict between APB 208 and DSPAHB Bus 233 transaction. Additional waits on APB 208 cause 2 additional waits on AHB Bus 236. A read from AHB Bus 236 to APB 208 takes 3 AHB Bus cycle.
Since SC 216 is clocked (SRVCLK) at 160 MHz or 200 MHz it makes transactions between SCI 211 and SC 216 asynchronous. Synchronization of memory mapped register (1209) write transactions are handled by the Speed Matching Write FIFO 1206, which is clocked at a frequency of 160 MHz.
Signals from APB 208 (PWDATA and PADDR) and DSP 232 (SRVDSPWdataReg and SRVDSPAdrReg) (via APB Interface 214 and DSP Interface 215) are received via a Mux 1217. A write control module 1213 controls which processor (processor 240 or DSP 232) writes to registers 1209. Counter 1214 maintains register count and a decoder 1212 generates FIFO 1206 address for various entries.
Signals 1221-1224 enables FIFO module 1206 to select a register and using logic 1225-1228 generates a FIFO valid signal (for example, FIFOVld0Reg for register 1206D, FIFOVld1Reg for 1206C, FIFOVld2Reg for 1206B and FIFOVld3Reg for Register 1206A that is also described in
Pipelined writes may occur at 160 MHz (1 per clock cycle) and may be based on the following rules:
Logic 1206F in FIFO 1206 operates at frequency 160 MHz and logic 1206G that operates at 200 MHz. FIFO 1206 synchronizes write data to SC 216 clock domain.
FIFO 1206 also includes a “busy”, circuit 1206E, which provides the signal WrtFIFOBsy 1219A, which may be observed by reading the WrtFIFOBsy bit, in the SCIARMStatusReg (Processor 240 status register) or the SCIDSPStatusReg (DSP 232 status register).
Decoder 1211 selects one of the registers 1206A-1206D values to write to register 1209.
Register Map
SCI 211 has an APB 208 and DSP 232 address map. The base address of SCI 211 is specified in the APB Bridge 235 for Processor 240. When PSELSRVCTRL signal (described in
In one aspect of the present invention, SCI 211 and SC 216 memory mapped register addresses are all naturally aligned word addresses, thus bits PADDR[1:0] are always expected to be zero by SCI 211.
All DSPAHB Bus 233 addresses (DSP_HADDR[31:00]) (described in
Through DSPAHB Bus 233, DSP 232 can address all of the 32 bit registers (and memories) that Processor 240 can address through APB 208. Typically Processor 240 initializes SC 216 by loading three serial line program memories. The offsets for each processor are identical relative to the assigned base within the each address space.
SCI 211 resolves conflicts between the two processors. However once SC 216 is initialized typically DSP 232 controls the movement functions and the spindle motor speed control of the Disk Servo Mechanism and Processor 240 rarely accesses the Sc 216 except for system level functions.
In one example, SCI 211 and SC 216 are assigned 4 KB (1024 32 bit registers) (32 bits) address space in the DSPARM BUS 233 address space, as shown in
APB 208 Address Exceptions
An access to a reserved or undefined memory mapped address results in SCI 211 asserting the PADREXCPT signal (described in
As a “word aligned” peripheral, SCI 211, examines PADDR[01:00] for zero. If these two bits are nonzero, SCI 211 treats the access like an “address exception” and asserts the PADREXCPT signal to APB Bridge 235. The contents of the memory mapped register set in SCI 211 or SC 216 is not altered when an “address exception” is detected.
If PADDR[11:08]=0 (local register access) SCI 211 examines bits PADDR[07:02] for valid addresses. Any invalid address results in the declaration of an “address exception” by SCI 211 asserting the PADREXCPT signal for one PCLK clock cycle (described in
If PADDR[11:08]=non-zero (external access) then SCI 211 declares a valid address for SC 216. SC 216 examines PADDR[07:02] for an invalid address (undefined or reserved addresses). If an invalid address is detected, SC 216 returns one of two signals, APBRAExcpt (described in FIG. 11)(for a read access) or APBWAExcpt (described in
If Processor 240 attempts a write access to any register other than the SCIARMStatusReg or the SCISemaphoreReg (described in
The detection of any of the conditions listed above will result in the generation of an “address exception”. SCI 211 only sets the SCIARMAdrExcpt bit (described in
DSPAHB 233 Address Exceptions
SCI 211 examines DSP_HADDR[25:00] (described in
An access to an undefined “read” address in SC 216 will cause SCI 211 to assert the SRVCTRLDSPINT signal, set the DSPARM Address Exception bit in the SCIStatusReg and return all zeroes on DSP_HRDATA[31:00] to DSP 232.
The detection of any one of the following conditions by SCI 211 and SC 216 will result in an address exception condition:
If DSP_HADDR[25:12] values are non-zero, then SCI 211 declares an “address exception” and a two cycle Error Response is returned to DSP 232. [0151] If the access is a write (DSP_HWRITE=1 (described in FIG. 5A)), then SCI 211 examines the DSP_HSIZE[1:0] (described in
For read accesses, SCI 211 ignores the value contained in the DSP_HSIZE field with the exception of a value of 11b and returns the full contents of the 32 register accessed on the DSP_HRDATA[31:00]. If the DSP_HSIZE[1:0]=11b, then SCI 211 declares an “address exception” and returns a two cycle Error Response to DSP 232. DSP 232 determines the byte, halfword or word of interest within the 32 bits of read data.
If DSP_HADDR[25:08]=0 (local register access), SCI 211 examines bits DSP_HADDR[07:00] for valid addresses. Any invalid address results in the declaration of an “address exception” and a two cycle Error Response is returned to DSP 232.
If DSP_HADDR[25:12]=0 & DSP_HADDR[11:08]=non-zero (external access), then the SCI 211 declares a valid address for SC 216. SC 216 examines DSP_HADDR[11:02] (internally SRVDSPIfAdrReg[11:00](described in
If DSP 232 attempts a write access to any register other than the SCIDSPStatusReg or the SCISemaphoreReg while Processor 240 owns the hardware interlock semaphore, an “address exception” will be declared. SCI 211 will set the SCIDSPSmphCflt bit in the SCIDSPStatusReg and return a two cycle Error Response to the DSP 232.
If DSP 232 attempts to a write access to any Memory Mapped register in SCI 211 or SC 216 without the DSPARM Interface 215 being enabled (EnDSPIntfc, SCICtrlReg[00]), an address exception occurs. The only register the DSP 232 may write without the interface being enabled is the SCIDSPStatusReg.
Status Registers
SCI 211 Semaphore Register
ELSE semaphore owned by the other processor.
SCISemaphoreReg is a. “write one to clear” register. When DSP 232(via DSPAHB Bus 233) or Processor 240 (via APB 208) writes this register only the bits that have ones in their respective bit positions of the write data (PWDATA[31:00] (described in
Any write violation by Processor 240, when DSP 232 owns the hardware interlock semaphore will result in SCI 211 asserting the PADREXCPT signal (described in
Any write violation by DSP 232, when Processor 240 owns the hardware interlock semaphore will result in SCI 211 returning a two cycle Error Response to DSP 232 and setting the SCIDSPSmphCflt bit in the SCIDSPStatusReg. When Processor 240 owns the hardware interlock semaphore, DSP 232 may read any register without any violation. DSP 232 may only write SCISemaphoreReg and the SCIDSPStatusReg while the Processor 240 owns the hardware interlock semaphore.
One Memory Mapped address points to the SCISemaphoreReg as a logical register, even though it is actually made up of two physical registers (see
Logic 2601 handles processor 240 sides, while logic 2602 handles DSP 232 side. Gates 2603 and 2604 receive signals DSPIMAPBWrTReg and PWData respectively. Gate 2605 receives inputs from 2603 and 2604 and an output is sent to register 2606. The same process works for logic 2602 with gates 2607, 2608, 2609 and register 2610 using signals DSPAHBPndWrtReg and DSPAHBWDataReg.
Other Registers
SCI 211 Control register:
Although the present invention has been described with reference to specific embodiments, these embodiments are illustrative only and not limiting. Many other applications and embodiments of the present invention will be apparent in light of this disclosure and the following claims.
This patent application claims priority under 35 USC §119(e) to provisional patent application, Ser. No. 60/453,241, filed on Mar. 10, 2003, incorporated herein by reference in it's entirety. This patent application is also related to the following U.S. patent applications filed on Mar. 10, 2003, assigned to the same assignee, incorporated herein by reference in their entirety: “METHOD AND SYSTEM FOR SUPPORTING MULTIPLE EXTERNAL SERIAL PORT DEVICES USING A SERIAL PORT CONTROLLER IN AN EMBEDDED DISK CONTROLLER”, Ser. No. 10/385,039, with MICHAEL R. SPAUR AND IHN KIM as inventors;“METHOD AND SYSTEM FOR AUTOMATIC TIME BASE ADJUSTMENT FOR DISK DRIVE SERVO CONTROLLERS”, Ser. No. 10,384,992, with MICHAEL R. SPAUR AND RAYMOND A. SANDOVAL as inventors;“METHOD AND SYSTEM FOR USING AN EXTERNAL BUS CONTROLLER IN EMBEDDED DISK CONTROLLERS” Ser. No. 10,385,056, with GARY R. ROBECK, LARRY L. BYERS, JOSEBA M. DESUBIJANA, and FREDARICO E. DUTTON as inventors.“METHOD AND SYSTEM FOR USING AN INTERRUPT CONTROLLER IN EMBEDDED DISK CONTROLLERS”, Ser. No. 10/384,991, with DAVID M. PURDHAM, LARRY L. BYERS and ANDREW ARTZ as inventors.“METHOD AND SYSTEM FOR MONITORING EMBEDDED DISK CONTROLLER COMPONENTS”, Ser. No. 10/385,042, with LARRY L. BYERS, JOSEBA M. DESUBIJANA, GARY R. ROBECK, and WILLIAM W. DENNIN as inventors.“METHOD AND SYSTEM FOR COLLECTING SERVO FIELD DATA FROM PROGRAMMABLE DEVICES IN EMBEDDED DISK CONTROLLERS”, Ser. No. 10/385,405, with MICHAEL R. SPAUR AND RAYMOND A. SANDOVAL as inventors.“METHOD AND SYSTEM FOR EMBEDDED DISK CONTROLLERS”, Ser. No. 10/385,022 with Larry L. Byers, Paul B. Ricci, Joseph G. Kriscunas, Joseba M. Desubijana, Gary R. Robeck, David M. Purdham and Michael R. Spaur as inventors.
Number | Name | Date | Kind |
---|---|---|---|
3800281 | Devore et al. | Mar 1974 | A |
3988716 | Fletcher et al. | Oct 1976 | A |
4001883 | Strout et al. | Jan 1977 | A |
4016368 | Apple, Jr. | Apr 1977 | A |
4050097 | Miu et al. | Sep 1977 | A |
4080649 | Calle et al. | Mar 1978 | A |
4144583 | Lawson et al. | Mar 1979 | A |
4156867 | Bench et al. | May 1979 | A |
4225960 | Masters | Sep 1980 | A |
4275457 | Leighou et al. | Jun 1981 | A |
4390969 | Hayes | Jun 1983 | A |
4451898 | Palermo et al. | May 1984 | A |
4486750 | Aoki | Dec 1984 | A |
4486827 | Shima et al. | Dec 1984 | A |
4500926 | Yoshimaru et al. | Feb 1985 | A |
4587609 | Boudreau et al. | May 1986 | A |
4603382 | Cole | Jul 1986 | A |
4625321 | Pechar et al. | Nov 1986 | A |
4667286 | Young et al. | May 1987 | A |
4777635 | Glover | Oct 1988 | A |
4805046 | Kuroki et al. | Feb 1989 | A |
4807116 | Katzman et al. | Feb 1989 | A |
4807253 | Hagenauer et al. | Feb 1989 | A |
4809091 | Miyazawa et al. | Feb 1989 | A |
4811282 | Masina | Mar 1989 | A |
4812769 | Agoston | Mar 1989 | A |
4860333 | Bitzinger et al. | Aug 1989 | A |
4866606 | Kopetz | Sep 1989 | A |
4881232 | Sako et al. | Nov 1989 | A |
4920535 | Watanabe et al. | Apr 1990 | A |
4949342 | Shimbo et al. | Aug 1990 | A |
4970418 | Masterson | Nov 1990 | A |
4972417 | Sako et al. | Nov 1990 | A |
4975915 | Sako et al. | Dec 1990 | A |
4989190 | Kuroe et al. | Jan 1991 | A |
5014186 | Chisholm | May 1991 | A |
5023612 | Liu | Jun 1991 | A |
5027357 | Yu et al. | Jun 1991 | A |
5050013 | Holsinger | Sep 1991 | A |
5051998 | Murai et al. | Sep 1991 | A |
5068755 | Hamilton et al. | Nov 1991 | A |
5068857 | Yoshida | Nov 1991 | A |
5072420 | Conley et al. | Dec 1991 | A |
5088093 | Storch et al. | Feb 1992 | A |
5109500 | Iseki et al. | Apr 1992 | A |
5117442 | Hall | May 1992 | A |
5127098 | Rosenthal et al. | Jun 1992 | A |
5133062 | Joshi et al. | Jul 1992 | A |
5136592 | Weng | Aug 1992 | A |
5146585 | Smith, III | Sep 1992 | A |
5157669 | Yu et al. | Oct 1992 | A |
5162954 | Miller et al. | Nov 1992 | A |
5179704 | Jibbe et al. | Jan 1993 | A |
5193197 | Thacker | Mar 1993 | A |
5204859 | Paesler et al. | Apr 1993 | A |
5218564 | Haines et al. | Jun 1993 | A |
5220569 | Hartness | Jun 1993 | A |
5237593 | Fisher et al. | Aug 1993 | A |
5243471 | Shinn | Sep 1993 | A |
5249271 | Hopkinson | Sep 1993 | A |
5257143 | Zangenehpour | Oct 1993 | A |
5261081 | White et al. | Nov 1993 | A |
5271018 | Chan | Dec 1993 | A |
5274509 | Buch | Dec 1993 | A |
5276564 | Hessing et al. | Jan 1994 | A |
5276662 | Shaver, Jr. et al. | Jan 1994 | A |
5276807 | Kodama et al. | Jan 1994 | A |
5280488 | Glover et al. | Jan 1994 | A |
5285327 | Hetzler | Feb 1994 | A |
5285451 | Henson et al. | Feb 1994 | A |
5301333 | Lee | Apr 1994 | A |
5307216 | Cook et al. | Apr 1994 | A |
5315456 | Hessing et al. | May 1994 | A |
5315708 | Eidler et al. | May 1994 | A |
5317713 | Glassburn | May 1994 | A |
5329630 | Baldwin | Jul 1994 | A |
5339443 | Lockwood | Aug 1994 | A |
5349667 | Kaneko | Sep 1994 | A |
5361266 | Kodama et al. | Nov 1994 | A |
5361267 | Godiwala et al. | Nov 1994 | A |
5375248 | Lemay et al. | Dec 1994 | A |
5408644 | Schneider et al. | Apr 1995 | A |
5408673 | Childers et al. | Apr 1995 | A |
5420984 | Good et al. | May 1995 | A |
5428627 | Gupta | Jun 1995 | A |
5440751 | Santeler et al. | Aug 1995 | A |
5465343 | Henson et al. | Nov 1995 | A |
5487170 | Bass et al. | Jan 1996 | A |
5488688 | Gonzales et al. | Jan 1996 | A |
5491701 | Zook | Feb 1996 | A |
5500848 | Best et al. | Mar 1996 | A |
5506989 | Boldt et al. | Apr 1996 | A |
5507005 | Kojima et al. | Apr 1996 | A |
5519837 | Tran | May 1996 | A |
5523903 | Hetzler et al. | Jun 1996 | A |
5544180 | Gupta | Aug 1996 | A |
5544346 | Amini | Aug 1996 | A |
5546545 | Rich | Aug 1996 | A |
5546548 | Chen et al. | Aug 1996 | A |
5557764 | Stewart et al. | Sep 1996 | A |
5563896 | Nakaguchi | Oct 1996 | A |
5568606 | Dobbek | Oct 1996 | A |
5572148 | Lytle et al. | Nov 1996 | A |
5574867 | Khaira | Nov 1996 | A |
5581715 | Verinsky et al. | Dec 1996 | A |
5583999 | Sato et al. | Dec 1996 | A |
5590380 | Yamada et al. | Dec 1996 | A |
5592404 | Zook | Jan 1997 | A |
5600662 | Zook et al. | Feb 1997 | A |
5602857 | Zook et al. | Feb 1997 | A |
5603035 | Erramoun et al. | Feb 1997 | A |
5615190 | Best et al. | Mar 1997 | A |
5623672 | Popat | Apr 1997 | A |
5627695 | Prins et al. | May 1997 | A |
5629949 | Zook | May 1997 | A |
5640602 | Takase | Jun 1997 | A |
5649230 | Lentz | Jul 1997 | A |
5659759 | Yamada | Aug 1997 | A |
5664121 | Cerauskis | Sep 1997 | A |
5689656 | Baden et al. | Nov 1997 | A |
5691994 | Acosta et al. | Nov 1997 | A |
5692135 | Alvarez, II et al. | Nov 1997 | A |
5692165 | Jeddeloh et al. | Nov 1997 | A |
5692516 | Kaneko et al. | Dec 1997 | A |
5719516 | Sharpe-Geisler | Feb 1998 | A |
5729511 | Schell et al. | Mar 1998 | A |
5729718 | Au | Mar 1998 | A |
5734848 | Gates et al. | Mar 1998 | A |
5740466 | Geldman | Apr 1998 | A |
5745793 | Atsatt et al. | Apr 1998 | A |
5754759 | Clarke et al. | May 1998 | A |
5758188 | Appelbaum et al. | May 1998 | A |
5768044 | Hetzler et al. | Jun 1998 | A |
5784569 | Miller et al. | Jul 1998 | A |
5787483 | Jam et al. | Jul 1998 | A |
5794073 | Ramakrishnan et al. | Aug 1998 | A |
5801998 | Choi | Sep 1998 | A |
5805370 | Lee | Sep 1998 | A |
5818886 | Castle | Oct 1998 | A |
5822142 | Hicken | Oct 1998 | A |
5826093 | Assouad et al. | Oct 1998 | A |
5831922 | Choi | Nov 1998 | A |
5835299 | Lee et al. | Nov 1998 | A |
5835930 | Dobbek | Nov 1998 | A |
5841722 | Willenz | Nov 1998 | A |
5844844 | Bauer et al. | Dec 1998 | A |
5850422 | Chen | Dec 1998 | A |
5854918 | Baxter | Dec 1998 | A |
5890207 | Sne et al. | Mar 1999 | A |
5890210 | Ishii et al. | Mar 1999 | A |
5907717 | Ellis | May 1999 | A |
5912906 | Wu et al. | Jun 1999 | A |
5925135 | Trieu et al. | Jul 1999 | A |
5928367 | Nelson et al. | Jul 1999 | A |
5937435 | Dobbek et al. | Aug 1999 | A |
5950223 | Chiang et al. | Sep 1999 | A |
5968180 | Baco | Oct 1999 | A |
5983293 | Murakami | Nov 1999 | A |
5991911 | Zook | Nov 1999 | A |
6021458 | Jayakumar et al. | Feb 2000 | A |
6029226 | Ellis et al. | Feb 2000 | A |
6029250 | Keeth | Feb 2000 | A |
6041417 | Hammond et al. | Mar 2000 | A |
6065053 | Nouri et al. | May 2000 | A |
6067206 | Hull et al. | May 2000 | A |
6070200 | Gates et al. | May 2000 | A |
6078447 | Sim | Jun 2000 | A |
6081397 | Belser | Jun 2000 | A |
6081849 | Born et al. | Jun 2000 | A |
6081867 | Cox | Jun 2000 | A |
6092231 | Sze | Jul 2000 | A |
6094320 | Ahn | Jul 2000 | A |
6105119 | Kerr et al. | Aug 2000 | A |
6108150 | Lee | Aug 2000 | A |
6115778 | Miyake et al. | Sep 2000 | A |
6124994 | Malone, Sr. | Sep 2000 | A |
6128153 | Hasegawa et al. | Oct 2000 | A |
6134063 | Weston-Lewis et al. | Oct 2000 | A |
6134676 | VanHuben et al. | Oct 2000 | A |
6157984 | Fisher | Dec 2000 | A |
6178486 | Gill et al. | Jan 2001 | B1 |
6192499 | Yang | Feb 2001 | B1 |
6201655 | Watanabe et al. | Mar 2001 | B1 |
6223303 | Billings et al. | Apr 2001 | B1 |
6279089 | Schibilla et al. | Aug 2001 | B1 |
6285632 | Ueki | Sep 2001 | B1 |
6297926 | Ahn | Oct 2001 | B1 |
6314480 | Nemazie et al. | Nov 2001 | B1 |
6330626 | Dennin et al. | Dec 2001 | B1 |
6381659 | Proch et al. | Apr 2002 | B2 |
6401149 | Dennin et al. | Jun 2002 | B1 |
6401154 | Chiu et al. | Jun 2002 | B1 |
6421760 | McDonald et al. | Jul 2002 | B1 |
6467006 | Alexander et al. | Oct 2002 | B1 |
6470461 | Pinvidic et al. | Oct 2002 | B1 |
6487631 | Dickinson et al. | Nov 2002 | B2 |
6490635 | Holmes | Dec 2002 | B1 |
6493171 | Enokida et al. | Dec 2002 | B2 |
6496517 | Gehman et al. | Dec 2002 | B1 |
6515813 | Kitazaki et al. | Feb 2003 | B2 |
6530000 | Krantz et al. | Mar 2003 | B1 |
6574676 | Megiddo | Jun 2003 | B1 |
6574699 | Dobbek | Jun 2003 | B1 |
6583943 | Malone | Jun 2003 | B2 |
6594721 | Sakarda et al. | Jul 2003 | B1 |
6618780 | Popat | Sep 2003 | B1 |
6629204 | Tanaka et al. | Sep 2003 | B2 |
6651126 | Cantrell et al. | Nov 2003 | B1 |
6662253 | Gary et al. | Dec 2003 | B1 |
6662313 | Swanson et al. | Dec 2003 | B1 |
6662334 | Stenfort | Dec 2003 | B1 |
6693462 | Wang et al. | Feb 2004 | B1 |
6694398 | Zhao et al. | Feb 2004 | B1 |
6711643 | Park et al. | Mar 2004 | B2 |
6714373 | Sasaki | Mar 2004 | B1 |
6721828 | Verinsky et al. | Apr 2004 | B2 |
6725293 | Nakayama et al. | Apr 2004 | B1 |
6728054 | Chng et al. | Apr 2004 | B2 |
6728814 | Leinen | Apr 2004 | B2 |
6742060 | Poisner et al. | May 2004 | B2 |
6742065 | Suh | May 2004 | B1 |
6745274 | Snyder et al. | Jun 2004 | B1 |
6765736 | Ko et al. | Jul 2004 | B2 |
6765744 | Gomez et al. | Jul 2004 | B2 |
6772258 | Poisner et al. | Aug 2004 | B2 |
6807595 | Khan et al. | Oct 2004 | B2 |
6826650 | Krantz et al. | Nov 2004 | B1 |
6880030 | Brenner et al. | Apr 2005 | B2 |
6895500 | Rothberg | May 2005 | B1 |
6917997 | Bhagat | Jul 2005 | B2 |
6924953 | Fish et al. | Aug 2005 | B2 |
6944703 | Okaue et al. | Sep 2005 | B2 |
6947233 | Toda | Sep 2005 | B2 |
6950258 | Takaishi | Sep 2005 | B2 |
6952749 | Kim | Oct 2005 | B2 |
6963462 | Satoh | Nov 2005 | B2 |
7039771 | Spaur et al. | May 2006 | B1 |
7064915 | Spaur et al. | Jun 2006 | B1 |
7080188 | Byers et al. | Jul 2006 | B2 |
7099963 | Byers et al. | Aug 2006 | B2 |
7174401 | Stuber et al. | Feb 2007 | B2 |
7219182 | Byers et al. | May 2007 | B2 |
20010043424 | Nguyen | Nov 2001 | A1 |
20010044873 | Wilson et al. | Nov 2001 | A1 |
20020065994 | Henson et al. | May 2002 | A1 |
20020080698 | Turner et al. | Jun 2002 | A1 |
20020087773 | Poisner et al. | Jul 2002 | A1 |
20020087931 | Jaber | Jul 2002 | A1 |
20020120815 | Zahavi et al. | Aug 2002 | A1 |
20020124132 | Haines et al. | Sep 2002 | A1 |
20020149868 | Nakasato | Oct 2002 | A1 |
20020184453 | Hughes et al. | Dec 2002 | A1 |
20020199076 | Fujii | Dec 2002 | A1 |
20030037225 | Deng et al. | Feb 2003 | A1 |
20030070030 | Smith et al. | Apr 2003 | A1 |
20030081479 | Matsumoto et al. | May 2003 | A1 |
20030084269 | Drysdale et al. | May 2003 | A1 |
20030107834 | Fish et al. | Jun 2003 | A1 |
20030117909 | Kawano | Jun 2003 | A1 |
20030204655 | Schmisseur et al. | Oct 2003 | A1 |
20040019831 | Gergen et al. | Jan 2004 | A1 |
20040093538 | Hester et al. | May 2004 | A1 |
20040199695 | Purdham et al. | Oct 2004 | A1 |
20040221133 | Ward et al. | Nov 2004 | A1 |
20060129704 | Byers et al. | Jun 2006 | A1 |
20070226392 | Byers et al. | Sep 2007 | A1 |
Number | Date | Country |
---|---|---|
0528273 | Feb 1993 | EP |
0622726 | Nov 1994 | EP |
0718827 | Jun 1996 | EP |
2285166 | Jun 1995 | GB |
63-292462 | Nov 1988 | JP |
01-315071 | Dec 1989 | JP |
03183067 | Aug 1991 | JP |
9814861 | Apr 1998 | WO |
WO 2004081738 | Sep 2004 | WO |
Number | Date | Country | |
---|---|---|---|
20040193743 A1 | Sep 2004 | US |
Number | Date | Country | |
---|---|---|---|
60453241 | Mar 2003 | US |