CN101196819A - Method for chip self-adapting start equipment of system on chip - Google Patents

Method for chip self-adapting start equipment of system on chip Download PDF

Info

Publication number
CN101196819A
CN101196819A CNA2006101572997A CN200610157299A CN101196819A CN 101196819 A CN101196819 A CN 101196819A CN A2006101572997 A CNA2006101572997 A CN A2006101572997A CN 200610157299 A CN200610157299 A CN 200610157299A CN 101196819 A CN101196819 A CN 101196819A
Authority
CN
China
Prior art keywords
chip
equipment
starting
starting outfit
identification code
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.)
Granted
Application number
CNA2006101572997A
Other languages
Chinese (zh)
Other versions
CN101196819B (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.)
Guangzhou Ankai Microelectronics Co.,Ltd.
Original Assignee
SHENZHEN ANYKA MICROELECTRONICS TECHNOLOGY 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 ANYKA MICROELECTRONICS TECHNOLOGY Co Ltd filed Critical SHENZHEN ANYKA MICROELECTRONICS TECHNOLOGY Co Ltd
Priority to CN200610157299A priority Critical patent/CN101196819B/en
Publication of CN101196819A publication Critical patent/CN101196819A/en
Application granted granted Critical
Publication of CN101196819B publication Critical patent/CN101196819B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method of a self-adaptive starting equipment of a SOC chip, which comprises the following steps: step A: Positioning inside the SOC chip with a starting equipment marking code, distributing the marking code to the equipment assisting starting of SOC; step B: powering up the system, entering the starting equipment enumeration process, the SOC chip enumerates the starting equipment; step C: matching the obtained marking code of the starting equipment by enumerating the starting equipment with the marking code positioned inside the SOC chip, so as to make sure whether the marking codes are effective; step D: recording equipment with effective marking code; step E: the SOC chip finds the set starting equipment, the system enters the starting process. The invention has the beneficial effects of realizing self-adaption method of various starting equipments without adding any additional circuits, solving the problem of adopted complex hardware circuit for adapting to different starting modes and reducing the hardware cost and SOC cost of the system.

Description

