CN103970551A - Selection method and device for embedded processor start mode - Google Patents

Selection method and device for embedded processor start mode Download PDF

Info

Publication number
CN103970551A
CN103970551A CN201310035144.6A CN201310035144A CN103970551A CN 103970551 A CN103970551 A CN 103970551A CN 201310035144 A CN201310035144 A CN 201310035144A CN 103970551 A CN103970551 A CN 103970551A
Authority
CN
China
Prior art keywords
mode
flush bonding
bonding processor
routine
numerical value
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
CN201310035144.6A
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.)
Anyka Guangzhou Microelectronics Technology Co Ltd
Original Assignee
Anyka Guangzhou 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 Anyka Guangzhou Microelectronics Technology Co Ltd filed Critical Anyka Guangzhou Microelectronics Technology Co Ltd
Priority to CN201310035144.6A priority Critical patent/CN103970551A/en
Publication of CN103970551A publication Critical patent/CN103970551A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention belongs to the technical field of electronic information and provides a selection method and device for an embedded processor start mode. The method comprises the following steps: embedded processor start procedures in a built-in ROM of an embedded processor are read to a memory; the embedded processor start procedures are operated in the memory; according to the address of a nonvolatile erasable storage unit, the start procedures read the quantitative value of the embedded processor start mode stored by the nonvolatile erasable storage unit; according to the quantitative value of the embedded processor start mode, the start procedures search the start mode corresponding to the quantitative value of the embedded processor start mode; according to the start mode, the start procedures call the procedure starting embedded processor corresponding to the start mode. The start procedures read the quantitative value of the start mode in the address of the nonvolatile erasable storage unit, the start mode is confirmed to start the embedded processor, and the embedded processor is started in the manner of lower cost.

Description

A kind of system of selection of flush bonding processor start-up mode and device
Technical field
The invention belongs to electronic information technical field, relate in particular to a kind of system of selection and device of flush bonding processor start-up mode.
Background technology
Flush bonding processor chip great majority all have multiple start-up mode and comprise debugging start-up mode, this three major types start-up mode of storage medium start-up mode and transmission interface start-up mode, and the Starting mode that comprises various difference in functionalitys in this three major types start-up mode, therefore start-up mode be selected to indispensable function of flush bonding processor, prior art provides burning start-up routine mode to determine that processor starts the scheme of selecting, the method that this scheme adopts is to add an erasable Flash storage area in flush bonding processor inside, the start-up mode needing according to user, erasable Flash storage area by corresponding start-up routine direct burning to flush bonding processor inside, thereby realize the selection of any multiboot pattern.
Fig. 1 shows the burning start-up routine mode schematic diagram that prior art provides, in Fig. 1, having list type flash memory to start the various modes such as Serial Flash boot and Nand flash memory startup Nand Boot can select, for example, in the time that user need to use Serial Flash boot start-up mode, the only Flash storage area to flush bonding processor inside by burning program corresponding Serial Flash boot start-up mode.But what prior art provided adds an erasable Flash storage area in flush bonding processor inside, can increase manufacturing cost and the usable floor area of processor chips.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of system of selection and device of flush bonding processor start-up mode, to solve the too high and excessive problem of usable floor area of processor chips manufacturing cost that prior art causes.
Embodiments of the invention are achieved in that a kind of system of selection of flush bonding processor start-up mode, said method comprising the steps of:
Read in the built-in ROM of flush bonding processor flush bonding processor start-up routine to internal memory;
In internal memory, move described flush bonding processor start-up routine;
According to non-volatile erasable memory unit address, start-up routine reads the flush bonding processor start-up mode numerical value of non-volatile erasable cell stores;
According to described flush bonding processor start-up mode numerical value, start-up mode corresponding to start-up routine search flush bonding processor start-up mode numerical value;
According to described start-up mode, start-up routine calls program corresponding to described start-up mode and starts flush bonding processor.
Another object of embodiments of the invention is to provide a kind of selecting arrangement of flush bonding processor start-up mode, and described device comprises:
The first reading unit, for reading the built-in ROM flush bonding processor start-up routine of flush bonding processor to internal memory;
Running unit, for moving described flush bonding processor start-up routine at internal memory;
The second reading unit, for according to non-volatile erasable memory unit address, start-up routine reads the flush bonding processor start-up mode numerical value of non-volatile erasable cell stores;
Search unit, for according to described flush bonding processor start-up mode numerical value, start-up mode corresponding to start-up routine search flush bonding processor start-up mode numerical value;
Start unit, for according to described start-up mode, start-up routine calls program corresponding to described start-up mode and starts flush bonding processor.
The embodiment of the present invention is by storing start-up routine with ROM, read the flush bonding processor start-up mode numerical value of non-volatile erasable cell stores by start-up routine, determine the mode of start-up mode, realize the selection of start-up mode in mode more cheaply.
Brief description of the drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the burning start-up routine mode schematic diagram that prior art provides;
Fig. 2 is the realization flow figure of the system of selection of the flush bonding processor start-up mode that provides of the embodiment of the present invention;
Fig. 3 is the annexation figure that flush bonding processor that another embodiment of the present invention provides enters debugging mode in the time starting unsuccessfully;
Fig. 4 is the modular structure figure of the selecting arrangement of the flush bonding processor start-up mode that provides of another embodiment of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
For technical solutions according to the invention are described, describe below by specific embodiment.
Fig. 2 shows the system of selection realization flow of the flush bonding processor start-up mode that the embodiment of the present invention provides, and details are as follows for the method process:
S11, read in the built-in ROM of flush bonding processor flush bonding processor start-up routine to internal memory.
It should be noted that, because the membership that adds of erasable Flash causes flush bonding processor volume to become large, increase cost, and ROM takies small volume, less on the impact of embedded processing volume, so flush bonding processor start-up routine is stored in ROM, more cost-saving than start-up routine corresponding required start-up mode being burned onto to erasable Flash in prior art.
In the present embodiment, start-up routine comprises leader and start-up routine part corresponding to all patterns, leader is used for reading flush bonding processor start-up mode numerical value, decide program corresponding to that start-up mode of carrying out, start-up routine part corresponding to all patterns comprises the program that all patterns are corresponding, different program corresponding to start-up mode.
S12, in internal memory, move described flush bonding processor start-up routine.
It should be noted that, the flush bonding processor start-up routine in this step refers to the leader of start-up routine.
S13, according to non-volatile erasable memory unit address, start-up routine reads the flush bonding processor start-up mode numerical value of non-volatile erasable cell stores;
It should be noted that, non-volatile erasable unit hangs on the address bus of flush bonding processor chip internal, in the time of described chip internal design, can specify a fixed address to this non-volatile erasable unit, just can obtain the data in described unit by described fixed address; Described start-up mode numerical value mark start-up mode, different start-up mode corresponding to numerical value mark, corresponding which kind of start-up mode of concrete start-up mode numerical value, need to determine according to start-up mode numerical value and the start-up mode corresponding relation of start-up routine the inside.
In embodiments of the present invention, the non-volatile erasable storage unit using can support that single is erasable, also can support repeatedly erasable, support repeatedly erasable unit can realize the replacing of start-up mode, in the time that existing start-up mode need to be changed, can be after existing start-up mode start, add the burning step code numerical value in programming non-volatile memory cells again, processor can enter new start-up mode after re-powering startup next time.Support that the erasable unit of single can only be once erasable, be mainly used in product and confirmed to use certain start-up mode to start.
S14, according to described flush bonding processor start-up mode numerical value, start-up mode corresponding to start-up routine search flush bonding processor start-up mode numerical value;
It should be noted that, in this article, flush bonding processor start-up mode is also referred to as start-up mode; In start-up routine, there are flush bonding processor start-up mode and flush bonding processor start-up mode numerical value mapping table, described mapping table comprises start-up mode field and start-up mode numerical value attribute field, according to the described flush bonding processor start-up mode numerical value obtaining, in the start-up mode numerical value attribute field of mapping table, described numerical value is found in search, and by finding the start-up mode that described numerical value is corresponding in relation table.
S15, according to described start-up mode, start-up routine calls program corresponding to described start-up mode and starts flush bonding processor.
Another embodiment of the present invention provides flush bonding processor start-up mode and the flush bonding processor start-up mode numerical value mapping table in the start-up routine of the flush bonding processor that has 16 start-up mode, specific as follows:
As shown in table 1,16 start-up mode only need 4 bit values all to represent.In the application stage of flush bonding processor, user first writes non-volatile erasable storage unit by 4 start-up mode numerical value according to startup demand.
Non-volatile erasable storage unit only needs 4 binary storage spaces, erasable unit compared to existing technology, and the space taking is little a lot, has saved the cost that flush bonding processor is manufactured.By reading in the start-up mode numerical value in non-volatile erasable storage unit, in the start-up mode numerical value attribute field of start-up routine, search described start-up mode numerical value, and find corresponding start-up mode.In start-up mode numerical value mark, 4'b above represents 4 bit.
Table 1
The annexation that the flush bonding processor that Fig. 3 shows another embodiment of the present invention to be provided enters debugging mode in the time starting unsuccessfully, starts the method that unsuccessfully enters debugging mode and specifically comprises:
When the corresponding peripheral hardware of start-up mode occurs extremely but do not completely lose effect, start-up routine can not execute full-time, and receiving key signal starts flush bonding processor and unsuccessfully enters debugging mode.Start this start-up mode of Serail Flash Boot as example taking list type flash memory, non-volatile memory cells has been configured to Serial Flash and has started, in the time that Serial Flash occurs extremely but does not completely lose effect, can realize subprogram normal operation, but whole program is not moved.Even if re-power or reset and also cannot repair the abnormal of Serial Flash, in this case, switch in Fig. 3 can be connected, clock CLK signal wire is forced to drag down, Serial Flash does not have CLK signal cannot work, and flush bonding processor enters debugging mode automatically after starting unsuccessfully.
Figure 4 shows that another embodiment of the present invention provides the modular structure figure of the selecting arrangement of flush bonding processor start-up mode, for convenience of explanation, only illustrates the part relevant to the embodiment of the present invention.
The selecting arrangement of this flush bonding processor start-up mode comprises:
The first reading unit 21, for reading the built-in ROM flush bonding processor start-up routine of flush bonding processor to internal memory.
Running unit 22, for moving described flush bonding processor start-up routine at internal memory.
The second reading unit 23, for according to non-volatile erasable memory unit address, start-up routine reads the flush bonding processor start-up mode numerical value of non-volatile erasable cell stores.
Search unit 24, for according to described flush bonding processor start-up mode numerical value, start-up mode corresponding to start-up routine search flush bonding processor start-up mode numerical value.
Start unit 25, for according to described start-up mode, start-up routine calls program corresponding to described start-up mode and starts flush bonding processor.
Optionally, the selecting arrangement of described flush bonding processor start-up mode also comprises:
Switch element, for occurring extremely but do not completely lose effect when the corresponding peripheral hardware of start-up mode, start-up routine can not execute full-time, and receiving key signal starts flush bonding processor and unsuccessfully enters debugging mode.
The selecting arrangement of the flush bonding processor start-up mode that the present embodiment provides can use the system of selection in the flush bonding processor start-up mode of aforementioned correspondence, and details, referring to the associated description of said method embodiment, do not repeat them here.
One of ordinary skill in the art will appreciate that and just divide according to function logic for above-described embodiment included modules, but be not limited to above-mentioned division, as long as can realize corresponding function; In addition, the concrete title of each functional module also, just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
Those of ordinary skill in the art it is also understood that, the all or part of step realizing in above-described embodiment method is can carry out the hardware that instruction is relevant by program to complete, described program can be in the read/write memory medium that is stored in device, and described storage medium, comprises ROM/RAM etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (4)

1. a system of selection for flush bonding processor start-up mode, is characterized in that, described method comprises:
Read in the built-in ROM of flush bonding processor flush bonding processor start-up routine to internal memory;
In internal memory, move described flush bonding processor start-up routine;
According to non-volatile erasable memory unit address, start-up routine reads the flush bonding processor start-up mode numerical value of non-volatile erasable cell stores;
According to described flush bonding processor start-up mode numerical value, start-up mode corresponding to start-up routine search flush bonding processor start-up mode numerical value;
According to described start-up mode, start-up routine calls program corresponding to described start-up mode and starts flush bonding processor.
2. the method for claim 1, is characterized in that, described method also comprises:
When the corresponding peripheral hardware of start-up mode occurs extremely but do not completely lose effect, start-up routine can not execute full-time, and receiving key signal starts flush bonding processor and unsuccessfully enters debugging mode.
3. a selecting arrangement for flush bonding processor start-up mode, is characterized in that, described device comprises:
The first reading unit, for reading the built-in ROM flush bonding processor start-up routine of flush bonding processor to internal memory;
Running unit, for moving described flush bonding processor start-up routine at internal memory;
The second reading unit, for according to non-volatile erasable memory unit address, start-up routine reads the flush bonding processor start-up mode numerical value of non-volatile erasable cell stores;
Search unit, for according to described flush bonding processor start-up mode numerical value, start-up mode corresponding to start-up routine search flush bonding processor start-up mode numerical value;
Start unit, for according to described start-up mode, start-up routine calls program corresponding to described start-up mode and starts flush bonding processor.
4. device as claimed in claim 3, is characterized in that, described device also comprises:
Switch element, for occurring extremely but do not completely lose effect when the corresponding peripheral hardware of start-up mode, start-up routine can not execute full-time, and receiving key signal starts flush bonding processor and unsuccessfully enters debugging mode.
CN201310035144.6A 2013-01-29 2013-01-29 Selection method and device for embedded processor start mode Pending CN103970551A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310035144.6A CN103970551A (en) 2013-01-29 2013-01-29 Selection method and device for embedded processor start mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310035144.6A CN103970551A (en) 2013-01-29 2013-01-29 Selection method and device for embedded processor start mode

Publications (1)

Publication Number Publication Date
CN103970551A true CN103970551A (en) 2014-08-06

Family

ID=51240091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310035144.6A Pending CN103970551A (en) 2013-01-29 2013-01-29 Selection method and device for embedded processor start mode

Country Status (1)

Country Link
CN (1) CN103970551A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105730376A (en) * 2016-02-17 2016-07-06 吴伟民 Debugging method and system for vehicle electronic equipment
CN107885536A (en) * 2017-11-30 2018-04-06 建荣半导体(深圳)有限公司 Startup method, embeded processor and the storage device of a kind of embeded processor
CN110888680A (en) * 2019-11-26 2020-03-17 珠海泰芯半导体有限公司 Starting method and system of embedded processor
CN114691227A (en) * 2022-04-25 2022-07-01 紫光计算机科技有限公司 Multi-mode starting method and device of BIOS (basic input output System), electronic equipment and storage medium
CN115220978A (en) * 2022-09-19 2022-10-21 瀚博半导体(上海)有限公司 Chip starting method and device including online debugging mode, chip and equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101561857A (en) * 2009-04-28 2009-10-21 苏州国芯科技有限公司 Multi-mode startup safety embedded system
CN102073517A (en) * 2009-11-23 2011-05-25 中兴通讯股份有限公司 Upgrading and backup method and device for embedded system
CN102567049A (en) * 2011-12-09 2012-07-11 惠州市德赛西威汽车电子有限公司 Upgrade method of embedded operating system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101561857A (en) * 2009-04-28 2009-10-21 苏州国芯科技有限公司 Multi-mode startup safety embedded system
CN102073517A (en) * 2009-11-23 2011-05-25 中兴通讯股份有限公司 Upgrading and backup method and device for embedded system
CN102567049A (en) * 2011-12-09 2012-07-11 惠州市德赛西威汽车电子有限公司 Upgrade method of embedded operating system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105730376A (en) * 2016-02-17 2016-07-06 吴伟民 Debugging method and system for vehicle electronic equipment
CN107885536A (en) * 2017-11-30 2018-04-06 建荣半导体(深圳)有限公司 Startup method, embeded processor and the storage device of a kind of embeded processor
CN110888680A (en) * 2019-11-26 2020-03-17 珠海泰芯半导体有限公司 Starting method and system of embedded processor
CN110888680B (en) * 2019-11-26 2022-08-05 珠海泰芯半导体有限公司 Starting method and system of embedded processor
CN114691227A (en) * 2022-04-25 2022-07-01 紫光计算机科技有限公司 Multi-mode starting method and device of BIOS (basic input output System), electronic equipment and storage medium
CN115220978A (en) * 2022-09-19 2022-10-21 瀚博半导体(上海)有限公司 Chip starting method and device including online debugging mode, chip and equipment

Similar Documents

Publication Publication Date Title
US9317418B2 (en) Non-volatile memory storage apparatus, memory controller and data storing method
US9891838B2 (en) Method of operating a memory system having a meta data manager
CN101625897B (en) Data write-in method, storage system and controller used for quick flash memory
US9176865B2 (en) Data writing method, memory controller, and memory storage device
CN104008061A (en) Internal memory recovery method and device
US20090248965A1 (en) Hybrid flash memory device and method of controlling the same
US20070081401A1 (en) Apparatus for controlling flash memory and method thereof
CN103970551A (en) Selection method and device for embedded processor start mode
CN101169760B (en) Electronic hard disk storage room management method
KR20040076589A (en) Memory card
US8074128B2 (en) Block management and replacement method, flash memory storage system and controller using the same
US20120166706A1 (en) Data management method, memory controller and embedded memory storage apparatus using the same
CN103136111A (en) Data writing method, memorizer controller and memorizer storage device
KR20100092752A (en) Nonvolatile memory device having a buffer ram and boot code management method thereof
CN103218300B (en) Data processing method, Memory Controller and memorizer memory devices
US20200371716A1 (en) Method for performing sudden power off recovery management, associated memory device and controller thereof, and associated electronic device
CN100477009C (en) NAND FLASH memory device
CN103106148A (en) Block management method, storage controller and storage storing device
CN102800357A (en) Program code loading and accessing methods, memory controller and storage device of memory
CN102855145B (en) Starting method and starting system of embedding type electronic device
CN102543184B (en) Memorizer memory devices, its Memory Controller and method for writing data
CN102591738B (en) Data managing method, Memory Controller and in-line memory storage device
CN103186470A (en) Memory storage device and memory controller and data writing method thereof
CN103218308A (en) Buffer memory management method, memory controller and memory storage device
CN102117245A (en) Embedded device and method for loading and starting operation of cutting system executable file thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140806