CN1151419C - Resetting method of CPU system containing field programmable gate array - Google Patents

Resetting method of CPU system containing field programmable gate array Download PDF

Info

Publication number
CN1151419C
CN1151419C CNB001195506A CN00119550A CN1151419C CN 1151419 C CN1151419 C CN 1151419C CN B001195506 A CNB001195506 A CN B001195506A CN 00119550 A CN00119550 A CN 00119550A CN 1151419 C CN1151419 C CN 1151419C
Authority
CN
China
Prior art keywords
cpu
reset
fpga
finishes
ics
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
CNB001195506A
Other languages
Chinese (zh)
Other versions
CN1321922A (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.)
ZTE Corp
Original Assignee
ZTE 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 ZTE Corp filed Critical ZTE Corp
Priority to CNB001195506A priority Critical patent/CN1151419C/en
Publication of CN1321922A publication Critical patent/CN1321922A/en
Application granted granted Critical
Publication of CN1151419C publication Critical patent/CN1151419C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Electronic Switches (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention discloses a method for resetting a CPU system containing a field programmable gate array, which relates to a reset method of a digital communication system. The method of the present invention comprises the following steps: firstly, after the system is powered on, the programming content is downloaded by FPGA; then, after the FPGA download is completed, a CPU starts resetting in a controlled model; after the CPU reset is completed, the CPU judges whether all ICs are completely reset or not; if false, the CPU continues resetting other ICs in the FPGA and the system until all the ICs are completely reset; after all the ICs are fully reset, all the ICs are removed from the reset state, and the whole system normally operates. The method enhances system reliability.

Description

The cpu system repositioning method that contains field programmable gate array
The present invention relates to a kind of repositioning method of digital communication system, being specifically related to CPU is the system reset method that contains on-site programmable gate array FPGA (Field-programmable GateArray) device of core.
Concerning general cpu system, the usually no specific (special) requirements that resets, the flow process of this repositioning method as shown in Figure 1, common practices is that other integrated circuit (IC) (Integrate Circuit) in the reset signal of CPU and the circuit is directly linked to each other, in cpu reset, reset in the lump other IC.The benefit of this way is to have simplified circuit, has shortened the system reset time, but has also brought weak point: in case that certain IC device work has occurred is undesired, CPU can not make its operate as normal again by this device is resetted separately; Also must satisfy a precondition in addition: the reset time that puts on system must be all longer than the reset time of reset time of CPU or other IC device, total system ability operate as normal, any one IC, especially CPU fully do not reset all unpredictable consequence may occur.
In the digital communication field, system is more complicated all generally, except that CPU, use on-site programmable gate array FPGA and other IC device toward contact.Because the FPGA device tends to be comprised in the minimum system of CPU, if the work of FPGA device is undesired, unpredictable consequence will appear in the system of CPU and control thereof.Therefore, when total system powers on, require FPGA from programmable read only memory PROM (Programmable Read-onlyMemory), to download earlier, require CPU in its downloading process, to remain reset mode simultaneously; After the FPGA download finished, CPU worked through the back that fully resets, and then by CPU the register among the FPGA is provided with initial value, and some application-specific integrated circuit also requires to reset under CPU control or download at last.Each device of system just has strict demand to the order of electrification reset like this, adopts original method that total system is resetted together just to be difficult to the requirement of compliance with system, therefore need do a complete consideration again to the repositioning method of total system.
The purpose of this method is exactly the defective that overcomes the conventional reset method, and the conventional reset method is improved, and provides a kind of simple and reliable method to come the cpu system that contains FPGA is carried out effective electrification reset sequential control, thus the normal operation of the system of assurance.
The key that realizes the object of the invention is to make full use of FPGA can pass through device itself after its program download finishes external pin generation level skip signal from low to high, just can learn that by monitoring this signal FPGA downloads the correct time that finishes, and then remove to control the chip that resets of CPU with this signal, allow CPU begin that resetting of control arranged, so just avoided the uncertainty of FPGA reset time.After the normal operation of CPU, just can control the resetting of FPGA and other IC device, download etc. by the I/O mouth of CPU.
System reset method of the present invention can reduce following steps:
A) after system powers on, download its programming content by FPGA;
B) after wait FPGA downloaded and finishes, CPU began that just resetting of control arranged;
C) after cpu reset finishes, other IC in FPGA and the system is resetted by CPU;
D) judging by CPU whether all IC reset finishes;
E) if do not resetted, repeating step c then), reset until all IC and finish;
F) after all IC all fully reset, break away from reset mode, total system is normally moved.
The cpu system repositioning method that contains FPGA that the present invention proposes, can learn that by the level skip signal FPGA downloads the correct time that finishes, and then remove to control the chip that resets of CPU with this signal, and allow CPU begin that resetting of control arranged, avoided the uncertainty of FPGA reset time.After the normal operation of CPU, just can control the resetting of FPGA and other IC device, download etc. by the I/O mouth of CPU, so just overcome the weak point in the conventional reset method, improved the reliability of system.
Below in conjunction with drawings and Examples, further specify technical scheme of the present invention.
Fig. 1 is a kind of process flow diagram of system reset method commonly used;
Fig. 2 is the process flow diagram of system reset method of the present invention;
Fig. 3 is a system architecture diagram involved in the present invention.
In Fig. 3, be that the FPGA of EPF10K30E is an example with the model of ALTERA company, FPGA download state level output pin is remembered as INIT_D in EPF10K30E.This pin keeps low level in downloading process, finish in case download, and jumps to high level immediately; This pin is received the voltage monitoring end of the chip that resets, and the reset output terminal of the chip that resets connects the input that resets of CPU.Can appoint the I/O mouth of getting CPU, get and this I/O mouth is defined as output pin after fixed, receive the RESET input of FPGA and other IC chip.
Specify the process of utilizing the inventive method to carry out system reset in conjunction with Fig. 2 again:
At first, in step 201, after system powers on, download its programming content by FPGA earlier.This moment, the INIT_D pin was a low level, and it is low that the chip that resets detects voltage, and just output low level always makes CPU and other IC device be in reset mode;
Step 202, after FPGA downloads, CPU begins that just resetting of control arranged, and this moment, INIT_D became high level, after the chip that resets detects, start reseting procedure, can continue this moment to keep being output as low level a period of time so that CPU during this period of time can fully reset, during this period of time after, output becomes high level, and CPU stops to reset;
Step 203, CPU begins to carry out the initialization of self, and with its I/O mouth zero clearing (or set), CPU carries out reset operation to register and other IC of the FPGA inside in the system simultaneously;
Whether step 204 is judged by CPU that all IC reset and is finished; If do not finish, then repeating step 203, and resetting until all IC finishes; Finish in case reset, then with this I/O mouth set (or zero clearing);
Step 205, so far resetting of total system finished.
According to the actual needs of system, can also add corresponding hand-reset and watchdog reset.In case program fleet then forces total system to carry out above-mentioned reseting procedure again by hand-reset and these two kinds of methods of watchdog reset.Now many chips that reset are all entered above-mentioned functions is integrated, only need a CPU provide an I/O mouth regularly to remove the clear terminal of house dog clearly, externally connect a touch-switch simultaneously and get final product.