A kind of method of chip self-adapting start equipment of system on chip
[technical field]
The present invention relates generally to a kind of method of starting outfit, especially the method for chip self-adapting start equipment of system on chip.
[background technology]
Current, along with the development of portable product with popularize, increasing portable system begins to adopt on-chip system chip (SOC:system-on-chip) to come the simplified system design, reduces system cost.Be to guarantee the versatility of SOC, SOC need support from USB (universal serial bus) (USB:Universal Serial Bus), with the non-volatile type flash memories of non-type (Nandflash), the non-volatile type flash memories of serial line interface (Serial Flash), universal asynchronous receiver and transmitter (uart) and the non-volatile type flash memories device starts such as (Norflash) of or/no type.Because different application systems need adopt different Starting mode, same system can adopt different Starting mode under different situations, for adapting to different Starting mode, need in The Hardware Design and SOC design, increase complicated circuit to meet the demands.
At present, for supporting various starting outfit, existing SOC implementation method has following two kinds:
Method one: be similar to the Starting mode of PC (personal computer, PC), its system architecture please refer to Fig. 1.The implementation of this method is: at the external generally starting memory device of SOC, this generally starting memory device can be various non-volatile type flash memories (flash) or read-only type storer (ROM:read-only-memory).When system start-up, SOC is reading system log-on message from universal storage device at first, according to system start-up information, determines system obtains remaining log-on data from which kind of equipment, to finish startup.But the realization of method one need increase extra generally starting memory device, has increased system cost, and needs SOC to provide special purpose interface to support the generally starting memory device, has increased the cost expense of SOC; The starting outfit of change system that can't be real-time, the starting outfit of system is determined by the generally starting memory device fully.
Method two: use the external starting outfit base pin selection of SOC to select starting outfit, its system architecture please refer to Fig. 2.The implementation of this method is: when system start-up, select starting outfit according to the combination of external starting outfit base pin selection.But the selection that the realization of method two needs SOC to provide extra pin to be used for starting outfit has increased the cost of SOC; Realize real-time modification starting outfit by designing extra circuit, increased the cost of system.
[summary of the invention]
The object of the present invention is to provide a kind of method of chip self-adapting start equipment of system on chip, this method has reduced the complexity of system cost and system, and can select starting outfit automatically according to the state of system.
In order to solve the problems of the technologies described above, the technical solution used in the present invention comprises a kind of method of chip self-adapting start equipment of system on chip, may further comprise the steps: steps A: built-in starting outfit identification code in on-chip system chip, identification code is distributed to the equipment of supporting that on-chip system chip starts; Step B: system powers on, and enters the starting outfit enumeration process, and on-chip system chip is enumerated starting outfit; Step C: by enumerating the identification code that starting outfit obtains starting outfit, mate, to determine whether the being effective recognition sign indicating number with the identification code character that on-chip system chip is built-in; Step D: noting identification code is effective equipment; Step e: on-chip system chip finds the starting outfit of setting, and system enters start-up course.
This method also comprises: described steps A further comprises: identification code is made as identical value or identification code is generated as different values according to the algorithm of determining, corresponding different startup priority.
This method also comprises: in described step e, in case the effectively start equipment that on-chip system chip is set to find is the starting outfit of setting, finish enumeration process, enter start-up course.
This method also comprises: in described step e, on-chip system chip is set to have enumerated the starting outfit of all supports, find out all effective starting outfits, finish enumeration process, then according to the priority of the identification code of effectively start equipment sign, find out effective starting outfit, enter start-up course.
The technical solution used in the present invention also comprises a kind of method of chip self-adapting start equipment of system on chip, may further comprise the steps: steps A: with on-chip system chip not the general purpose input/output port of usefulness identify each starting outfit, and the boot sequence of equipment; Step B: system powers on, and enters the starting outfit enumeration process, and on-chip system chip is enumerated starting outfit; Step C: by enumerating the identification code that starting outfit obtains starting outfit, mate, to determine whether the being effective recognition sign indicating number with the identification code character that on-chip system chip is built-in; Step D: noting identification code is effective equipment: step e: on-chip system chip finds the starting outfit of setting, and system enters start-up course.
Adopt technique scheme, in conjunction with the following embodiment that will describe in detail, beneficial technical effects of the present invention is: the present invention utilizes the built-in instruction stream of SOC, remove to enumerate each possible starting outfit, in case find effective starting outfit then stop search, begin to start from effective starting outfit; And the modification of external starting outfit can be identified automatically, thereby modification that can be real-time according to starting outfit, automatically start from appointed equipment, realize the various starting outfits of self-adaptation and do not need to increase the method for any additional circuit, solved problem, reduced the hardware cost and the SOC cost of system for the complicated hardware circuit that adapts to different Starting mode needs employings.
Feature of the present invention and advantage will be elaborated in conjunction with the accompanying drawings by embodiment.
[description of drawings]
Fig. 1 is existing system architecture reference diagram at the external generally starting memory device of SOC.
Fig. 2 selects the system architecture reference diagram of starting outfit for the external starting outfit base pin selection of existing use SOC.
Fig. 3 is the process flow diagram of the method for chip self-adapting start equipment of system on chip of the present invention.
[embodiment]
Core concept of the present invention is: utilize the built-in instruction stream of SOC, remove to enumerate each possible starting outfit, in case find effective starting outfit then stop search, begin to start from effective starting outfit; And the modification of external starting outfit can be identified automatically, thereby the modification according to starting outfit that can be real-time starts from appointed equipment automatically.
As shown in Figure 3, be the process flow diagram of the method for chip self-adapting start equipment of system on chip of the present invention.The method of this chip self-adapting start equipment of system on chip may further comprise the steps:
Step 100: built-in one group of starting outfit identification code in SOC, simultaneously identification code is distributed to the equipment of supporting that SOC starts, the allocation scheme that this identification code distributes is: simple system applies can be made as all identification codes identical value, complicated application can be generated as different values according to the algorithm of determining with identification code, corresponding different startup priority;
Step 110: when system powers on the back, at first enter the starting outfit enumeration process;
The built-in instruction stream of step 120:SOC begins to enumerate each possible starting outfit;
Step 130: by enumerating the identification code that starting outfit obtains starting outfit, mate with the identification code character that SOC is built-in, to determine whether the being effective recognition sign indicating number, the equipment that contains the effective recognition sign indicating number is effective starting outfit, if determine it is the effective recognition sign indicating number, then forward step 140 to,, then forward step 150 to if determine it is not the effective recognition sign indicating number;
Step 140: note this equipment;
Step 150: whether the judgment device enumeration process is finished, if enumeration process is finished, then forwards step 160 to, if enumeration process is not finished, then forwards step 120 to;
Step 160: when enumerate finish after, SOC finds the starting outfit of setting, system enters start-up course.
For simple system applies, in case the effectively start equipment that can be set to find is the starting outfit of setting, and finish enumeration process, enter start-up course; For the system applies of complexity, then need to have enumerated the starting outfit of all supports, find out all effective starting outfits, could finish enumeration process, according to the priority of the identification code of effectively start equipment sign, find out effective starting outfit then, enter start-up course.
A concrete application of the method for chip self-adapting start equipment of system on chip of the present invention: some application systems support USB to start and Nandflash starts.Under normal mode, USB is connecting system not, only can enumerate Nandflash during system start-up, therefore directly starts from Nandflash, in case Nandflash damages, then system can't start, and with the USB connecting system, then the USB startup can be enumerated by system under this kind state, after the USB startup, can repair Nandflash, the method for chip self-adapting start equipment of system on chip of the present invention does not need to revise any software and hardware setting, can finish the reparation to system.
Another embodiment of the method for chip self-adapting start equipment of system on chip of the present invention is: the method for this chip self-adapting start equipment of system on chip by the SOC chip not the general purpose input/output port (GPIO:generalpurpose input/output) of usefulness replace identification code, identify each starting outfit, and the boot sequence of equipment.
The above; only for the preferable concrete true mode of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claims.

