Error handling of storage device data in real time systems
AssigneeTexas Instruments Incorporated
InventorsYusuke Minagawa, Satoru Yamauchi
Life of this patent
Estimating the term…
Abstract
A storage device performs error correction for all data read from media. Correctly read data or data that is corrected following the reading is transferred to a host for use. If the error correction fails, the storage device transfers a unique error code. The host distinguishes the received data between normal one and unique one. The normal data flows into main data handling routine and the unique code flows into error data handling routine. The processed results of both data are stored into system memory area in the host. The host controls the read out schedule and response to the unique code. This method can prevent the host breakdown from data trouble in the external storage device.
Claims26
A storage device comprising:
- a media reader for reading data stored on media;
- an error correction circuit connected to said media reader for detecting and attempting to correct errors in data read from said media, said error correction circuit having a first output for said corrected data and a second output indicating whether said error correction succeeded or failed;
- a unique code circuit generating a unique code differing from all corrected data;
- and
- a switch having a first input receiving said corrected data output from said error correction circuit, a second input connected to said unique code circuit receiving said unique code, a control input receiving said second output of said error correction circuit and an output, said switch coupling said first input to said output if said control input indicates said error correction succeeded and coupling said second input to said output if said control input indicated said error correction failed.
A data processing apparatus comprising:
- an input receiving data consisting of one of data for processing or a unique code differing from all correct data and indicating failure of error correction;
- a data utilization device having a data input and capable of utilizing data received at said data input;
- a unique code detector connected to said input and receiving said data, and connected to said input of said data utilization device, said unique code detector
- detecting receipt of said unique code at said input,
- supplying data received at said input to said input of said data utilization device in the absence of detection of said unique code at said input, and
- not supplying data received at said input to said input of said data utilization device upon detection of said unique code at said input.
An apparatus comprising:
- a media reader for reading data stored on media;
- an error correction circuit connected to said media reader for detecting and attempting to correct errors in data read from said media, said error correction circuit having a first output for said corrected data and a second output indicating whether said error correction succeeded or failed;
- a unique code circuit generating a unique code differing from all corrected data;
- a switch having a first input receiving said corrected data output from said error correction circuit, a second input connected to said unique code circuit receiving said unique code, a control input receiving said second output of said error correction circuit and an output, said switch coupling said first input to said output if said control input indicates said error correction succeeded and coupling said second input to said output if said control input indicated said error correction failed;
- a data utilization device having a data input and capable of utilizing data received at said data input;
- a unique code detector connected to said output of said switch and receiving said data, and connected to said input of said data utilization device, said unique code detector
- detecting receipt of said unique code at said input,
- supplying data received at said input to said input of said data utilization device in the absence of detection of said unique code at said input, and
- not supplying data received at said input to said input of said data utilization device upon detection of said unique code at said input.
A method comprising the steps of:
- reading data stored on media;
- detecting and attempting to correct errors in data read from said media, outputting said corrected data and indicating whether said error correction succeeded or failed;
- generating a unique code differing from all corrected data;
- and
- transmitting via an output bus said corrected data if said error correction succeeded and transmitting via said output bus said unique code if said error correction failed.
A method comprising the steps of:
- receiving data consisting of one of data for processing or a unique code differing from all correct data and indicating failure of error correction at an input;
- detecting receipt of said unique code at said input;
- utilizing received data received in the absence of detection of said unique code at said input;
- and
- not utilizing received data received upon detection of said unique code at said input.
A method comprising the steps of:
- reading data stored on media;
- detecting and attempting to correct errors in data read from said media, outputting said corrected data and indicating whether said error correction succeeded or failed;
- generating a unique code differing from all corrected data stored;
- transmitting via an output bus said corrected data if said error correction succeeded and transmitting via said output bus said unique code if said error correction failed;
- receiving said transmitted data via said output bus consisting of one of data for processing or a unique code indicating failure of error correction;
- detecting receipt of said unique code in said selected data;
- utilizing received data received in the absence of detection of said unique code at said input;
- and
- not utilizing received data received upon detection of said unique code at said input.
Dependencies are inferred from the claim text.