CN1967480A - Firmware loading method and apparatus - Google Patents

Firmware loading method and apparatus Download PDF

Info

Publication number
CN1967480A
CN1967480A CN 200510124794 CN200510124794A CN1967480A CN 1967480 A CN1967480 A CN 1967480A CN 200510124794 CN200510124794 CN 200510124794 CN 200510124794 A CN200510124794 A CN 200510124794A CN 1967480 A CN1967480 A CN 1967480A
Authority
CN
China
Prior art keywords
firmware
electronic installation
data
stores assembly
firmware stores
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.)
Pending
Application number
CN 200510124794
Other languages
Chinese (zh)
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.)
BenQ Corp
Original Assignee
BenQ Corp
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 BenQ Corp filed Critical BenQ Corp
Priority to CN 200510124794 priority Critical patent/CN1967480A/en
Publication of CN1967480A publication Critical patent/CN1967480A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a firmware loading method and device of electronic devices. The firmware loading method of electronic devices includes: when electronic devices boots, detecting whether a firmware storage component of the electronic device stores data; and when there is no stored data in the said firmware storage component, launches the function of an in-system-programming (ISP), to receive the firmware data transmitted externally, and replicate to the firmware storage component.

Description

Firmware loading method and device
Technical field
The present invention relates to a kind of firmware update and device, particularly relate to and a kind ofly can not store the firmware update and the device of the firmware storage of data by online programming (insystem programming).
Background technology
Firmware is in the electronic installation, and software program is burnt in a firmware storage, for example in the hardware read-only chip, for having the hardware of software in a kind of.Firmware might be special program code, and for example: machine language (Machine Language) procedure stores is in ROM (read-only memory) (ROM) chip, so that processor (processor) takes at any time, and still can preserve behind computer shutdown.
The online programming device is one can receive outside renewal firmware data, and it is burned onto the electronic installation of this firmware storage.Utilize the online programming device, user or maintenance personal can upgrade the firmware data of this computing machine under the situation of not taking off the firmware stores assembly.
Fig. 1 has the calcspar of the electronic installation 10 of online programming device for tradition one.Electronic installation 10 comprises processor 11, firmware stores assembly 12 and online programming device 13.During electronic installation 10 starts, processor 11 to firmware stores assembly 12 program code reads are made initial setting, so this electronic installation can regular event.When electronic installation 10 need be done the firmware data renewal, the online programmer 13 of processor 11 controls started, and receives outside renewal firmware data, and it is burned onto this firmware stores assembly 12.
Traditional electronic installation, before the firmware stores assembly is set to this electronic installation, must be in the effective firmware data of firmware stores assembly burning in advance.This is because if no datat in the firmware stores assembly, and processor can't initial setting, and this electronic installation can't move.Therefore this online programming device can't be accepted the processor startup, so that can't receive outside renewal firmware data.
Summary of the invention
The invention provides the firmware loading method of an electronic installation, comprising: when this electronic installation start, detect a firmware stores assembly of this electronic installation and whether store data; And when this firmware stores assembly does not have the storage data, start an online programming function, the outside firmware data that transmits of reception also is burned onto in the firmware stores assembly.
The present invention provides an electronic installation to comprise in addition: a processor; One firmware stores assembly; One online programming device; And a pick-up unit, this pick-up unit detects a firmware stores assembly and whether stores data when electronic installation is started shooting; Do not have storage during data detecting this firmware stores assembly, this pick-up unit notifies this online programming device to start to receive the outside firmware data that transmits and to be burned onto in this firmware stores assembly.
Supplementary features of the present invention and advantage have part to mention in will being described below, and have part will be because of narration hereinafter apparent or can do the present invention's acquistion via real.The assembly of the mechanism that feature of the present invention and advantage will particularly point out in will being narrated by patent claim and combination are understood and are obtained.
Aforesaid schematic illustration of this paper and following only being described in detail with being demonstration and explaining the present invention are not in order to limit the present invention that claim defined.
Additional icon is contained in and constitutes the part of this specification, icon several embodiment of the present invention, and follow character narrate to be used for explaining principle of the present invention together.
Description of drawings
The present invention will be than being easier to overall understanding by the diagram of the attached detailed description in back, and it is only for the usefulness of diagram but not the present invention is limited to the diagram scope.
Fig. 1 has the calcspar of the electronic installation 10 of online programming device for tradition one.
Fig. 2 is for having the calcspar of the electronic installation 20 of online programming device according to an embodiment of the invention.
Fig. 3 is for having the calcspar of the electronic installation 30 of online programming device according to another embodiment of the present invention.
The reference numeral explanation
11,21,31 processors
12,22,32 firmware stores assemblies
13,23,33 online programming devices
24,34 pick-up units
Embodiment
Fig. 2 is for having the calcspar of the electronic installation 20 of online programming device according to an embodiment of the invention.Electronic installation 20 comprises processor 21, firmware stores assembly 22, online programming device 23 and a pick-up unit 24.
Pick-up unit 24 detects whether storing firmware data of this firmware stores assembly 22 when 20 starts of this electronic installation.Storage is arranged during data when pick-up unit 24 detects this firmware stores assembly 22, notification processor 21 is done the normal boot-strap action.When pick-up unit 24 detected these firmware stores assembly 22 nothing storage data, this pick-up unit 24 notified this online programming device 23 to start to receive the outside firmware data that transmits and to be burned onto in this firmware stores assembly 22.
If firmware stores assembly 22 is burning data not, and its content is generally each position and is logic " 1 ".The storage space of one electronic installation all can be planned an address section, uses for the firmware data in processor or other electronic package access firmware stores assembly.According to the difference of employed processor, can distribute to the different sector address of firmware stores assembly.First requirement of sending after the processor start is and reads data that belong in the memory address of this firmware stores assembly.The memory address of this first requirement is commonly referred to as the initial address of this processor.If the firmware stores assembly is burning data, the storage space content of this initial address just can not be logic for each position " 1 ".Whether judge the firmware stores assembly mode of burning data, be generally the storage space of the initial address sensing of reading this processor, whether all positions are logic to its content " 1 ".
Pick-up unit 24 detect this firmware stores assembly 22 whether the mode of storing firmware data can be: the content that reads a memory address of this electronic installation 20, and be logic in each value of the content of this memory address " 1 " time, judge this firmware stores assembly 22 no datat.Wherein, this memory address is the initial address of this processor 21.
When in this firmware stores assembly 22 the storing firmware data being arranged, processor 21 can be controlled online programmer 23 and start when electronic installation 20 need be done the firmware data renewal, receives outside renewal firmware data, and it is burned onto this firmware stores assembly 22.
This online programming device 23 can be after firmware data be updated to this firmware stores assembly 22, sends a reset signal this electronic installation 20 of resetting, and makes the firmware data initial setting again after electronic installation 20 1 upgrades, and can regular event.
Fig. 3 is for having the calcspar of the electronic installation 30 of online programming device according to another embodiment of the present invention.Electronic installation 30 comprises processor 31, firmware stores assembly 32, online programming device 33 and a pick-up unit 34.Wherein, the initial address of this processor 31 is 0.
Pick-up unit 34 comprises and door 341 and 344, rejection gate 343 and reverser 342.Rejection gate 34 is connected to firmware address bus A[0..N] on, wherein N+1 is the bits number of firmware address bus.Be connected to firmware data bus D[0..M with door 341] on, wherein M+1 is the bits number of firmware data bus.Reverser 342 is connected to and reads enable signal RE.Be connected to and door 341, rejection gate 343 and reverser 342 with door 341.
When electronic installation 30 start, processor 31 can to the firmware handle device send as an envoy to the address be 0 send initial address 0 to firmware address bus A[0..N] on.Processor 31 sends in addition and effectively reads enable signal RE, this moment firmware address bus A[0..N] and read enable signal RE and be ' 0 ', the accurate position of logic.Rejection gate 343 and reverser 342 are received the signal of ' 0 ', the accurate position of these logics, can send the result of ' 1 ', the accurate position of logic.If this moment, the firmware stores assembly 32 was sent to firmware data bus D[0..M] on each position of data be logic ' 1 ', then with door 341 ' 1 ' that is output as logic, then the input with door 344 is logic ' 1 ' entirely, and the signal of output logic ' 1 ' is to online programming device 33.During the signal of online programming device 33 is being received logic ' 1 ', start online programing function, receive outside renewal firmware data, and it is burned onto this firmware stores assembly 32.
By embodiments of the invention, the firmware stores assembly directly is arranged in the electronic installation when portion does not store data as yet within it.So can be in process of production, before being omitted in part and being arranged to electronic installation, in the step of firmware stores assembly burning firmware data; Then can be in the shipment test organization of production line, in the mode of online programming with firmware loads.Because the system hardware assembling may differ very of a specified duration with the date of shipment, the firmware data of burning has in advance often needed to remake a renewal when shipment and has handled.Utilize this embodiment of the present invention, electronic installation only needs to do in the shipment test organization of production line the online programming of a updated firmware data, saves production cost.
Though the present invention discloses as above with preferred embodiment; right its is not in order to limit the present invention; anyly have the knack of this skill person; without departing from the spirit and scope of the present invention; when can doing a little change and retouching, so protection scope of the present invention is as the criterion when looking accompanying the claim person of defining.