Claims (8)

1. the method for a chip self-adapting start equipment of system on chip is characterized in that, may further comprise the steps:
Steps A: built-in starting outfit identification code in on-chip system chip, identification code is distributed to the equipment of supporting that on-chip system chip starts;
Step B: system powers on, and enters the starting outfit enumeration process, and on-chip system chip is enumerated starting outfit;
Step C: by enumerating the identification code that starting outfit obtains starting outfit, mate, to determine whether the being effective recognition sign indicating number with the identification code character that on-chip system chip is built-in;
Step D: noting identification code is effective equipment;
Step e: on-chip system chip finds the starting outfit of setting, and system enters start-up course.
2. the method for chip self-adapting start equipment of system on chip as claimed in claim 1, it is characterized in that: described steps A further comprises: identification code is made as identical value or identification code is generated as different values according to the algorithm of determining, corresponding different startup priority.
3. the method for chip self-adapting start equipment of system on chip as claimed in claim 1 or 2, it is characterized in that: in described step e, in case the effectively start equipment that on-chip system chip is set to find is the starting outfit of setting, finish enumeration process, enter start-up course.
4. the method for chip self-adapting start equipment of system on chip as claimed in claim 1 or 2, it is characterized in that: in described step e, on-chip system chip is set to have enumerated the starting outfit of all supports, find out all effective starting outfits, finish enumeration process, according to the priority of the identification code of effectively start equipment sign, find out effective starting outfit then, enter start-up course.
5. the method for a chip self-adapting start equipment of system on chip is characterized in that, may further comprise the steps:
Steps A: with on-chip system chip not the general purpose input/output port of usefulness identify each starting outfit, and the boot sequence of equipment;
Step B: system powers on, and enters the starting outfit enumeration process, and on-chip system chip is enumerated starting outfit;
Step C: by enumerating the identification code that starting outfit obtains starting outfit, mate, to determine whether the being effective recognition sign indicating number with the identification code character that on-chip system chip is built-in;
Step D: noting identification code is effective equipment;
Step e: on-chip system chip finds the starting outfit of setting, and system enters start-up course.
6. the method for chip self-adapting start equipment of system on chip as claimed in claim 5, it is characterized in that: described steps A further comprises: identification code is made as identical value or identification code is generated as different values according to the algorithm of determining, corresponding different startup priority.
7. as the method for claim 5 or 6 described chip self-adapting start equipment of system on chip, it is characterized in that: in described step e, in case the effectively start equipment that on-chip system chip is set to find is the starting outfit of setting, finish enumeration process, enter start-up course.
8. as the method for claim 5 or 6 described chip self-adapting start equipment of system on chip, it is characterized in that: in described step e, on-chip system chip is set to have enumerated the starting outfit of all supports, find out all effective starting outfits, finish enumeration process, according to the priority of the identification code of effectively start equipment sign, find out effective starting outfit then, enter start-up course.
CN200610157299A 2006-12-06 2006-12-06 Method for chip self-adapting start equipment of system on chip Active CN101196819B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200610157299A CN101196819B (en) 2006-12-06 2006-12-06 Method for chip self-adapting start equipment of system on chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200610157299A CN101196819B (en) 2006-12-06 2006-12-06 Method for chip self-adapting start equipment of system on chip