Claims (2)

1, a kind of cpu system repositioning method that contains field programmable gate array is characterized in that may further comprise the steps:
A) after system powers on, download its programming content (201) by FPGA;
B) after wait FPGA downloaded and finishes, CPU just began to have reset (202) of control;
C) after cpu reset finishes, by CPU to other IC in FPGA and the system reset (203);
D) judge all IC finish (204) that whether reset by CPU;
E) if do not have, repeating step c then) (203), resetting until all IC finishes;
F) after all IC all fully reset, break away from reset mode, total system is normally moved (205).
2, a kind of cpu system repositioning method that contains field programmable gate array as claimed in claim 1 is characterized in that it is to learn by the level skip signal from low to high that monitoring FPGA is produced that described FPGA downloads the correct time that finishes after its program download finishes.
CNB001195506A 2000-07-29 2000-07-29 Resetting method of CPU system containing field programmable gate array Expired - Fee Related CN1151419C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB001195506A CN1151419C (en) 2000-07-29 2000-07-29 Resetting method of CPU system containing field programmable gate array

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB001195506A CN1151419C (en) 2000-07-29 2000-07-29 Resetting method of CPU system containing field programmable gate array

Publications (2)

Publication Number Publication Date
CN1321922A CN1321922A (en) 2001-11-14
CN1151419C true CN1151419C (en) 2004-05-26

