CN100371913C - Firmware upgrading method of digital player - Google Patents

Firmware upgrading method of digital player Download PDF

Info

Publication number
CN100371913C
CN100371913C CNB031041558A CN03104155A CN100371913C CN 100371913 C CN100371913 C CN 100371913C CN B031041558 A CNB031041558 A CN B031041558A CN 03104155 A CN03104155 A CN 03104155A CN 100371913 C CN100371913 C CN 100371913C
Authority
CN
China
Prior art keywords
firmware
flash memory
stored
medium
upgrade
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.)
Expired - Fee Related
Application number
CNB031041558A
Other languages
Chinese (zh)
Other versions
CN1485851A (en
Inventor
金熙坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai LG Electronics Co Ltd
Original Assignee
Shanghai LG Electronics Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shanghai LG Electronics Co Ltd filed Critical Shanghai LG Electronics Co Ltd
Priority to CNB031041558A priority Critical patent/CN100371913C/en
Publication of CN1485851A publication Critical patent/CN1485851A/en
Application granted granted Critical
Publication of CN100371913C publication Critical patent/CN100371913C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The present invention relates to a method for upgrading a firmware of a digital player, which can complete the firmware upgrade without other memories. Thus, the method of the present invention comprises the following processes: in the first process, a firmware is stored in a certain region of a storage medium; in the second process, a power source is supplied, and a start-up code is stored in the start-up part of a flash memory so as to judge whether the firmware of the flash memory is effective or not; in the third process, if the firmware of the flash memory is effective in the judging result of the second process, the firmware is stored to play a music file; in the fourth process, if the firmware stored in a flash storage card or a storage medium is used as an upgrading start point, firstly, the firmware to be upgraded is written into the storage medium, and then, the firmware to be upgraded is written into the flash memory.

Description

The firmware upgrade method of digital player
Technical field
The present invention relates to the firmware upgrade method of digital player, relate in particular to and need not the firmware upgrade method that storer just can be finished the digital player of firmware upgrade.
Background technology
General, portable audio is to play the music file that is stored in similar magnetic tape cassette, this audio devices does not need firmware upgrade functionality.
Therefore the digital audio format of recent so-called MP3 has been encroached on music world and book-maker's interests, by the digital music encipherment of MP3 etc. is come duplicating arbitrarily and using of limiting content.
At this, the content of above-mentioned encryption is still during upgrading, understands the music file of encrypting on mancarried device, the deciphering firmware of the encryption decimal system algorithm that is suitable for upgrading be continued upgrading.
The firmware upgrade method in past is that the storer with storing firmware makes after the twice of actual firmware, with before the different position of firmware on write the firmware that will upgrade, by the time after firmware updating is normally write, will be with its new firmware guiding portable equipment, play MP3, do being described as follows with reference to accompanying drawing.
Fig. 1 is the structured flowchart of the general portable digital regenerator of expression, and as shown in the figure, its structure is constructed as follows: the music storage portion 4 of storage music file; The flash memory 2 of storing firmware; After 2 li of above-mentioned flash memories read firmware, utilize this firmware, the music file of above-mentioned music storage portion 4 stored is carried out the microprocessor 1 of digital signal processing; To be converted to simulating signal from the digital signal of above-mentioned microprocessor 1 output, subsequently the digital/analog converter 3 of output audio signal.To do following explanation to the concrete operations of said apparatus at this:
At first, when played file, microprocessor 1 reads the firmware that is stored in flash memory 2, and the music file that utilizes this firmware will be stored in music storage portion 4 then carries out digital signal processing.
At this, Figure 2 shows that the inner structure of above-mentioned flash memory 2, it is by the zone that is difficult for when the firmware upgrade disappearing---actuating section, actual main memory block 1,2 and the argument section of writing firmware constitute.
Afterwards, the digital signal that digital/analog converter 3 is play output with above-mentioned microprocessor 1 converts simulating signal to, and as audio signal output.
If with firmware upgrade, the firmware that will upgrade dumps to the part except that former firmware data storage area of above-mentioned flash memory 2, carries out the upgrading of its firmware afterwards.Therefore the capacity of flash memory 2 is than more than the big twice of actual firmware.
At this moment, also have above-mentioned flash memory 2 and the much the same situation of actual firmware size, along with the input of wanting firmware updating in the flash memory, because the disappearance of firmware in the past, if can not normally write firmware updating, then the portable digital player can not start.
Yet in the conventional art of aforesaid operations, for firmware updating, what need is the flash memory bigger than actual firmware, so can produce the problem that increases the product expense.
Even what use is and the much the same actual firmware of volatile storage size also to cause the disappearance of existing firmware when finishing firmware upgrade.If in the process of writing to new flash memory power supply be cut off or and PC between the cut words of interface, firmware will be in the state of disappearance, fatal problem such as causes starting.
Summary of the invention
Consider the problems referred to above, the firmware stores that the present invention at first will upgrade is in digital storage media, upgrade again, thereby not only can reduce cost of products, and its critical fault of mancarried device that causes by error that can solve in escalation process to be produced.
For achieving the above object, the firmware upgrade method of digital player of the present invention is characterized in comprising following process:
The 1st process is storing firmware in a certain zone of medium;
The 2nd process is, in case power supply source, just whether effectively the actuating section unloading from flash memory starts yard firmware of judging flash memory;
The 3rd process is, in the judged result of above-mentioned the 2nd process, the firmware of flash memory is effective, just with the old firmware stores of described flash memory storage in described medium, delete the old firmware of storing in the described flash memory, from PC, latest firmware is stored in described flash memory; With
The 4th process is, if be stored in the firmware upgrade starting point of flash memory or medium, will upgrade earlier in medium firmware finish writing, write at flash memory then and want firmware updating.
It below is the detailed description that the firmware upgrade method accompanying drawing with reference to the present invention's digital player carries out.
Description of drawings
Fig. 1 is the block diagram of general portable digital player structure.
Fig. 2 is for being illustrated on Fig. 1 the synoptic diagram of flash memory inner structure.
Fig. 3 is the operational flowchart of digital player firmware upgrade method of the present invention.
Embodiment
Figure 1 shows that the device for upgrading firmware of digital player of the present invention, Fig. 3 is the operational flowchart to the firmware upgrade method of digital player of the present invention, as shown in the figure, its process of method of the present invention comprises: the 1st process, at a certain area stores firmware of medium; The 2nd process, in case power supply source, just the actuating section unloading from flash memory starts sign indicating number, whether effectively the firmware of judgement flash memory; The 3rd process, in the judged result of above-mentioned the 2nd process, the firmware of flash memory is effectively, just with the good playing music of its firmware unloading; With the 4th process, if be stored in the upgrading starting point of the firmware of flash memory or medium, at first write the solid that will upgrade in medium, write the firmware that will rise at volatile storage again.
At first at a certain area stores firmware of the mmc card of digital player, that is, with the firmware stores that is stored in flash memory in mmc card or by the internet after PC reprints firmware, be connected on the PC, with the firmware stores of above-mentioned reprinting in mmc card.
Under above-mentioned state, give the digital player power supply source, the primary starting sign indicating number of firmware after the actuating section unloading of flash memory 2, is checked in the flash memory 2 whether have effective firmware.
At this moment, if whether want to know above-mentioned effective firmware is stored in the flash memory 2, only when when flash memory 2 normally writes firmware, after the significant number of special address numbering stored firmware, and it is checked, promptly, in the 0X10000 of flash memory 2 address number, write down the number that is similar to 0X03040506, when starting the number operation, actuating section begins to read its numbering, its value is 0X0304056, just can judge to exist effective firmware in the flash memory.
If have effective firmware for 2 li, just, start the portable audio playing music with its firmware unloading at above-mentioned volatile storage.
If there is not effective firmware in above-mentioned flash memory for 2 li, so just go up the unloading firmware from medium (MMC, SD card), music file is play.
At this, if above-mentioned quickflashing volatile storage 2 and effective firmware are not present in medium, just it is announced out, inform that the user will take adequate measures.
At this moment, there is not effective firmware in above-mentioned flash memory for 2 li, is reprinted on the internet by the user latest firmware is inserted in PC, and deletion was stored in after the firmware of 2 li of above-mentioned flash memories originally, stored the latest firmware of reprinting in the above-mentioned PC.
Then, deletion is stored in after the old firmware of medium, the latest firmware that is stored in above-mentioned flash memory 2 is written to said storing medium or new firmware is reproduced in medium in the PC store.
As another kind of example, the old firmware that is stored in above-mentioned flash memory 2 is effectively talked about, and the old firmware stores of 2 li of its flash memories after medium, is deleted the old firmware that is stored in flash memory 2.
Then, in PC, latest firmware is stored in 2 li of flash memories.
If upgrading is stored in the starting point that the firmware of flash memory 2 will be upgraded, so just the firmware that will upgrade is stored in earlier after the medium, the firmware that is stored in 2 li of flash memories is deleted, the firmware that will upgrade is write then.
Below done more detailed description by consulting Fig. 3, storing firmware in a certain zone of the mmc card of digital player at first, in case power supply source, start number from the actuating section unloading, if be stored in the firmware of 2 li of flash memories is effectively, at 2 li unloading actual firmware of flash memory, playing music, if it is invalid being stored in the firmware of 2 li of flash memories, so just judge whether the firmware that is stored in medium exists.
Above-mentioned judged result if there is not firmware in the medium, just displays and tells the user it; If there is firmware in the medium, just in its medium after the unloading actual firmware, playing music.
If the starting point of firmware upgrade will be upgraded after the firmware of medium is stored, then will be stored in after the old firmware deletion of flash memory 2, write the new firmware that will upgrade.
In a word, purpose of the present invention is exactly by in the medium of storage music file firmware being set, when the flash memory 2 of inside is impaired, also can normally use portable audio, when carrying out firmware upgrade, the firmware stores that will upgrade is in medium in advance, and deletion afterwards is stored in the old firmware of volatile storage 2, write the firmware that to upgrade then, thereby can stably use audio devices.
As previously mentioned, the present invention be will upgrading firmware be stored in advance and finish its upgrading in the digital storage media, so not only reduce the expense of product, can also get rid of simultaneously in escalation process because the critical failure of the mancarried device that mistake takes place.
Though the present invention describes with reference to current specific embodiment, but those of ordinary skill in the art will be appreciated that, above embodiment is used for illustrating the present invention, should understand and wherein can make variations and modifications and do not break away from the present invention in a broad sense, so be not as limitation of the invention, as long as in connotation scope of the present invention, all will drop in the scope of claims of the present invention variation, the distortion of the above embodiment.

Claims (6)

1. the firmware upgrade method of a digital player is characterized in that comprising following process:
The 1st process is, at certain area stores firmware of medium;
The 2nd process is that supply power judges from the actuating section unloading startup sign indicating number of flash memory whether the firmware of described flash memory is effective;
The 3rd process is, in the judged result of described the 2nd process, if the firmware of described flash memory is effective, just with the old firmware stores of described flash memory storage in described medium, delete the old firmware of storing in the described flash memory, from PC, latest firmware is stored in described flash memory; With
The 4th process is that as the upgrading starting point, at first the firmware that will upgrade writes medium, and then the firmware that will upgrade writes described flash memory as if the firmware that will store in described flash memory or the medium.
2. the firmware upgrade method of digital player as claimed in claim 1 is characterized in that, and is if the firmware of described flash memory is invalid that the firmware unloading that is stored in the described medium is good, playing music.
3. the firmware upgrade method of digital player as claimed in claim 1 is characterized in that, the firmware of flash memory is invalid as described, and the user is reproduced in PC with latest firmware in the guide look of internet; After the firmware deletion that is stored in the described flash memory, the above-mentioned latest firmware that is reproduced in PC of storage in described flash memory; To be stored in after the old firmware deletion of described medium, the latest firmware that is stored in described flash memory is written into described medium.
4. the firmware upgrade method of digital player as claimed in claim 3 is characterized in that, after the old firmware that is stored in described medium was deleted, the latest firmware of coming was reprinted in storage from PC.
5. the firmware upgrade method of digital player as claimed in claim 2 is characterized in that, if there is not firmware in the described medium, announces this thing, informs the user.
6. the firmware upgrade method of digital player as claimed in claim 1 is characterized in that, described the 3rd process comprises following process: the firmware stores that will upgrade is in described medium; To be stored in after the old firmware deletion of described flash memory, the new firmware that will upgrade writes.
CNB031041558A 2002-09-29 2003-02-14 Firmware upgrading method of digital player Expired - Fee Related CN100371913C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031041558A CN100371913C (en) 2002-09-29 2003-02-14 Firmware upgrading method of digital player

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN02137274.8 2002-09-29
CN02137274 2002-09-29
CNB031041558A CN100371913C (en) 2002-09-29 2003-02-14 Firmware upgrading method of digital player

Publications (2)

Publication Number Publication Date
CN1485851A CN1485851A (en) 2004-03-31
CN100371913C true CN100371913C (en) 2008-02-27

Family

ID=34195452

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031041558A Expired - Fee Related CN100371913C (en) 2002-09-29 2003-02-14 Firmware upgrading method of digital player

Country Status (1)

Country Link
CN (1) CN100371913C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101980164A (en) * 2010-11-16 2011-02-23 北京航天测控技术开发公司 Method and device for updating firmware of local area network extension for instrument (LXI) instrument

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101119320B1 (en) * 2005-04-29 2012-03-15 엘지전자 주식회사 Apparatus and method of firmware updating for movable storage apparatus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000250747A (en) * 1999-03-04 2000-09-14 Matsushita Electric Ind Co Ltd Program rewriting method for microcomputer, microcomputer and audio equipment using the same
JP2001188686A (en) * 1999-10-22 2001-07-10 Sony Corp Data rewriting device, control method, and recording medium
JP2001331319A (en) * 2000-05-19 2001-11-30 Juki Corp Equipment control system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000250747A (en) * 1999-03-04 2000-09-14 Matsushita Electric Ind Co Ltd Program rewriting method for microcomputer, microcomputer and audio equipment using the same
JP2001188686A (en) * 1999-10-22 2001-07-10 Sony Corp Data rewriting device, control method, and recording medium
JP2001331319A (en) * 2000-05-19 2001-11-30 Juki Corp Equipment control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101980164A (en) * 2010-11-16 2011-02-23 北京航天测控技术开发公司 Method and device for updating firmware of local area network extension for instrument (LXI) instrument

Also Published As

Publication number Publication date
CN1485851A (en) 2004-03-31

Similar Documents

Publication Publication Date Title
KR100564672B1 (en) Storage device, data recording method and data reading method
US6662269B1 (en) Data rewriting apparatus, control method, and recording medium
CN100371913C (en) Firmware upgrading method of digital player
JP4731325B2 (en) Recording medium, data processing apparatus, and data processing method
JP2007249155A (en) Method of managing media file and media playback apparatus
JP3928724B2 (en) Recording medium recording control method and recording medium recording control apparatus
JP3858538B2 (en) Flash memory data management device
US20030007783A1 (en) Recording/reproducingdisk control device and disc apparatus comprising the same
JP5027805B2 (en) MEMORY CONTROLLER, NONVOLATILE STORAGE DEVICE, AND NONVOLATILE STORAGE DEVICE SYSTEM
JP2001344096A (en) Information processor and method for controlling the same and recording medium
JP2004206742A (en) Recording or reproducing device
KR20020088573A (en) Firmware upgrade method for digital player
JP2007102437A (en) Information processing system, information processor and information processing method
KR0132134B1 (en) Flash card for use in a digital karaoke system
KR100390486B1 (en) File name recording method for digital data player
JP2859205B2 (en) Data recording device and data recording method for flash memory of portable information processing system
JP3624647B2 (en) Storage device, data management device, data management system, data management method, file management device, recording medium, and file management system
JPH11175383A (en) Data recording device
JP3531438B2 (en) Data management device, data management method, data management system, and external storage device
JP2001331328A (en) Information processor and its method
JP4500562B2 (en) Storage device, in-vehicle device, and control method of storage device
JP2004252746A (en) Recording control method and device for recording medium, and electronic equipment
KR100502711B1 (en) Method for recovering a recorded data in a portable storage device
JPH1186512A (en) Data rewriting method for optical disk
JPH11327810A (en) Data transfer device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080227

Termination date: 20140214