US20060168368A1 - Method for updating firmware in the control chip - Google Patents
Method for updating firmware in the control chip Download PDFInfo
- Publication number
- US20060168368A1 US20060168368A1 US11/392,710 US39271006A US2006168368A1 US 20060168368 A1 US20060168368 A1 US 20060168368A1 US 39271006 A US39271006 A US 39271006A US 2006168368 A1 US2006168368 A1 US 2006168368A1
- Authority
- US
- United States
- Prior art keywords
- microprocessor
- unit
- firmware
- memory
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Abandoned
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C16/00—Erasable programmable read-only memories
- G11C16/02—Erasable programmable read-only memories electrically programmable
- G11C16/06—Auxiliary circuits, e.g. for writing into memory
- G11C16/10—Programming or data input circuits
- G11C16/102—External programming circuits, e.g. EPROM programmers; In-circuit programming or reprogramming; EPROM emulators
Definitions
- the invention relates to a control chip for an optical disk drive and a method for updating firmware in the control chip, and more particularly to a control chip for an optical disk drive, which executes firmware update actions by a macro unit and a DMA (Direct Memory Access) unit, and a method for updating firmware in the control chip.
- a control chip for an optical disk drive which executes firmware update actions by a macro unit and a DMA (Direct Memory Access) unit, and a method for updating firmware in the control chip.
- DMA Direct Memory Access
- FIG. 1 shows a control architecture diagram of a typical optical drive, such as a CD-ROM.
- the optical drive 10 utilizes an optical pickup, which is disposed in a sled motor and pickup assembly 102 , to retrieve data stored in an optical disk 100 and then output a radio frequency (RF) signal.
- An RF amplifier and controller 110 is used to receive and amplify the RF signal and to output a amplified signal to a decoder 114 .
- the decoder 114 receives the amplified signal and decodes the amplified signal to generate decoded data.
- the decoded data are then stored in a buffer memory 116 .
- a microprocessor 112 is used to control operations and functions of the optical drive 10 .
- the microprocessor 112 is used to control the RF amplifier and controller 110 and the decoder 114 , to drive the spindle motor 101 , the sled motor and optical head assembly 102 , and the like.
- the microprocessor 112 is further connected to a non-volatile memory 118 to read firmware information, such as update program routines and commands to control and operate the optical drive 10 .
- Users can utilize a host 122 to read the data in the buffer memory 116 via a host interface 120 .
- FIG. 2 shows an architecture diagram of the control chip in this patent.
- the control chip 200 includes an extra memory 202 , a microprocessor 204 , a decoder 206 , and a controller 208 .
- the update program routine is stored in the extra memory 202 and a flash ROM (non-volatile memory) 210 is regarded as a data storage space.
- the usable space in the non-volatile memory 210 is not occupied, and the speed for updating the firmware may be increased.
- this method has the following drawbacks.
- the microprocessor since the microprocessor executes the operation of either reading the update program routine or writing the data in the non-volatile memory by software, the microprocessor cannot perform other works, such as accessing the data of the host, when the data are written. In addition, it takes longer time for the microprocessor to execute the software to compute the address of the extra memory.
- control chip which has a macro unit, for an optical disk drive and a method for updating firmware in the control chip.
- the update control of the firmware is performed using the macro unit by means of hardware control.
- the control chip for an optical disk drive includes a microprocessor for controlling actions of the optical disk drive, a decoder controlled by the microprocessor and connected to an external buffer memory and a host interface, a controller controlled by the microprocessor and connected to the decoder to receive control signals and data of the optical disk drive, an extra memory for storing an update program routine of the microprocessor and being connected to the microprocessor, a DMA unit controlled by the microprocessor to read data of the external buffer memory, and a macro unit controlled by the microprocessor to receive data output from the DMA unit and to write the data into the non-volatile memory.
- the extra memory serves as a buffer for the update program routine of the microprocessor, and the microprocessor outputs the control signals to the DMA unit and the macro unit. Data in the buffer memory is written to the non-volatile memory using the macro unit and the DMA unit by hardware.
- FIG. 1 shows a control architecture diagram of a typical optical drive.
- FIG. 2 shows an architecture diagram of a control chip in a conventional optical disk drive.
- FIG. 3 shows an architecture diagram of a control chip for an optical disk drive of the invention.
- FIG. 4 shows the data flow in the control chip for the optical disk drive of the invention in a normal operate mode.
- FIG. 5 shows the data flow in the control chip for an optical disk drive of the invention in a data update mode.
- FIG. 6 shows a flow chart in the control chip for an optical disk drive of the invention in a firmware update mode.
- control chip for an optical disk drive and a method for updating firmware in the control chip of the invention will be described with reference to the accompanying drawings.
- FIG. 3 shows an architecture diagram of a control chip for an optical disk drive of the invention.
- the control chip 300 includes an extra memory 302 , a microprocessor 304 , a decoder 306 , a controller 308 , a macro unit 310 and a DMA unit 312 .
- the control chip 300 has the function of updating the firmware in the optical disk drive, wherein the firmware is stored in the non-volatile memory 210 .
- the non-volatile memory 210 may be a flash memory (flash ROM) or an electrically erasable and programmable non-volatile memory (EEPROM). As shown in FIG.
- the macro unit 310 and the DMA unit 312 are not included in the conventional control chip for the optical disk drive, and other elements including the extra memory 302 , the microprocessor 304 , the decoder 306 , and the controller 308 are the same as those of the conventional control chip for the optical disk drive as shown in the architecture diagram of FIG. 2 .
- the macro unit 310 which is controlled by the microprocessor 304 , reads data in the buffer memory 212 via the DMA unit 312 when the firmware is updated, and writes the read data to the non-volatile memory 210 in a specific command sequence, such as an erase command, a read command, a write command, a compare command, and the like.
- the DMA unit 312 which is also controlled by the microprocessor 304 , transfers the data in the buffer memory 212 to the macro unit 310 when the firmware is updated.
- the optical disk drive When the optical disk drive is updating the firmware, the optical disk drive temporarily stores an update program routine to be executed by the microprocessor 304 in the extra memory 302 , and the firmware to be updated in the buffer memory 212 .
- the microprocessor 304 executes the update program routine stored in the extra memory 302 and outputs control signals to the macro unit 310 and the DMA unit 312 so as to execute the update action of the firmware through the macro unit 310 and the DMA unit 312 .
- the microprocessor 304 When the macro unit 310 is executing the update action, the microprocessor 304 only needs to monitor the interior state of the macro unit 310 . Thus, the microprocessor 304 may execute other actions with the host 216 at other time. Because the macro unit 310 and the DMA unit 312 read the update action of firmware, the executing speed is faster than that by calculating addresses by software.
- the optical disk drive is switched to a firmware update mode, when the control chip is updating firmware into the non-volatile memory, other the optical disk drive is switched to a normal operation mode.
- the microprocessor 204 of the optical disk drive will initialize the optical disk drive, such as CD-ROM, and wait for the command of the host computer 216 requesting to read data from the disk 100 .
- the microprocessor 304 outputs correct parameters to control the controller 308 and the decoder 306 in order to drive the motor and the optical pickup in the optical disk drive to read the data stored in the disk 100 .
- the data in the disk 100 is decoded and corrected by the decoder 306 , and is then stored in the buffer memory (DRAM) 212 . Consequently, the computer 216 can read the data in the buffer memory 212 by the decoder 306 via a host interface 214 .
- the extra memory 302 serves as a memory space for the general data
- the non-volatile memory 210 serves as a memory space for the update program routine of the system.
- FIG. 4 shows the data flow in the control chip for the optical disk drive of the invention in a normal operate mode.
- the non-volatile memory 210 of the optical disk drive serves as the storage space for the update program routine in the normal operation mode
- the microprocessor 304 outputs the firmware control signal to the non-volatile memory 210 so as to read the program of the update program routine of the non-volatile memory 210 to control the actions of the optical disk drive. Therefore, the macro unit 310 and the DMA unit 312 are under the idle states in the normal operation mode.
- the actions of the control chip for an optical disk drive are the same as those of the prior art, and detailed description thereof will be omitted.
- the update program routine of the special format data similar to a TOC may be stored in a disk, which is placed in the optical disk drive.
- the host computer 216 executes certain specific software for the update program routine.
- the content of the update program routine includes program codes and an update program routine.
- the extra memory 302 stores the update program routine loaded from the disk 100 or the computer 216 , and the program codes are stored in the buffer memory 212 .
- FIG. 5 shows the data flow in the control chip for an optical disk drive of the invention in a firmware update mode.
- the extra memory 302 of the optical disk drive serves as a storage position for the update program routine
- the microprocessor 304 reads the update program routine command from the extra memory 302 to control the actions of the DMA unit 312 and the macro unit 310 . That is, at the beginning of the firmware updating, the microprocessor 304 reads the update program routine command from the extra memory 302 , calculates the length of the to-be-updated program codes and the start position of the program codes in the buffer memory 212 , and outputs the setting information to the DMA unit 312 .
- the microprocessor 304 outputs an initialization signal to the macro unit 310 to start reading the program codes in the buffer memory 212 via the DMA unit 312 , and writing the program codes into the non-volatile memory 210 .
- the DMA unit 312 sequentially reads the program codes from the buffer memory 212 according to the start position and the length generated from the microprocessor 304 , and output the program codes to the macro unit 310 .
- the microprocessor 304 is not necessary to compute the address of the buffer memory 212 .
- the microprocessor 304 may momentarily monitor the interior state of the macro unit 310 and output a stop signal to the macro unit 310 and the DMA unit 312 when the firmware updating process is finished.
- the actions of the macro unit 310 includes reading program codes from the DMA unit 312 , outputting the address, the program codes, and write control signals to the non-volatile memory 210 .
- FIG. 6 shows a flow chart in the control chip for an optical disk drive of the invention in a firmware update mode.
- the method for the control chip to update firmware in the optical disk drive in the firmware update mode includes the following steps.
- Step S 602 load an update program routine.
- the step is controlled by the microprocessor 304 or the host 216 to load the update program routine to the extra memory 302 .
- the microprocessor 304 can execute the update program routine of the extra memory 302 during the update action.
- Step S 604 load program codes.
- the step is controlled by the microprocessor 304 or the host 216 to load the to-be-updated program codes (firmware) to the buffer memory 212 .
- Step S 606 set the DMA unit 312 and the macro unit 310 .
- the microprocessor 304 computes the start position of the program codes in the buffer memory 212 and the total length of the program codes, and transfers the setting information, including start position and length, to the DMA unit 312 .
- the destination starting address of the non-volatile memory 210 is set in the macro unit 310 .
- Step S 608 execute a program code write action.
- the microprocessor 304 generates and outputs an initialization signal to the macro unit 310 and the DMA unit 312 .
- the DMA unit 312 reads the program codes from the buffer memory 212 and transfers them to the macro unit 310 , which writes the program codes into the non-volatile memory 210 .
- Step S 610 monitor the state of the macro unit.
- the microprocessor 304 monitors the interior state of the macro unit 310 so as to control the actions of the macro unit 310 at proper timing of, for example, when the macro unit 310 has an error or when the writing of the program codes is finished.
- Step S 612 switch the mode to a normal operation mode.
- the microprocessor 304 When the writing of the program codes is finished, the microprocessor 304 generates a stop signal to the macro unit 310 and the DMA unit 312 so as to stop the actions of the macro unit 310 and the DMA unit 312 and to switch the mode to the normal operation mode.
- step S 608 because the writing action of the program codes is hardware-controlled by the macro unit 310 and the DMA unit 312 , the speed is faster than that by software-calculating the address. Moreover, because the writing action of program codes is hardware-controlled by the macro unit 310 and the DMA unit 312 , the microprocessor 304 can execute other works in addition to monitoring the state of the macro unit 310 . For instance, the microprocessor 304 may transfer data via the host interface 214 and the host 216 , or report the writing progress and state.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- Optical Recording Or Reproduction (AREA)
Abstract
A control chip for updating firmware in an optical disk drive by hardware. The control chip includes a microprocessor for controlling actions of the optical disk drive, a decoder controlled by the microprocessor and connected to an external buffer memory and a host interface, a controller controlled by the microprocessor and connected to the decoder to receive control signals and data of the optical disk drive, an extra memory connected to the microprocessor for storing an update program routine, a DMA unit controlled by the microprocessor to read data from the external buffer memory, and a macro unit controlled by the microprocessor to receive data output from the DMA unit and to write the data into the non-volatile memory. Because the firmware is updated into the flash memory in the hardware architecture, the speed is fast and the microprocessor can execute other works while updating.
Description
- This application is a divisional of co-pending application Ser. No. 10/718,547, filed on Nov. 24, 2003, and for which priority is claimed under 35 U.S.C. §120; and this application claims priority of application No. 092100208 filed in Taiwan, R.O.C. on Jan. 3, 2003 under 35 U.S.C. §119; the entire contents of all are hereby incorporated by reference.
- 1. Field of the Invention
- The invention relates to a control chip for an optical disk drive and a method for updating firmware in the control chip, and more particularly to a control chip for an optical disk drive, which executes firmware update actions by a macro unit and a DMA (Direct Memory Access) unit, and a method for updating firmware in the control chip.
- 2. Description of the Related Art
-
FIG. 1 shows a control architecture diagram of a typical optical drive, such as a CD-ROM. As shown inFIG. 1 , theoptical drive 10 utilizes an optical pickup, which is disposed in a sled motor andpickup assembly 102, to retrieve data stored in anoptical disk 100 and then output a radio frequency (RF) signal. An RF amplifier andcontroller 110 is used to receive and amplify the RF signal and to output a amplified signal to adecoder 114. Thedecoder 114 receives the amplified signal and decodes the amplified signal to generate decoded data. The decoded data are then stored in abuffer memory 116. Amicroprocessor 112 is used to control operations and functions of theoptical drive 10. For instance, themicroprocessor 112 is used to control the RF amplifier andcontroller 110 and thedecoder 114, to drive thespindle motor 101, the sled motor andoptical head assembly 102, and the like. Themicroprocessor 112 is further connected to anon-volatile memory 118 to read firmware information, such as update program routines and commands to control and operate theoptical drive 10. Users can utilize ahost 122 to read the data in thebuffer memory 116 via ahost interface 120. - Because the computer industry is rapidly developed, hardware peripherals, such as optical drive, are also rapidly developed. In order to continuously update the function and operation of the optical drive, the firmware stored in the non-volatile memory is typically updated. Generally, when the firmware of the optical drive is updated, the update program routine being executed and the data being updated are stored in the non-volatile memory. However, this method reduces the usable space in the non-volatile memory and lengthens the time for updating the firmware.
- In addition, U.S. Pat. No. 6,170,043, entitled “Method for controlling an optic disk” disclosed another update method.
FIG. 2 shows an architecture diagram of the control chip in this patent. Thecontrol chip 200 includes anextra memory 202, amicroprocessor 204, adecoder 206, and acontroller 208. In the method disclosed in this patent application, when the firmware is to be updated, the update program routine is stored in theextra memory 202 and a flash ROM (non-volatile memory) 210 is regarded as a data storage space. In this method, the usable space in thenon-volatile memory 210 is not occupied, and the speed for updating the firmware may be increased. However, this method has the following drawbacks. That is, since the microprocessor executes the operation of either reading the update program routine or writing the data in the non-volatile memory by software, the microprocessor cannot perform other works, such as accessing the data of the host, when the data are written. In addition, it takes longer time for the microprocessor to execute the software to compute the address of the extra memory. - In view of the above-mentioned problems, it is therefore an object of the invention to provide a control chip, which has a macro unit, for an optical disk drive and a method for updating firmware in the control chip. The update control of the firmware is performed using the macro unit by means of hardware control.
- To achieve the above-mentioned object, the control chip for an optical disk drive includes a microprocessor for controlling actions of the optical disk drive, a decoder controlled by the microprocessor and connected to an external buffer memory and a host interface, a controller controlled by the microprocessor and connected to the decoder to receive control signals and data of the optical disk drive, an extra memory for storing an update program routine of the microprocessor and being connected to the microprocessor, a DMA unit controlled by the microprocessor to read data of the external buffer memory, and a macro unit controlled by the microprocessor to receive data output from the DMA unit and to write the data into the non-volatile memory.
- When the control chip is updating the update program routine of the non-volatile memory, the extra memory serves as a buffer for the update program routine of the microprocessor, and the microprocessor outputs the control signals to the DMA unit and the macro unit. Data in the buffer memory is written to the non-volatile memory using the macro unit and the DMA unit by hardware.
- Further scope of the applicability of the present invention will become apparent from the detailed description given hereinafter. However, it should be understood that the detailed description and specific examples, while indicating preferred embodiments of the invention, are given by way of illustration only, since various changes and modifications within the spirit and scope of the invention will become apparent to those skilled in the art from this detailed description.
- The present invention will become more fully understood from the detailed description given hereinbelow and the accompanying drawings which are given by way of illustration only, and thus are not limitative of the present invention, and wherein:
-
FIG. 1 shows a control architecture diagram of a typical optical drive. -
FIG. 2 shows an architecture diagram of a control chip in a conventional optical disk drive. -
FIG. 3 shows an architecture diagram of a control chip for an optical disk drive of the invention. -
FIG. 4 shows the data flow in the control chip for the optical disk drive of the invention in a normal operate mode. -
FIG. 5 shows the data flow in the control chip for an optical disk drive of the invention in a data update mode. -
FIG. 6 shows a flow chart in the control chip for an optical disk drive of the invention in a firmware update mode. - The control chip for an optical disk drive and a method for updating firmware in the control chip of the invention will be described with reference to the accompanying drawings.
-
FIG. 3 shows an architecture diagram of a control chip for an optical disk drive of the invention. Referring toFIG. 3 , thecontrol chip 300 includes anextra memory 302, amicroprocessor 304, adecoder 306, acontroller 308, amacro unit 310 and aDMA unit 312. Thecontrol chip 300 has the function of updating the firmware in the optical disk drive, wherein the firmware is stored in thenon-volatile memory 210. Thenon-volatile memory 210 may be a flash memory (flash ROM) or an electrically erasable and programmable non-volatile memory (EEPROM). As shown inFIG. 3 , themacro unit 310 and theDMA unit 312 are not included in the conventional control chip for the optical disk drive, and other elements including theextra memory 302, themicroprocessor 304, thedecoder 306, and thecontroller 308 are the same as those of the conventional control chip for the optical disk drive as shown in the architecture diagram ofFIG. 2 . - The
macro unit 310, which is controlled by themicroprocessor 304, reads data in thebuffer memory 212 via theDMA unit 312 when the firmware is updated, and writes the read data to thenon-volatile memory 210 in a specific command sequence, such as an erase command, a read command, a write command, a compare command, and the like. TheDMA unit 312, which is also controlled by themicroprocessor 304, transfers the data in thebuffer memory 212 to themacro unit 310 when the firmware is updated. - When the optical disk drive is updating the firmware, the optical disk drive temporarily stores an update program routine to be executed by the
microprocessor 304 in theextra memory 302, and the firmware to be updated in thebuffer memory 212. Thus, when the optical disk drive is updating the firmware, themicroprocessor 304 executes the update program routine stored in theextra memory 302 and outputs control signals to themacro unit 310 and theDMA unit 312 so as to execute the update action of the firmware through themacro unit 310 and theDMA unit 312. When themacro unit 310 is executing the update action, themicroprocessor 304 only needs to monitor the interior state of themacro unit 310. Thus, themicroprocessor 304 may execute other actions with thehost 216 at other time. Because themacro unit 310 and theDMA unit 312 read the update action of firmware, the executing speed is faster than that by calculating addresses by software. - The optical disk drive is switched to a firmware update mode, when the control chip is updating firmware into the non-volatile memory, other the optical disk drive is switched to a normal operation mode. In general, after the computer is booted and reset, the
microprocessor 204 of the optical disk drive will initialize the optical disk drive, such as CD-ROM, and wait for the command of thehost computer 216 requesting to read data from thedisk 100. After thehost computer 216 issues a command to request reading data of thedisk 100, themicroprocessor 304 outputs correct parameters to control thecontroller 308 and thedecoder 306 in order to drive the motor and the optical pickup in the optical disk drive to read the data stored in thedisk 100. The data in thedisk 100 is decoded and corrected by thedecoder 306, and is then stored in the buffer memory (DRAM) 212. Consequently, thecomputer 216 can read the data in thebuffer memory 212 by thedecoder 306 via ahost interface 214. At this time, theextra memory 302 serves as a memory space for the general data, while thenon-volatile memory 210 serves as a memory space for the update program routine of the system. -
FIG. 4 shows the data flow in the control chip for the optical disk drive of the invention in a normal operate mode. As shown inFIG. 4 , thenon-volatile memory 210 of the optical disk drive serves as the storage space for the update program routine in the normal operation mode, and themicroprocessor 304 outputs the firmware control signal to thenon-volatile memory 210 so as to read the program of the update program routine of thenon-volatile memory 210 to control the actions of the optical disk drive. Therefore, themacro unit 310 and theDMA unit 312 are under the idle states in the normal operation mode. In the normal operation mode, the actions of the control chip for an optical disk drive are the same as those of the prior art, and detailed description thereof will be omitted. - When the optical disk drive will update the firmware of the
non-volatile memory 210, the update program routine of the special format data similar to a TOC (Table of Content) may be stored in a disk, which is placed in the optical disk drive. Alternately, thehost computer 216 executes certain specific software for the update program routine. The content of the update program routine includes program codes and an update program routine. At this time, theextra memory 302 stores the update program routine loaded from thedisk 100 or thecomputer 216, and the program codes are stored in thebuffer memory 212. -
FIG. 5 shows the data flow in the control chip for an optical disk drive of the invention in a firmware update mode. As shown inFIG. 5 , when the optical disk drive is switched to the firmware update mode, theextra memory 302 of the optical disk drive serves as a storage position for the update program routine, and themicroprocessor 304 reads the update program routine command from theextra memory 302 to control the actions of theDMA unit 312 and themacro unit 310. That is, at the beginning of the firmware updating, themicroprocessor 304 reads the update program routine command from theextra memory 302, calculates the length of the to-be-updated program codes and the start position of the program codes in thebuffer memory 212, and outputs the setting information to theDMA unit 312. Thereafter, themicroprocessor 304 outputs an initialization signal to themacro unit 310 to start reading the program codes in thebuffer memory 212 via theDMA unit 312, and writing the program codes into thenon-volatile memory 210. TheDMA unit 312 sequentially reads the program codes from thebuffer memory 212 according to the start position and the length generated from themicroprocessor 304, and output the program codes to themacro unit 310. Thus, when the optical disk drive is updating the firmware codes, themicroprocessor 304 is not necessary to compute the address of thebuffer memory 212. In addition, when themacro unit 310 is writing program codes to thenon-volatile memory 210, themicroprocessor 304 may momentarily monitor the interior state of themacro unit 310 and output a stop signal to themacro unit 310 and theDMA unit 312 when the firmware updating process is finished. - The actions of the
macro unit 310 includes reading program codes from theDMA unit 312, outputting the address, the program codes, and write control signals to thenon-volatile memory 210. -
FIG. 6 shows a flow chart in the control chip for an optical disk drive of the invention in a firmware update mode. Referring toFIG. 6 , the method for the control chip to update firmware in the optical disk drive in the firmware update mode includes the following steps. - Step S602: load an update program routine. The step is controlled by the
microprocessor 304 or thehost 216 to load the update program routine to theextra memory 302. Thus, themicroprocessor 304 can execute the update program routine of theextra memory 302 during the update action. - Step S604: load program codes. The step is controlled by the
microprocessor 304 or thehost 216 to load the to-be-updated program codes (firmware) to thebuffer memory 212. - Step S606: set the
DMA unit 312 and themacro unit 310. Themicroprocessor 304 computes the start position of the program codes in thebuffer memory 212 and the total length of the program codes, and transfers the setting information, including start position and length, to theDMA unit 312. In addition, the destination starting address of thenon-volatile memory 210 is set in themacro unit 310. - Step S608: execute a program code write action. The
microprocessor 304 generates and outputs an initialization signal to themacro unit 310 and theDMA unit 312. After themacro unit 310 and theDMA unit 312 receive the initialization signal, theDMA unit 312 reads the program codes from thebuffer memory 212 and transfers them to themacro unit 310, which writes the program codes into thenon-volatile memory 210. - Step S610: monitor the state of the macro unit. The
microprocessor 304 monitors the interior state of themacro unit 310 so as to control the actions of themacro unit 310 at proper timing of, for example, when themacro unit 310 has an error or when the writing of the program codes is finished. - Step S612: switch the mode to a normal operation mode. When the writing of the program codes is finished, the
microprocessor 304 generates a stop signal to themacro unit 310 and theDMA unit 312 so as to stop the actions of themacro unit 310 and theDMA unit 312 and to switch the mode to the normal operation mode. - In the above-mentioned step S608, because the writing action of the program codes is hardware-controlled by the
macro unit 310 and theDMA unit 312, the speed is faster than that by software-calculating the address. Moreover, because the writing action of program codes is hardware-controlled by themacro unit 310 and theDMA unit 312, themicroprocessor 304 can execute other works in addition to monitoring the state of themacro unit 310. For instance, themicroprocessor 304 may transfer data via thehost interface 214 and thehost 216, or report the writing progress and state. - While certain exemplary embodiments have been described and shown in the accompanying drawings, it is to be understood that such embodiments are merely illustrative of and not restrictive on the broad invention, and that this invention not be limited to the specific construction and arrangement shown and described, since various other modifications may occur to those ordinarily skilled in the art.
Claims (2)
1. A method for updating firmware of an optical disk drive, which is writing to-be-updated firmware from a buffer memory to a non-volatile memory through a macro unit and a DMA unit, the method comprising the steps of:
loading an update program routine into an extra memory so as to enable a microprocessor to execute the update program routine in the extra memory when an update action is performed;
loading program codes, in which the to-be-updated firmware is loaded into the buffer memory;
setting the DMA unit and the macro unit, in which the microprocessor computes a start position of the firmware stored in the buffer memory and a length of the firmware, the start position and the length are output to the DMA unit, and a start address of the non-volatile memory is set in the macro unit;
writing the program codes, in which the microprocessor generates and outputs an initialization signal to the macro unit and the DMA unit so as to enable the DMA unit to read data from the buffer memory and transfer the data to the macro unit, which writes the data into the non-volatile memory; and
stopping the update action, in which when the data have been written completely, the microprocessor generates a stop signal to the macro unit and the DMA unit, so as to stop actions of the macro unit and the DMA unit and switch to a normal operation mode.
2. The method according to claim 1 , further comprising a step of monitoring an interior state of the macro unit by the microprocessor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US11/392,710 US20060168368A1 (en) | 2003-01-03 | 2006-03-30 | Method for updating firmware in the control chip |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW092100208A TWI220225B (en) | 2003-01-03 | 2003-01-03 | Control chip for optical disk drive and method for updating the firmware in the control chip |
TW092100208 | 2003-01-03 | ||
US10/718,547 US7107364B2 (en) | 2003-01-03 | 2003-11-24 | Control chip for optical disk drive and method for updating firmware in the control chip |
US11/392,710 US20060168368A1 (en) | 2003-01-03 | 2006-03-30 | Method for updating firmware in the control chip |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US10/718,547 Division US7107364B2 (en) | 2003-01-03 | 2003-11-24 | Control chip for optical disk drive and method for updating firmware in the control chip |
Publications (1)
Publication Number | Publication Date |
---|---|
US20060168368A1 true US20060168368A1 (en) | 2006-07-27 |
Family
ID=32679858
Family Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US10/718,547 Active 2024-07-11 US7107364B2 (en) | 2003-01-03 | 2003-11-24 | Control chip for optical disk drive and method for updating firmware in the control chip |
US11/392,710 Abandoned US20060168368A1 (en) | 2003-01-03 | 2006-03-30 | Method for updating firmware in the control chip |
US11/496,629 Abandoned US20060282558A1 (en) | 2003-01-03 | 2006-08-01 | Control chip for optical disk drive and method for updating firmware in the control chip |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US10/718,547 Active 2024-07-11 US7107364B2 (en) | 2003-01-03 | 2003-11-24 | Control chip for optical disk drive and method for updating firmware in the control chip |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/496,629 Abandoned US20060282558A1 (en) | 2003-01-03 | 2006-08-01 | Control chip for optical disk drive and method for updating firmware in the control chip |
Country Status (2)
Country | Link |
---|---|
US (3) | US7107364B2 (en) |
TW (1) | TWI220225B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070162964A1 (en) * | 2006-01-12 | 2007-07-12 | Wang Liang-Yun | Embedded system insuring security and integrity, and method of increasing security thereof |
US20080195800A1 (en) * | 2007-02-08 | 2008-08-14 | Samsung Electronics Co., Ltd. | Flash Memory Device and Flash Memory System Including a Buffer Memory |
US7730295B1 (en) * | 2006-09-05 | 2010-06-01 | Western Digital Technologies, Inc. | Updating firmware of a peripheral device |
US9015694B2 (en) | 2012-10-31 | 2015-04-21 | Aruba Networks, Inc | Cloud-based firmware distribution service |
Families Citing this family (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4193585B2 (en) * | 2003-05-26 | 2008-12-10 | ティアック株式会社 | Processing system with optical disk device |
EP1634160A4 (en) * | 2003-06-16 | 2009-11-04 | Iocell Corp | Information processing device and method for controlling the same |
TWI240203B (en) * | 2004-02-25 | 2005-09-21 | Via Tech Inc | A device which updates firmware by a memory card |
US7788448B2 (en) * | 2004-03-08 | 2010-08-31 | Pmc-Sierra Us, Inc. | Sequencer cache and method for operating the same |
TWI259974B (en) * | 2004-09-16 | 2006-08-11 | Mediatek Inc | Optical disk drive capable of updating firmware and firmware updating method thereof |
WO2006121251A1 (en) * | 2005-05-06 | 2006-11-16 | Iocell Co., Ltd. | Data structure of flash memory having system area with variable size in which data can be updated, usb memory device having the flash memory, and method of controlling the system area |
TWI345175B (en) * | 2005-06-08 | 2011-07-11 | Winbond Electronics Corp | Method for updating firmware of memory card |
EP1912120A4 (en) * | 2005-07-29 | 2009-03-04 | Panasonic Corp | Device for writing into memory |
US7831751B2 (en) * | 2005-12-19 | 2010-11-09 | Realtek Semiconductor Corp. | System and method for programming a display controller chip |
WO2008020707A1 (en) | 2006-08-15 | 2008-02-21 | Lg Electronics Inc. | Ice tray assembly and refrigerator having same |
KR100849212B1 (en) * | 2006-10-12 | 2008-07-31 | 삼성전자주식회사 | Memory card and method for updating of memory card program |
US8271968B2 (en) * | 2006-12-12 | 2012-09-18 | Dell Products L.P. | System and method for transparent hard disk drive update |
KR100800589B1 (en) * | 2006-12-20 | 2008-02-04 | 엘지전자 주식회사 | Device for processing information and working method thereof |
US10067880B2 (en) | 2016-02-29 | 2018-09-04 | International Business Machines Corporation | Dynamic tier remapping of data stored in a hybrid storage system |
TWI602124B (en) * | 2017-01-20 | 2017-10-11 | 神雲科技股份有限公司 | Baseboard Management Controller Firmware Updating Method For Fan Speed Control |
CN110362965B (en) * | 2019-06-12 | 2021-11-16 | 创芯工坊科技(深圳)有限公司 | Firmware processing method, device, system, equipment and medium of integrated circuit chip |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6009497A (en) * | 1993-02-19 | 1999-12-28 | Intel Corporation | Method and apparatus for updating flash memory resident firmware through a standard disk drive interface |
US6170043B1 (en) * | 1999-01-22 | 2001-01-02 | Media Tek Inc. | Method for controlling an optic disk |
US6289397B1 (en) * | 1998-06-12 | 2001-09-11 | Teac Corporation | Disk drive or like peripheral storage device adapted for firmware upgrading, self-testing, etc. |
US6357021B1 (en) * | 1999-04-14 | 2002-03-12 | Mitsumi Electric Co., Ltd. | Method and apparatus for updating firmware |
US6507881B1 (en) * | 1999-06-10 | 2003-01-14 | Mediatek Inc. | Method and system for programming a peripheral flash memory via an IDE bus |
US6523083B1 (en) * | 1999-12-09 | 2003-02-18 | Via Technologies, Inc. | System and method for updating flash memory of peripheral device |
US20030041182A1 (en) * | 1999-09-30 | 2003-02-27 | Andrew W. Martwick | Self updating a firmware device |
US6816950B2 (en) * | 2002-05-08 | 2004-11-09 | Lsi Logic Corporation | Method and apparatus for upgrading disk drive firmware in a RAID storage system |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3160448B2 (en) * | 1993-11-30 | 2001-04-25 | 富士通株式会社 | Data correction device |
US6128724A (en) * | 1997-12-11 | 2000-10-03 | Leland Stanford Junior University | Computation using codes for controlling configurable computational circuit |
US6289367B1 (en) * | 1998-11-16 | 2001-09-11 | Texas Instruments Incorporated | Digital signal processing circuits, systems, and method implementing approximations for logarithm and inverse logarithm |
JP2001297038A (en) * | 2000-04-11 | 2001-10-26 | Toshiba Corp | Data storage device, recording medium, and recording medium control method |
JP2004127386A (en) * | 2002-09-30 | 2004-04-22 | Mitsumi Electric Co Ltd | Optical disk device, firmware updating method, its program, and recording medium |
US7071141B2 (en) * | 2002-10-24 | 2006-07-04 | Ford Global Technologies, Llc | Perovskite catalyst system for lean burn engines |
TWI272534B (en) * | 2003-12-31 | 2007-02-01 | Asustek Comp Inc | Firmware update processing method and application program |
-
2003
- 2003-01-03 TW TW092100208A patent/TWI220225B/en not_active IP Right Cessation
- 2003-11-24 US US10/718,547 patent/US7107364B2/en active Active
-
2006
- 2006-03-30 US US11/392,710 patent/US20060168368A1/en not_active Abandoned
- 2006-08-01 US US11/496,629 patent/US20060282558A1/en not_active Abandoned
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6009497A (en) * | 1993-02-19 | 1999-12-28 | Intel Corporation | Method and apparatus for updating flash memory resident firmware through a standard disk drive interface |
US6289397B1 (en) * | 1998-06-12 | 2001-09-11 | Teac Corporation | Disk drive or like peripheral storage device adapted for firmware upgrading, self-testing, etc. |
US6170043B1 (en) * | 1999-01-22 | 2001-01-02 | Media Tek Inc. | Method for controlling an optic disk |
US6357021B1 (en) * | 1999-04-14 | 2002-03-12 | Mitsumi Electric Co., Ltd. | Method and apparatus for updating firmware |
US6507881B1 (en) * | 1999-06-10 | 2003-01-14 | Mediatek Inc. | Method and system for programming a peripheral flash memory via an IDE bus |
US20030041182A1 (en) * | 1999-09-30 | 2003-02-27 | Andrew W. Martwick | Self updating a firmware device |
US6523083B1 (en) * | 1999-12-09 | 2003-02-18 | Via Technologies, Inc. | System and method for updating flash memory of peripheral device |
US6816950B2 (en) * | 2002-05-08 | 2004-11-09 | Lsi Logic Corporation | Method and apparatus for upgrading disk drive firmware in a RAID storage system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070162964A1 (en) * | 2006-01-12 | 2007-07-12 | Wang Liang-Yun | Embedded system insuring security and integrity, and method of increasing security thereof |
US7730295B1 (en) * | 2006-09-05 | 2010-06-01 | Western Digital Technologies, Inc. | Updating firmware of a peripheral device |
US20080195800A1 (en) * | 2007-02-08 | 2008-08-14 | Samsung Electronics Co., Ltd. | Flash Memory Device and Flash Memory System Including a Buffer Memory |
US9015694B2 (en) | 2012-10-31 | 2015-04-21 | Aruba Networks, Inc | Cloud-based firmware distribution service |
Also Published As
Publication number | Publication date |
---|---|
TWI220225B (en) | 2004-08-11 |
TW200412542A (en) | 2004-07-16 |
US20060282558A1 (en) | 2006-12-14 |
US20040133711A1 (en) | 2004-07-08 |
US7107364B2 (en) | 2006-09-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20060168368A1 (en) | Method for updating firmware in the control chip | |
US8607007B2 (en) | Selection of data storage medium based on write characteristic | |
US7721081B2 (en) | Computer system and method for booting up the same | |
US7480904B2 (en) | Firmware update for optical disc drive | |
US20070043901A1 (en) | Optical disc recording system with shared non-volatile memory design | |
US7007140B2 (en) | Storage device, storage device controlling method, and program | |
US7376943B2 (en) | Safe method for upgrading firmware of optical disk product | |
KR20030097586A (en) | Disk drive and computer | |
US20060047938A1 (en) | Method and apparatus to initialize CPU | |
US20060206674A1 (en) | Optical disc drive and program code updating method thereof | |
US20080301358A1 (en) | Electronic device that Downloads Operational Firmware from an External Host | |
JP2007293987A (en) | Information recorder and control method therefor | |
WO2006101123A1 (en) | Nonvolatile storage device and method for loading control information for nonvolatile storage device | |
US20050268029A1 (en) | Optical Disc Drive that Downloads Operational Firmware from an External Host | |
US20050265266A1 (en) | Optical disc drive that downloads operational firmware from an external host | |
JP3843189B2 (en) | Optical disk system control chip and update method used for optical disk system | |
US7225304B2 (en) | Controller and method for writing data | |
US7237060B2 (en) | CPU-containing LSI, and optical disk device and LSI device with the same | |
KR100432857B1 (en) | A method and apparatus for upgrading a peripheral device firmware by using a recording medium replay apparatus | |
US20050071558A1 (en) | Method and apparatus for increasing storage capacity in a disk array system | |
JP4058290B2 (en) | Medium playback device | |
KR100238298B1 (en) | Optical disk reproducing apparatus writing a program for driving to use pc and writing method driving program therefor | |
CN100363886C (en) | Optical disk control chip and method of renewing its firmware program | |
JPH11338690A (en) | Flash memory, firmware use system device and firmware rewriting method | |
JPH07334278A (en) | Data processor and power saving method for the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO PAY ISSUE FEE |