Family

ID=4587794

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB001195506A Expired - Fee Related CN1151419C (en) 2000-07-29 2000-07-29 Resetting method of CPU system containing field programmable gate array

Country Status (1)

Country Link
CN (1) CN1151419C (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1308789C (en) * 2002-01-29 2007-04-04 中兴通讯股份有限公司 Reset method
CN100371892C (en) * 2005-01-21 2008-02-27 华为技术有限公司 Field programmable gate array loading method
CN100392559C (en) * 2005-11-01 2008-06-04 中兴通讯股份有限公司 Method for processing control of reset object on single board
CN102567036A (en) * 2010-12-20 2012-07-11 西安奇维测控科技有限公司 Method using FPGA (field programmable gate array) for controlling DSP (digital signal processor) program load running
CN102270028B (en) * 2011-07-21 2013-08-28 曙光信息产业股份有限公司 Automatic Loongson mainboard resetting device based on field programmable gate array (FPGA)
CN107766285B (en) * 2017-09-12 2021-06-01 郑州云海信息技术有限公司 Reset system based on FPGA mounting external storage
CN110399026B (en) * 2019-06-28 2021-12-03 苏州浪潮智能科技有限公司 Multi-source single-output reset method and device based on FPGA and related equipment

Also Published As

Publication number Publication date
CN1321922A (en) 2001-11-14

Similar Documents

Publication Publication Date Title
US4093998A (en) Programming module for programmable controller using a microprocessor
EP0127440A2 (en) Integrated circuit device incorporating a data processing unit and a ROM storing applications program therein
JP2000148226A (en) Device used in industrial process, plant containing plural pieces of the device and simulating method for operation of the plant
CN1151419C (en) Resetting method of CPU system containing field programmable gate array
CN112000351B (en) Updating method, updating device, updating equipment and storage medium of BMC (baseboard management controller) firmware
CN109410828B (en) LED point light source driving method, system and controller
US6414871B1 (en) Systems and methods for programming programmable devices
CN1658161A (en) System with primary application and spare program and starting method
US5195024A (en) Programmable controller
EP1016969B1 (en) Microcontroller provided with support for debugging
KR19990044413A (en) A method of creating and storing a user program of an accumulation program control unit made up of instructions and an operation method of the accumulation program control unit
CN101370218A (en) Electrified test system and method for GSM module
CN112530615B (en) Variable forcing method and system suitable for nuclear power station equipment
EP0393626B1 (en) Microcomputer with a built-in prom
EP1085413A1 (en) Electronic circuit and corresponding method for trimming an IC
CN113342512A (en) IO task silencing and driving method and device and related equipment
CN101356516A (en) Semiconductor integrated circuit, system device including semiconductor integrated circuit, and semiconductor integrated circuit control method
EP1211516B1 (en) Circuit architecture for performing a trimming operation on integrated circuits
EP1174779A1 (en) Method of programming motion controller
EP0528237A2 (en) A method for preparing control program and a preparing apparatus thereof
CN100595737C (en) Program processing device and program processing method
CN1125399C (en) Method and device for prevention interruption of updating BIOS
CN110727216B (en) Data reading method and device of encoder and data reading device
CN107273134A (en) Numerical control program performs method and device
JP3018732B2 (en) Programmable controller

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: ZTE CO., LTD.

Free format text: FORMER NAME OR ADDRESS: SHENZHENG CITY ZTE CO., LTD.

CP03 Change of name, title or address

Address after: 518057 Zhongxing building, science and technology south road, Nanshan District hi tech Industrial Park, Guangdong, Shenzhen

Patentee after: ZTE Corporation

Address before: 518057, Guangdong province Shenzhen Nanshan District hi tech Industrial Park, science and technology south road, ZTE building A block 6 floor of the legal department

Patentee before: Zhongxing Communication Co., Ltd., Shenzhen City

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20040526

Termination date: 20140729

EXPY Termination of patent right or utility model