Publications (2)

Publication Number Publication Date
CN101196819A true CN101196819A (en) 2008-06-11
CN101196819B CN101196819B (en) 2010-05-26

Family

ID=39547253

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200610157299A Active CN101196819B (en) 2006-12-06 2006-12-06 Method for chip self-adapting start equipment of system on chip

Country Status (1)

Country Link
CN (1) CN101196819B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010145478A1 (en) * 2009-06-19 2010-12-23 中兴通讯股份有限公司 Method and device for initiating system on chip
CN102279757A (en) * 2010-06-11 2011-12-14 无锡中星微电子有限公司 Method and device for starting system program
CN103106371A (en) * 2011-11-10 2013-05-15 联想(北京)有限公司 Method and device for protecting safety of data
CN103793252A (en) * 2014-02-20 2014-05-14 山东超越数控电子有限公司 Method for improving function of USB interface
CN105117652A (en) * 2015-10-09 2015-12-02 天津国芯科技有限公司 SOC starting method based on NAND Flash
CN106528123A (en) * 2016-10-26 2017-03-22 珠海全志科技股份有限公司 SoC (System on a Chip) startup method and device based on eFuse module
US9672185B2 (en) 2013-09-27 2017-06-06 International Business Machines Corporation Method and system for enumerating digital circuits in a system-on-a-chip (SOC)
CN112148374A (en) * 2020-08-20 2020-12-29 瑞芯微电子股份有限公司 SoC chip starting sequence control method and system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9766899B2 (en) 2015-12-28 2017-09-19 Google Inc. Bootloader control via device identifier

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002037288A2 (en) * 2000-10-31 2002-05-10 Koninklijke Philips Electronics N.V. Extension for the advanced microcontroller bus architecture (amba)
CN100485648C (en) * 2004-11-30 2009-05-06 天津曙光计算机产业有限公司 On-chip system
CN1851668A (en) * 2006-06-01 2006-10-25 北京天碁科技有限公司 Sheet system chip, sheet system chip tracking debug system and method

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101930373A (en) * 2009-06-19 2010-12-29 中兴通讯股份有限公司 Method and device for starting system on chip
WO2010145478A1 (en) * 2009-06-19 2010-12-23 中兴通讯股份有限公司 Method and device for initiating system on chip
CN102279757A (en) * 2010-06-11 2011-12-14 无锡中星微电子有限公司 Method and device for starting system program
CN102279757B (en) * 2010-06-11 2016-08-17 无锡中感微电子股份有限公司 The method and device that a kind of system program starts
CN103106371A (en) * 2011-11-10 2013-05-15 联想(北京)有限公司 Method and device for protecting safety of data
CN103106371B (en) * 2011-11-10 2016-12-28 联想(北京)有限公司 A kind of method and apparatus protecting data safety
US10394752B2 (en) 2013-09-27 2019-08-27 International Business Machines Corporation Method and system for enumerating digital circuits in a system-on-a-chip (SOC)
US10628376B2 (en) 2013-09-27 2020-04-21 International Business Machines Corporation Method and system for enumerating digital circuits in a system-on-a-chip (SOC)
US10628375B2 (en) 2013-09-27 2020-04-21 International Business Machines Corporation Method and system for enumerating digital circuits in a system-on-a-chip (SOC)
US9672185B2 (en) 2013-09-27 2017-06-06 International Business Machines Corporation Method and system for enumerating digital circuits in a system-on-a-chip (SOC)
US10423570B2 (en) 2013-09-27 2019-09-24 International Business Machines Corporation Method and system for enumerating digital circuits in a system-on-a-chip (SOC)
CN103793252A (en) * 2014-02-20 2014-05-14 山东超越数控电子有限公司 Method for improving function of USB interface
CN105117652B (en) * 2015-10-09 2018-12-04 天津国芯科技有限公司 A kind of SOC starting method based on NAND Flash
CN105117652A (en) * 2015-10-09 2015-12-02 天津国芯科技有限公司 SOC starting method based on NAND Flash
CN106528123A (en) * 2016-10-26 2017-03-22 珠海全志科技股份有限公司 SoC (System on a Chip) startup method and device based on eFuse module
CN112148374A (en) * 2020-08-20 2020-12-29 瑞芯微电子股份有限公司 SoC chip starting sequence control method and system