Claims (6)

1. the firmware loading method of an electronic installation comprises:
When this electronic installation start, detect a firmware stores assembly of this electronic installation and whether store data; And
When this firmware stores assembly does not have the storage data, start an online programming function, the outside firmware data that transmits of reception also is burned onto in the firmware stores assembly.
2. the firmware loading method of electronic installation as claimed in claim 1, wherein, it reads the content of a memory address of this electronic installation, and when each value of the content of this memory address is logical one, judges this firmware stores assembly no datat; This memory address is determined by a processor of this electronic installation.
3. the firmware loading method of electronic installation as claimed in claim 1, wherein, its further the firmware stores module data is burned finish after, this electronic installation of resetting is so that this electronic installation regular event.
4. an electronic installation comprises:
One processor;
One firmware stores assembly;
One online programming device; And
One pick-up unit, this pick-up unit detect a firmware stores assembly and whether store data when electronic installation is started shooting; Do not have storage during data detecting this firmware stores assembly, this pick-up unit notifies this online programming device to start to receive the outside firmware data that transmits and to be burned onto in this firmware stores assembly.
5. electronic installation as claimed in claim 4, wherein, this pick-up unit reads the content of a memory address of this electronic installation, and is logic in each value of the content of this memory address " 1 " time, judge this firmware stores assembly no datat; This memory address is determined by this processor.
6. as claimed in claim 4 at the sequence of threads electronic installation, wherein, this online programming device further the firmware stores module data is burned finish after, this electronic installation of resetting is so that this electronic installation regular event.
CN 200510124794 2005-11-15 2005-11-15 Firmware loading method and apparatus Pending CN1967480A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200510124794 CN1967480A (en) 2005-11-15 2005-11-15 Firmware loading method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200510124794 CN1967480A (en) 2005-11-15 2005-11-15 Firmware loading method and apparatus

