Automatic update of code from tape cartridge

Abstract: A system detects a pattern of holes in a magnetic medium for determining a characteristic of the tape, such as the type of data contained on the tape. A memory device, such as a FLASH memory, is automatically updated when a predetermined pattern is detected. The updating is performed using a read operation without the need for a host system.

Description: BACKGROUND OF THE INVENTION The invention relates to a system for downloading micro code to a memory device, particularly FLASH memory. In high speed magnetic tape reading and writing units ("tape streamers"), code has previously been stored in memory, typically an EPROM, PROM or ROM. Each of these memory devices are well known in the art. New devices, however, are changing from these conventional memory devices to devices using FLASH memory. The primary advantage of using FLASH memory is the easy upgrade necessary to change the prior micro code to the new code. The new code can be loaded into the FLASH memory through several different paths. A natural path would be to read a file into the FLASH memory. This, however, requires the use of a read command from a host system. A problem occurs when a customer first believes data is to be read onto a standard data cartridge and tape drive, and then believes this same data is code data for its FLASH memory. The data is then incorrectly transferred from the tape to the FLASH memory. To enable upgrade of large inventories of streamers with new codes, it would be desirable if it would be sufficient to apply power only to the drive and insert the cartridge containing the upgrade code. This would mean, however, that the drive would have to undertake a check read of each inserted cartridge to check for the possibility of that cartridge containing an upgrade code. This process is time-consuming, as well as repetitive, when data is being read when it is not required. It is a further problem in this technology that tapes begin their code with some special data pattern indicating to the tape drive that this code is to be read into its memory. The problem arises on a data cartridge in which the initial code contains the same pattern for transferring the code to the memory. The tape drive will automatically begin the transfer of data once the pattern is detected. The EP-A 0 347 074 discloses a magnetic tape cartridge identification system that enables identification of the end of the tape and of the cartridge tape or tape type by sensing hole patterns that are provided on the tape. The aim of such system is to provide information on a tape that is different from magnetic data and therefore independent of the magnetic data format. However, the provision of perforation patterns in order to solve the above mentioned problems has not been suggested. SUMMARY OF THE INVENTION It is, therefore, an object of the invention to provide a system for reading a code from a tape to a memory device. It is a further object of the invention to provide a system for reading a code from the tape to the memory device without a required read command from a host system. It is a further object of the invention to provide a recognition of the tape to signify that the code following is to be read into the memory device. The system is specified as indicated in claim 1. It eliminates the problem of erroneously reading and storing data by first determining whether the tape is encoded with data having a predetermined characteristic. A perforation pattem at the beginning of the magnetic medium, preceding the data on the magnetic medium, is sensed to identify the presence of the characteristic on the magnetic medium. If the pattem identifies the magnetic medium as containing encoded data to be read, then the data may be transferred. If the pattern identifies the data on the magnetic medium as some other type of data, the data is not erroneously transferred and, therefore, does not require storage, transfer or additional reading time. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a tape cartridge and tape as used in the present invention. Figure 2 shows a pattern of identification holes on a tape as used in the present invention. Figure 3 shows the apparatus of the invention for reading code from a tape onto a memory device. DESCRIPTION OF THE PREFERRED EMBODIMENTS Figure 1 shows a tape cartridge 10 as is well known in the art with a magnetic tape 12 containing update data. The tape 12 as shown in Figure 2 is manufactured with a series of small holes at each end of the tape 12 to enable the tape drive to stop recording and to stop tape travel before the tape 12 runs off the hubs 14 as shown in Figure 1. The sets of holes 16-1, 16-2, 16-3 and 16-4 as shown in Figure 2 are a part of 1/4-inch cartridges at the beginning of the tape 12 to designate different attributes of the tape 12, such as the type of tape or the length of the tape. The present invention defines a series of holes which form a pattern 18 as shown in Figure 2. The pattern 18 consists of six tape identification holes with upper or lower positions on the tape 12. Therefore, 64 different codes are possible from the combinations of holes which form pattern 18. One of these patterns 18 is reserved for identifying a FLASH update function such that the pattern 18 is recognized during the loading of the tape 12. When the pattern 18 is detected, an automatic read process is started, and automatic updating of the FLASH memory is implemented. This unique pattern 18 is only used for tapes containing code to be downloaded into a FLASH memory 24 of a tape drive 34 as shown in Figure 3. Therefore, it is not possible to mix a tape cartridge loaded with normal data with a tape cartridge containing FLASH memory code data. The two cartridges themselves will be physically different in that the tapes will contain different hole patterns 18. Figure 3 shows the tape 12 with a tape hole sensor 20, such as an optical sensor system which emits light directed to the tape 12 and senses holes in the tape 12 when the emitted light passes through the holes in the tape 12. The position of the holes on the tape 12 enables the drive 34 to distinguish between the beginning and the end of the tape 12. The drive 34 may also detect different tape types based on the pattern 18. When the FLASH update pattern is detected, the tape drive 34 itself detects that a tape 12 containing FLASH update data is installed. The actual reading of the tape 12 will, therefore, only occur if the pattern 18 is detected. Figure 3 shows how the apparatus of the invention is interconnected to first detect holes in the tape 12 using the sensor 20 wherein a microprocessor 22 determines when code data is to be transferred to FLASH memory 24 of the drive 34. The microprocessor 22 determines that the FLASH memory 24 is to be updated when the pattern 18 as shown in Figure 2 is detected by the sensor 20. When this occurs, code data is loaded from the tape 12 via a read head 26, a read channel 28 and a data buffer 30 to the FLASH memory 24. In order to achieve the above detection, it is necessary only to supply power from the power supply 32, with no other special steps, once a cartridge is present in the drive 34. Requiring the tape 12 to have a unique hole pattern 18 indicating the tape 12 is a FLASH update tape provides an additional layer of protection since it requires the tape 12 itself, rather than the code data, to contain the special pattern 18. This allows for actual reading to occur only when the special pattern 18 is detected. Although Figure 2 illustrates a specific pattern 18, it is understood that any sequence of holes in any combination of upper and lower positions may represent any predetermined characteristic of the tape 12. Although various minor changes and modifications might be proposed by those skilled in the art, it will be understood that i wish to include within the claims of the patent warranted hereon all such changes and modifications as reasonably come within my contribution to the art. The features disclosed in the foregoing description, in the claims and/or in the accompanying drawings may, both, separately and in any combination thereof, be material for realising the invention in diverse forms thereof.

