CN106610842A - Method and device for controlling chip to enter different modes - Google Patents

Method and device for controlling chip to enter different modes Download PDF

Info

Publication number
CN106610842A
CN106610842A CN201510695087.3A CN201510695087A CN106610842A CN 106610842 A CN106610842 A CN 106610842A CN 201510695087 A CN201510695087 A CN 201510695087A CN 106610842 A CN106610842 A CN 106610842A
Authority
CN
China
Prior art keywords
input
chip
output foot
mode
state
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
CN201510695087.3A
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.)
SHENZHEN BOJUXING INDUSTRIAL DEVELOPMENT Co Ltd
Original Assignee
SHENZHEN BOJUXING INDUSTRIAL DEVELOPMENT 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 SHENZHEN BOJUXING INDUSTRIAL DEVELOPMENT Co Ltd filed Critical SHENZHEN BOJUXING INDUSTRIAL DEVELOPMENT Co Ltd
Priority to CN201510695087.3A priority Critical patent/CN106610842A/en
Publication of CN106610842A publication Critical patent/CN106610842A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

The invention relates to the technical field of chip mode control, in particular to a method and device for controlling a chip to enter different modes. The method for controlling the chip to enter different modes comprises the steps of judging states of a first input/output end and a second input/output end; and entering a corresponding mode according to the states of the first input/output end and the second input/output end. According to the method, the chip can be controlled to enter different working modes by judging the states of two arbitrary ordinary input/output pins on the chip, a special pin is not needed to be additionally arranged, resources are saved, and time is also saved.

Description