Also Published As

Publication number Publication date
CN101196819B (en) 2010-05-26

Similar Documents

Publication Publication Date Title
CN101196819B (en) Method for chip self-adapting start equipment of system on chip
JP3110949U (en) USB connector with card detector
CN102200923B (en) Method of booting host device from MMC/SD device and associated devices
KR101832953B1 (en) Remote wakeup of application processor of mobile device
US6681991B1 (en) Card reading device having a multi-functional connector
CN103345407B (en) Control circuit, connection controller, connection control method and mainboard
CN103761129B (en) Method of implementing SDIO (secure digital input/output) interface drive in Boot loader layer
CN103098039A (en) High-speed peripheral-device interconnected-bus port configuration method and apparatus
CN111966626B (en) Server starting device and method based on ESPI bus
CN102073602A (en) Computer system, connection control device as well as connecting and disconnecting method
CN111756858A (en) Remote development processing system, method and device of embedded equipment
EP2290554B1 (en) Management of a configuration of a USB device
US20030200472A1 (en) Computer and power supply controlling method
CN101788946B (en) Method and device for sintering firmware connected with E2PROM (Electrically Erasable Programmable Read-Only Memory) on CPLD (Complex Programable Logic Device)
CN108958837B (en) Method, system and medium for dynamically configuring ME firmware
CN116821043A (en) Soft and hard integrated application extension device of Internet of things operating system and application thereof
US8341334B2 (en) Flash memory apparatus and method for operating the same and data storage system
JP2009252109A (en) Memory card control device
KR20080083928A (en) Multifunctional portable usb hub equipment and using it method of data backup
US10430367B1 (en) Systems and methods for optimal placement of information handling resource
CN112433971A (en) Structure, method and medium for realizing processor self-adaptive SATA and NVME M.2
CN103226479B (en) Electronic apparatus system and electronic equipment
CN110888680A (en) Starting method and system of embedded processor
US7447899B2 (en) Method for conserving system resources
CN110286741B (en) Solid state disk system-on-chip power consumption management method and 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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 510600, Guangzhou Science City, Guangdong science Road, 182 innovation building, C1 District, 3 floor

Patentee after: Guangzhou Ankai Microelectronics Co.,Ltd.

Address before: 510600, Guangzhou Science City, Guangdong science Road, 182 innovation building, C1 District, 3 floor

Patentee before: ANYKA (GUANGZHOU) MICROELECTRONICS TECHNOLOGY Co.,Ltd.

CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 510555 No. 107 Bowen Road, Huangpu District, Guangzhou, Guangdong

Patentee after: Guangzhou Ankai Microelectronics Co.,Ltd.

Address before: 510600, Guangzhou Science City, Guangdong science Road, 182 innovation building, C1 District, 3 floor

Patentee before: Guangzhou Ankai Microelectronics Co.,Ltd.