Claims: A data identification system for use in a magnetic medium drive (34) containing a FLASH memory, comprising: a magnetic medium (12) having data encoded thereon having a data characteristic; a perforation pattern (18) preceding said data, including at least one perforation identifying the presence of said data characteristic; and sensor means (20) for reading said perforation pattern and for generating an electrical signal identifying the presence of said data characteristic, characterized in reserving a perforation pattern (18) at a beginning of said magnetic medium so as to indicate, that said data characteristic is FLASH update data. The data identification system according to claim 1 wherein said perforation pattern (18) is a plurality of premanufactured holes (16-1, 16-2, 16-3, 16-4, 18) punched through said medium (12). The data identification system according to claim 1 wherein said sensor means (20) comprises optical sensing elements. The data indentification system according to claim 1 further comprising: reading means (26) for reading said data on said magnetic medium (12) and for transferring said data to a memory means (24) in response to identifying said data characteristic. The data identification system according to claim 4 further comprising: disenabling means for preventing said data from being transferred to said memory means (24) when a different perforation pattern (18) identifying a different data characteristic is present. The data identification system according to claim 5 wherein said memory means is a FLASH memory (24). A method for identifying data for use in a magnetic medium drive (34), comprising the steps of: encoding data having a data characteristic on a magnetic medium (12); preceding said data with a perforation pattern (18) at a beginning of said magnetic medium wherein at least one perforation identifies the presence of said data characteristic; and reading said perforation pattern and generating an electrical signal identifying the presence of said data characteristic, characterized by reserving a perforation pattern (18) so as to indicate a FLASH update function. The method according to claim 7 wherein said reading step is performed optically. The method according to claim 7 further comprising the step of: reading said data on said magnetic medium (12) and transferring said data to a memory means (24) in response to identifying said data characteristic. The method according to claim 7 further comprising the step of: preventing said data from being transferred to said memory means (12) when the perforation pattern (18) identifies a different data characteristic.

Inventors: DAHLERUD OLE CHRISTIAN, DAHLERUD, OLE CHRISTIAN
Applicants: TANDBERG DATA, TANDBERG DATA A/S
Application year: 1992
Main classification: G11B27
IPC codes: G11B23, G11B27, G11B15, G06F9