A kind of control chip enters the method and device of different mode
Technical field
The present invention relates to chip mode control technology field, more particularly to a kind of control chip enters different mode Method and device.
Background technology
Typically, integrated chip (IC) has multiple-working mode, such as test pattern, burning pattern.Cause This, is generally provided with multiple specific pins in integrated chip, foot, burning foot are such as tested, by these Specific pin can control integrated chip into corresponding mode of operation.
But this traditional chip operation mode control method needs to arrange multiple specific pins on chip, One specific pin can enter a kind of mode of operation with control chip, this control method not only lost time but also Waste of resource.
The content of the invention
It is an object of the invention to provide a kind of method that control chip enters different mode, it is intended to solve tradition Chip operation mode control method not only lost time but also the problem of waste of resource.
The present invention is achieved in that a kind of method that control chip enters different mode, the control chip Method into different mode includes:
Judge the state of the chip the first input and output foot and the second input and output foot;
The chip is controlled according to the state of the first input and output foot and the second input and output foot to enter Corresponding pattern.
Further, phase is entered according to the state of the first input and output foot and the second input and output foot The pattern answered is specially:
If the first input and output foot and the second input and output foot are high level, the chip is controlled Into normal startup mode;
If the first input and output foot is high level, the second input and output foot is low level, controls institute Chip is stated into burning pattern;
If the first input and output foot is low level, controls the chip and enter initial testing mode.
Further, if being low level in the first input and output foot, the chip enters initial testing mould After formula, methods described also includes:
Judge whether the chip first powers on, if being judged as NO, control the chip and enter normal Start-up mode;
If being judged as YES, the state of the second input and output foot is judged;
The chip is controlled according to the state of the second input and output foot and enters corresponding pattern.
Further, the state for judging the second input and output foot, according to second input and output The state of foot controls the chip and is specially into corresponding pattern:
If the second input and output foot is continuously high level, controls the second input and output foot and be constantly in Waiting state;
If the second input and output foot is low level, controls the chip and enter test selection pattern.
Further, after controlling the chip and entering test selection pattern, methods described also includes:
Judge the state of the first input and output foot;
According to the state of the first input and output foot, control the chip and enter corresponding module, specially:
If the first input and output foot is high level, controls the chip and enter test pattern on plate;
If the first input and output foot is low level, controls the chip and enter volume production test pattern.
Another object of the present invention is also resided in and provides the device that a kind of control chip enters different mode, the control Coremaking piece enters the device of different mode to be included:
First judge module, for judging the shape of the chip the first input and output foot and the second input and output foot State;
First mode control module, for according to the first input and output foot and the second input and output foot State control the chip and enter corresponding pattern.
Further, the mode control module includes:
First mode select unit, if equal for the first input and output foot and the second input and output foot For high level, control the chip and enter normal startup mode;
Second mode select unit, if being high level for the first input and output foot, second input Output pin is low level, controls the chip and enters burning pattern;
3rd mode selecting unit, if being low level for the first input and output foot, controls the chip Into initial testing mode.
Further, the control chip also includes into the device of different mode:
Second judge module, for judging whether the chip first powers on, if being judged as NO, institute State chip and enter normal startup mode;
3rd judge module, for when second judge module is judged as YES, judging second input The state of output pin;
Second mode control module, enters for controlling the chip according to the state of the second input and output foot Enter corresponding pattern.
Further, the second mode control module includes:
Fourth mode select unit, if being continuously high level for the second input and output foot, control is described Second input and output foot is constantly in waiting state;
5th mode selecting unit, if being low level for the second input and output foot, controls the chip Into test selection pattern.
Further, the control chip also includes into the device of different mode:
4th judge module, for judging the state of the first input and output foot;
3rd mode control module, for according to the state of the first input and output foot, controlling the chip Into corresponding module;
3rd mode control module includes:
6th mode selecting unit, if being high level for the first input and output foot, controls the chip The test pattern on plate;
7th mode selecting unit, if being low level for the first input and output foot, controls the chip Into volume production test pattern.
In the present invention, the control chip includes into the method for different mode:Chip completes analog reset Decision procedure state is entered afterwards;Judge the state of the chip the first input and output foot and the second input and output foot; Corresponding pattern is entered according to the state of the first input and output foot and the second input and output foot.At this In invention, by the state for judging the common input and output foot of any two on chip, then the core is can control Piece enters different mode of operations, without arranging specific pin in addition, when not only having economized on resources but also having saved Between.
Description of the drawings
Fig. 1 is the flow chart of the method that control chip provided in an embodiment of the present invention enters different mode;
Fig. 2 is the module map of the device that control chip provided in an embodiment of the present invention enters different mode.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, below in conjunction with accompanying drawing and reality Example is applied, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only Only to explain the present invention, it is not intended to limit the present invention.
First embodiment
First embodiment of the invention provides a kind of method that control chip enters different mode.
Fig. 1 shows that control chip provided in an embodiment of the present invention enters the flow chart of the method for different mode. For convenience of description, illustrate only the part related to the embodiment of the present invention.
In step s 2, the state of the chip the first input and output foot and the second input and output foot is judged;
Judge the height of the chip the first input and output foot and the second input and output foot level.
Used as one embodiment of the invention, before step S2, methods described also includes:
Step S1:Chip completes to enter decision procedure state after analog reset;
As one embodiment of the invention, with the control chip into different mode method when use Two input and output feet, i.e., two input and output pins of optional chip are defined as the first input and output foot and Two input and output feet, during beginning, the first input and output foot and the second input and output foot acquiescence are pulled up, After chip completes analog reset, the first input and output foot and the second input and output foot are entered and sentenced Determine program state.
In step s3, controlled according to the state of the first input and output foot and the second input and output foot The chip enters corresponding pattern.It is specific as follows:
Step S31:If the first input and output foot and the second input and output foot are high level, control Make the chip and enter normal startup mode, i.e., described chip normal work.
Step S33:If the first input and output foot is high level, the second input and output foot is low electricity It is flat, control the chip and enter burning pattern.
Under burning pattern, can be by the internal processes memory element of software program programming to the chip, such as Programming is to FLASH (flash memory), OPT (One Time Programmable, One Time Programmable) etc..
Step S32:If the first input and output foot is low level, controls the chip and enter initial testing Pattern.
After step S32 (i.e. described chip enters initial testing mode), methods described also includes:
Step S4:Judge whether the chip first powers on, if being judged as NO, control the chip Into normal startup mode, if being judged as YES, execution step S5:Judge the second input and output foot State.
When into initial testing mode, judge whether the chip is that the purpose for first powering on is:Prevent Chip enters by mistake through other patterns in normal reset rather than during power-off reset.
Step S62:If the second input and output foot is continuously high level, second input is controlled Output pin is constantly in waiting state;Purpose is to when volume production is tested after, accomplish controllable Testing time.
Step S61:If the second input and output foot is low level, controls the chip and enter test selection Pattern.
After controlling the chip and entering test selection pattern, execution step S7:Judge first input The state of output pin;
Step S81:If the first input and output foot is high level, controls the chip and enter test on plate Pattern;
Step S82:If the first input and output foot is low level, controls the chip and test into volume production Pattern.
Second embodiment
The second embodiment of the present invention provides the device that a kind of control chip enters different mode.
Fig. 2 shows the module map of chip provided in an embodiment of the present invention.For convenience of description, illustrate only The part related to the embodiment of the present invention.
As shown in Fig. 2 a kind of control chip enters the device of different mode, including:
First judge module 1, for judging the chip the first input and output foot and the second input and output foot State.Judge the height of the chip the first input and output foot and the second input and output foot level.
As one embodiment of the invention, with the control chip into different mode method when use Two input and output feet, i.e., two input and output pins of optional chip are defined as the first input and output foot and Two input and output feet, during beginning, the first input and output foot and the second input and output foot acquiescence are pulled up, After chip completes analog reset, the first input and output foot and the second input and output foot are entered and sentenced Determine program state.
First mode control module 2, for according to the first input and output foot and second input and output The state of foot controls the chip and enters corresponding pattern.
Used as one embodiment of the invention, mode control module 2 includes:
First mode select unit 21, if for the first input and output foot and the second input and output foot High level is, the chip is controlled and is entered normal startup mode.
Second mode select unit 22, if being high level for the first input and output foot, described second is defeated It is low level to enter output pin, controls the chip and enters burning pattern.Under burning pattern, can be by software , to the internal processes memory element of the chip, such as programming is to FLASH (flash memory), OPT (One for program burn writing Time Programmable, One Time Programmable) etc..
3rd mode selecting unit 23, if being low level for the first input and output foot, controls the core Piece enters initial testing mode.
Used as one embodiment of the invention, the control chip enters the device of different mode also to be included:
Second judge module 3, for judging whether the chip first powers on, if being judged as NO, The chip enters normal startup mode.
3rd judge module 4, for when second judge module is judged as YES, judging that described second is defeated Enter the state of output pin.
Second mode control module 5, for controlling the chip according to the state of the second input and output foot Into corresponding pattern.
When into initial testing mode, judge whether the chip is that the purpose for first powering on is:Prevent Chip enters by mistake through other patterns in normal reset rather than during power-off reset.
Used as one embodiment of the invention, second mode control module 5 includes:
Fourth mode select unit 51, if being continuously high level for the second input and output foot, controls institute State the second input and output foot and be constantly in waiting state.
5th mode selecting unit 52, if being low level for the second input and output foot, controls the core Piece enters test selection pattern.
Used as one embodiment of the invention, the control chip enters the device of different mode also to be included:
4th judge module 6, for judging the state of the first input and output foot.
3rd mode control module 7, for according to the state of the first input and output foot, controlling the core Piece enters corresponding module.
3rd mode control module 7 includes:
6th mode selecting unit 71, if being high level for the first input and output foot, controls the core Piece enters test pattern on plate.
7th mode selecting unit 72, if being low level for the first input and output foot, controls the core Piece enters volume production test pattern.
In the present invention, the control chip includes into the method for different mode:Chip completes analog reset Decision procedure state is entered afterwards;Judge the state of the chip the first input and output foot and the second input and output foot; Corresponding pattern is entered according to the state of the first input and output foot and the second input and output foot.At this In invention, by the state for judging the common input and output foot of any two on chip, then the core is can control Piece enters different mode of operations, without arranging specific pin in addition, when not only having economized on resources but also having saved Between.
One of ordinary skill in the art will appreciate that:The step of realizing said method embodiment or part steps can To be completed by the related hardware of programmed instruction, aforesaid program can be stored in embodied on computer readable storage In medium, the program upon execution, performs the step of including said method embodiment, and aforesaid storage is situated between Matter includes:ROM, RAM, magnetic disc or CD etc. are various can be with the medium of store program codes.
Presently preferred embodiments of the present invention is the foregoing is only, it is all at this not to limit the present invention Any modification, equivalent and improvement made within bright spirit and principle etc., should be included in the present invention Protection domain within.

Claims (10)

1. a kind of method that control chip enters different mode, it is characterised in that the control chip is entered not Include with the method for pattern:
Judge the state of the chip the first input and output foot and the second input and output foot;
The chip is controlled according to the state of the first input and output foot and the second input and output foot to enter Corresponding pattern.
2. the method that control chip as claimed in claim 1 enters different mode, it is characterised in that according to The state of the first input and output foot and the second input and output foot controls the chip and enters corresponding mould Formula is specially:
If the first input and output foot and the second input and output foot are high level, the chip is controlled Into normal startup mode;
If the first input and output foot is high level, the second input and output foot is low level, controls institute Chip is stated into burning pattern;
If the first input and output foot is low level, controls the chip and enter initial testing mode.
3. the method that control chip as claimed in claim 2 enters different mode, it is characterised in that if The first input and output foot is low level, controls the chip and enters after initial testing mode, the side Method also includes:
Judge whether the chip first powers on, if being judged as NO, the control chip is entered and normally opened Dynamic model formula;
If being judged as YES, the state of the second input and output foot is judged;
The chip is controlled according to the state of the second input and output foot and enters corresponding pattern.
4. the method that control chip as claimed in claim 3 enters different mode, it is characterised in that described Judge the state of the second input and output foot, the core is controlled according to the state of the second input and output foot Piece is specially into corresponding pattern:
If the second input and output foot is continuously high level, controls the second input and output foot and be constantly in Waiting state;
If the second input and output foot is low level, controls the chip and enter test selection pattern.
5. the method that control chip as claimed in claim 4 enters different mode, it is characterised in that in control Make the chip to enter after test selection pattern, methods described also includes:
Judge the state of the first input and output foot;
According to the state of the first input and output foot, control the chip and enter corresponding module, specially:
If the first input and output foot is high level, controls the chip and enter test pattern on plate;
If the first input and output foot is low level, controls the chip and enter volume production test pattern.
6. a kind of control chip enters the device of different mode, it is characterised in that the control chip is entered not Include with the device of pattern:
First judge module, for judging the shape of the chip the first input and output foot and the second input and output foot State;
First mode control module, for according to the first input and output foot and the second input and output foot State control the chip and enter corresponding pattern.
7. control chip as claimed in claim 6 enters the device of different mode, it is characterised in that described Mode control module includes:
First mode select unit, if equal for the first input and output foot and the second input and output foot For high level, control the chip and enter normal startup mode;
Second mode select unit, if being high level for the first input and output foot, second input Output pin is low level, controls the chip and enters burning pattern;
3rd mode selecting unit, if being low level for the first input and output foot, controls the chip Into initial testing mode.
8. control chip as claimed in claim 7 enters the device of different mode, it is characterised in that described Control chip enters the device of different mode also to be included:
Second judge module, for judging whether the chip first powers on, if being judged as NO, institute State chip and enter normal startup mode;
3rd judge module, for when second judge module is judged as YES, judging second input The state of output pin;
Second mode control module, enters for controlling the chip according to the state of the second input and output foot Enter corresponding pattern.
9. control chip as claimed in claim 8 enters the device of different mode, it is characterised in that described Second mode control module includes:
Fourth mode select unit, if being continuously high level for the second input and output foot, control is described Second input and output foot is constantly in waiting state;
5th mode selecting unit, if being low level for the second input and output foot, controls the chip Into test selection pattern.
10. control chip as claimed in claim 9 enters the device of different mode, it is characterised in that institute State control chip also includes into the device of different mode:
4th judge module, for judging the state of the first input and output foot;
3rd mode control module, for according to the state of the first input and output foot, controlling the chip Into corresponding module;
3rd mode control module includes:
6th mode selecting unit, if being high level for the first input and output foot, controls the chip The test pattern on plate;
7th mode selecting unit, if being low level for the first input and output foot, controls the chip Into volume production test pattern.
CN201510695087.3A 2015-10-23 2015-10-23 Method and device for controlling chip to enter different modes Pending CN106610842A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510695087.3A CN106610842A (en) 2015-10-23 2015-10-23 Method and device for controlling chip to enter different modes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510695087.3A CN106610842A (en) 2015-10-23 2015-10-23 Method and device for controlling chip to enter different modes

Publications (1)

Publication Number Publication Date
CN106610842A true CN106610842A (en) 2017-05-03

Family

ID=58612664

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510695087.3A Pending CN106610842A (en) 2015-10-23 2015-10-23 Method and device for controlling chip to enter different modes

Country Status (1)

Country Link
CN (1) CN106610842A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110888766A (en) * 2019-11-18 2020-03-17 珠海泰芯半导体有限公司 Chip starting method
CN111176192A (en) * 2020-01-20 2020-05-19 珠海亿智电子科技有限公司 Flow control system, method and device for controlling chip starting flow

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060152246A1 (en) * 2004-05-24 2006-07-13 John Tucker Method and apparatus for configuring the operation of an integrated circuit
CN1904829A (en) * 2005-07-29 2007-01-31 联想(北京)有限公司 Method and system for implementing multi-mode controlling mode switching
CN103116522A (en) * 2013-01-31 2013-05-22 广州海格通信集团股份有限公司 Kernel dynamic switching method and control system of digital signal processing (DSP) chip

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060152246A1 (en) * 2004-05-24 2006-07-13 John Tucker Method and apparatus for configuring the operation of an integrated circuit
CN1904829A (en) * 2005-07-29 2007-01-31 联想(北京)有限公司 Method and system for implementing multi-mode controlling mode switching
CN103116522A (en) * 2013-01-31 2013-05-22 广州海格通信集团股份有限公司 Kernel dynamic switching method and control system of digital signal processing (DSP) chip

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110888766A (en) * 2019-11-18 2020-03-17 珠海泰芯半导体有限公司 Chip starting method
CN111176192A (en) * 2020-01-20 2020-05-19 珠海亿智电子科技有限公司 Flow control system, method and device for controlling chip starting flow
CN111176192B (en) * 2020-01-20 2023-05-16 珠海亿智电子科技有限公司 Flow control system, method and device for controlling chip starting flow

Similar Documents

Publication Publication Date Title
CN104991782A (en) Method and system for modifying BIOS configuration
CN105279426B (en) Configure the electronic equipment and its correlation technique of application program inter-related task
CN106055368A (en) Application updating method and device
CN110020528A (en) A kind of BMC starting method, apparatus and electronic equipment and storage medium
CN106610842A (en) Method and device for controlling chip to enter different modes
CN105677970A (en) Copper-deficiency automatic supplementing method with no need of repeatedly avoiding copper
CN106201636A (en) A kind of DSP off-chip code dynamic loading method and device
CN102262569A (en) Control method for preventing system basic input output system (BIOS) instability caused by complementary metal oxide semiconductor (CMOS) improper setting
CN105677429A (en) Program burning method, processor and electronic circuit
CN104426709A (en) TR 069 testing method and system
CN105959451A (en) MBN loading method and mobile terminal
CN106547577B (en) Method and device for burning microcontroller chip
CN103365685A (en) Super authority method and super authority device based on android
CN104049717A (en) Power saving control circuit and electronic equipment
CN102999422A (en) Efficient embedded system debugging method
CN104459515A (en) Mainboard production testing method
CN104461603A (en) Information processing method and electronic equipment
CN204087191U (en) A kind of cd-rom recorder
CN105260569A (en) Method of automatically punching ground holes based on CadenceAllegro
CN106200847A (en) Method for realizing Clear CMOS function by ARM platform
CN110413531A (en) Realize IOMT automatic test approach, device, computer equipment and storage medium
US20130061030A1 (en) System capable of booting through a universal serial bus device and method thereof
CN104615387A (en) Vehicle-mounted equipment based on XPE system and design method of vehicle-mounted equipment
CN104572199B (en) The method and apparatus that a kind of No starting item starts
CN105022647B (en) A kind of control method and terminal of application installation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 518000 Shenzhen Nanshan District, Guangdong Province, Guangdong Province, Yuehai Street High-tech Zone Community Science and Technology South Road 18 Shenzhen Bay Science and Technology Eco-Park 12 Skirt Building 732

Applicant after: Shenzhen Bojuxing Microelectronics Technology Co., Ltd.

Address before: 518000 Shenzhen City, Nanshan District Province, a new high tech park, No. 1,, new materials, building D, room four, building

Applicant before: Shenzhen Bojuxing Industrial Development Co., Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170503