Publications (1)

Publication Number Publication Date
CN1967480A true CN1967480A (en) 2007-05-23

Family

ID=38076272

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200510124794 Pending CN1967480A (en) 2005-11-15 2005-11-15 Firmware loading method and apparatus

Country Status (1)

Country Link
CN (1) CN1967480A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101373435B (en) * 2007-08-24 2013-09-18 联发科技股份有限公司 Processing system capable of downloading firmware and being tested and processing method thereof
CN106775796A (en) * 2015-11-25 2017-05-31 大唐移动通信设备有限公司 A kind of firmware upgrade method, apparatus and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101373435B (en) * 2007-08-24 2013-09-18 联发科技股份有限公司 Processing system capable of downloading firmware and being tested and processing method thereof
CN106775796A (en) * 2015-11-25 2017-05-31 大唐移动通信设备有限公司 A kind of firmware upgrade method, apparatus and system
CN106775796B (en) * 2015-11-25 2020-04-03 大唐移动通信设备有限公司 Firmware upgrading method, device and system

Similar Documents

Publication Publication Date Title
US10002251B2 (en) Bootstrap OS protection and recovery
CN1118750C (en) Initializing and restarting operating systems
US6711675B1 (en) Protected boot flow
US7734945B1 (en) Automated recovery of unbootable systems
US9665469B2 (en) System and method of runtime downloading of debug code and diagnostics tools in an already deployed baseboard management controller (BMC) devices
US6725178B2 (en) Use of hidden partitions in a storage device for storing BIOS extension files
CN1237443C (en) Method and device for setting break point on regulating integrated executable program of isomeric system structure
US6502208B1 (en) Method and system for check stop error handling
US6880113B2 (en) Conditional hardware scan dump data capture
US20010039612A1 (en) Apparatus and method for fast booting
US20020194313A1 (en) Method and apparatus for distributing computer platform firmware across a network
CN1799028A (en) Booting from non-volatile memory
US6763456B1 (en) Self correcting server with automatic error handling
US7941658B2 (en) Computer system and method for updating program code
TW200414041A (en) Method and system for maintaining firmware versions in a data processing system
FR2792740A1 (en) RESTORABLE SOFTWARE INSTALLATION METHOD AND DEVICE FOR A COMPUTER SYSTEM
US9928079B2 (en) Conditional processor auto boot with no boot loader when coupled with a nonvolatile memory
US20030051114A1 (en) Executing large device firmware programs
CN1967480A (en) Firmware loading method and apparatus
CN100476745C (en) Method for implementing automatic fault-tolerance of image file in Linux operating system booting process
US6216225B1 (en) PC system having flash-ROM controlling device and method for protecting BIOS stored in flash-ROM
CN1673959A (en) Loading system and method
CN1797360A (en) System and method for testing reliability of memory
US20070016761A1 (en) Method, apparatus, and computer program product for implementing enhanced system behavior control
TW201015296A (en) Method for auto-testing environment variable setting

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication