CN109558176A - A kind of double Qi Fangfa based on Flash inside CPLD - Google Patents

A kind of double Qi Fangfa based on Flash inside CPLD Download PDF

Info

Publication number
CN109558176A
CN109558176A CN201811449853.8A CN201811449853A CN109558176A CN 109558176 A CN109558176 A CN 109558176A CN 201811449853 A CN201811449853 A CN 201811449853A CN 109558176 A CN109558176 A CN 109558176A
Authority
CN
China
Prior art keywords
cpld
flash
programming
programming data
memory blocks
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
CN201811449853.8A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811449853.8A priority Critical patent/CN109558176A/en
Publication of CN109558176A publication Critical patent/CN109558176A/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/4401Bootstrapping
    • G06F9/4406Loading of operating system

Abstract

The invention discloses a kind of double Qi Fangfa based on Flash inside CPLD, comprising the following steps: by the built-in Flash of CPLD, is divided into Flash-0 and two memory blocks of Flash-1;Two kinds of programming datas are distinguished into imprinting to two memory blocks;The programming data of one of memory block in two memory blocks is selected to move the RAM built-in to CPLD, to reach the bis- Qi Gongneng of CPLD.A kind of double Qi Fangfa based on Flash inside CPLD provided in an embodiment of the present invention, have the advantages that and reduce costs, be not required in addition increase a Flash to reach double startup function;Avoid CPLD can not starting problem, have mechanism inside entanglement due to unknown cause of CPLD programming data 0, CPLD and programming data 1 directly used to start;Different programming datas can be started according to different demands, two different programming datas can be used to go to test different circuit respectively to different research and development or measuring unit in the circuit development phase.

Description

A kind of double Qi Fangfa based on Flash inside CPLD
Technical field
The present invention relates to a kind of double Qi Fangfa based on Flash inside CPLD.
Background technique
CPLD is widely used to the design of server, in order to avoid CPLD programming data because unknown cause entanglement then can not Normal starting, so all starting to want to support double startup function using CPLD at present, but tradition CPLD is to reach double startup function The storage that a Flash does another log-on data need to can be in addition hung, cost is very high.
Summary of the invention
In view of the foregoing deficiencies of prior art, the purpose of the present invention is to provide one kind based on Flash inside CPLD Double Qi Fangfa, reduce costs, avoid CPLD can not starting problem, solve problem of the prior art.
In order to achieve the above objects and other related objects, the present invention provides a kind of double Qi Fang based on Flash inside CPLD Method, comprising the following steps:
By the built-in Flash of CPLD, it is divided into Flash-0 and two memory blocks of Flash-1;
Two kinds of programming datas are distinguished into imprinting to two memory blocks;
The programming data of one of memory block in two memory blocks is selected to move the RAM built-in to CPLD, to reach To the bis- Qi Gongneng of CPLD.
Preferably, the programming data of one of memory block in two memory blocks of the selection is moved built-in to CPLD RAM the step for specifically include: Flash-0 store programming data 0, Flash-1 store programming data 1, if 0 He of programming data Entanglement due to unknown cause of 1 one of programming data, then move another normal programming data to RAM and realize that CPLD's is normal Starting.
Preferably, the programming data of one of memory block in two memory blocks of the selection is moved built-in to CPLD RAM the step for specifically include: when two programming datas in two memory blocks are normal, can according to different demands, lead to Default Initiated Mechanism is crossed, the programming data of one of memory block is selected to move the RAM built-in to CPLD, to realize according to difference Demand starts different programming datas.
Preferably, the RAM, storage by Flash move Lai programming data, and by the digital logic unit in CPLD, It is compiled into the digital circuitry functions of user's design.
Preferably, two kinds of programming datas are distinguished to imprinting in a manner of JTAG In-System Programming to described Two memory blocks.
As described above, a kind of double Qi Fangfa based on Flash inside CPLD provided in an embodiment of the present invention, have with following Beneficial effect: reducing costs, and is not required in addition increase a Flash to reach double startup function;It avoids CPLD and can not start and ask Topic, has mechanism inside entanglement due to unknown cause of CPLD programming data 0, CPLD and programming data 1 is directly used to start;It can Start different programming datas according to different demands, two different programming datas can be used to go test different in the circuit development phase Circuit respectively give different research and development or measuring unit.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art Speech, without any creative labor, is also possible to obtain other drawings based on these drawings.
Fig. 1 is flow chart of the invention;
Fig. 2 is that one kind provided by the invention specifically opens method flow diagram based on the double of Flash inside CPLD;
Fig. 3 is that another kind provided by the invention specifically opens method flow diagram based on the double of Flash inside CPLD;
Specific embodiment
Technical solution in order to enable those skilled in the art to better understand the present invention, below in conjunction with of the invention real The attached drawing in example is applied, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described implementation Example is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, this field is common Technical staff's every other embodiment obtained without making creative work, all should belong to protection of the present invention Range.
As shown in Figure 1, the present invention provides a kind of double Qi Fangfa based on Flash inside CPLD, comprising the following steps:
S101, by the built-in Flash of CPLD, be divided into Flash-0 and two memory blocks of Flash-1;
Built-in Flash is divided into two storage regions by software program.
S102, two kinds of programming datas are distinguished into imprinting to two memory blocks;
As a preferred embodiment, two kinds of programming datas are in a manner of JTAG In-System Programming Imprinting is distinguished to two memory blocks.
S103, the programming data of one of memory block in two memory blocks is selected to move the RAM built-in to CPLD, To reach the bis- Qi Gongneng of CPLD.
The RAM, storage by Flash move Lai programming data be compiled into and by the digital logic unit in CPLD The digital circuitry functions of user's design.
Referring to fig. 2, Fig. 2 is a kind of specific double flow charts for opening method provided by the embodiment of the present invention.
Referring to fig. 2, in embodiments of the present invention, it opens method based on the double of Flash inside CPLD and includes:
S201, by the built-in Flash of CPLD, be divided into Flash-0 and two memory blocks of Flash-1;This step with it is upper It is essentially identical to state S101 in inventive embodiments, detailed content please refers to foregoing invention embodiment, is no longer repeated herein.
S202, two kinds of programming datas are distinguished into imprinting to two memory blocks;This step and foregoing invention are implemented S102 is essentially identical in example, and detailed content please refers to foregoing invention embodiment, is no longer repeated herein.
S203, Flash-0 store programming data 0, and Flash-1 stores programming data 1, if programming data 0 and programming data 1 Another normal programming data, then is moved to RAM the normal starting for realizing CPLD by one entanglement due to unknown cause.
Referring to Fig. 3, Fig. 3 is the specific double flow charts for opening method of another kind provided by the embodiment of the present invention.
Referring to Fig. 3, in embodiments of the present invention, opens method based on the double of Flash inside CPLD and include:
S301, by the built-in Flash of CPLD, be divided into Flash-0 and two memory blocks of Flash-1;This step with it is upper It states that S101 and S201 in inventive embodiments are essentially identical, and detailed content please refers to foregoing invention embodiment, no longer goes to live in the household of one's in-laws on getting married herein It states.
S302, two kinds of programming datas are distinguished into imprinting to two memory blocks;This step and foregoing invention are implemented S102 and S202 is essentially identical in example, and detailed content please refers to foregoing invention embodiment, is no longer repeated herein.
When S303, two programming datas in two memory blocks are normal, default starting can be passed through according to different demands Mechanism selects the programming data of one of memory block to move the RAM built-in to CPLD, to realize according to different demands starting not Same programming data.

Claims (5)

1. a kind of double Qi Fangfa based on Flash inside CPLD, which comprises the following steps:
By the built-in Flash of CPLD, it is divided into Flash-0 and two memory blocks of Flash-1;
Two kinds of programming datas are distinguished into imprinting to two memory blocks;
The programming data of one of memory block in two memory blocks is selected to move the RAM built-in to CPLD, to reach The bis- Qi Gongneng of CPLD.
2. double Qi Fangfa according to claim 1, which is characterized in that one of them in two memory blocks of the selection is deposited The programming data of storage area block is moved to the step for CPLD built-in RAM and specifically included: Flash-0 stores programming data 0, Flash-1 stores programming data 1, will be another normal if entanglement due to unknown cause of programming data 0 and 1 one of programming data Programming data move to RAM the normal starting for realizing CPLD.
3. double Qi Fangfa according to claim 1, which is characterized in that one of them in two memory blocks of the selection is deposited The programming data of storage area block is moved to the step for CPLD built-in RAM and is specifically included: the two programming numbers in two memory blocks According to it is normal when, by presetting Initiated Mechanism, the programming data of one of memory block can be selected to remove according to different demands The built-in RAM of CPLD is moved to, starts different programming datas according to different demands to realize.
4. double Qi Fangfa according to claim 1, which is characterized in that the RAM, storage by Flash move Lai programming Data, and by the digital logic unit in CPLD, it is compiled into the digital circuitry functions of user's design.
5. double Qi Fangfa according to claim 1, which is characterized in that by two kinds of programming datas with JTAG In-System The mode of Programming distinguishes imprinting to two memory blocks.
CN201811449853.8A 2018-11-30 2018-11-30 A kind of double Qi Fangfa based on Flash inside CPLD Pending CN109558176A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811449853.8A CN109558176A (en) 2018-11-30 2018-11-30 A kind of double Qi Fangfa based on Flash inside CPLD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811449853.8A CN109558176A (en) 2018-11-30 2018-11-30 A kind of double Qi Fangfa based on Flash inside CPLD

Publications (1)

Publication Number Publication Date
CN109558176A true CN109558176A (en) 2019-04-02

Family

ID=65868176

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811449853.8A Pending CN109558176A (en) 2018-11-30 2018-11-30 A kind of double Qi Fangfa based on Flash inside CPLD

Country Status (1)

Country Link
CN (1) CN109558176A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN200976140Y (en) * 2005-04-29 2007-11-14 美国凹凸微系有限公司 System for updating on-site programmable gate array bit files
CN101853172A (en) * 2010-05-24 2010-10-06 中兴通讯股份有限公司 Device and method for dynamically upgrading complex programmable logic device (CPLD)
CN102073517A (en) * 2009-11-23 2011-05-25 中兴通讯股份有限公司 Upgrading and backup method and device for embedded system
CN103116511A (en) * 2013-01-29 2013-05-22 烽火通信科技股份有限公司 Double-booting method based on single FLASH storage chip

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN200976140Y (en) * 2005-04-29 2007-11-14 美国凹凸微系有限公司 System for updating on-site programmable gate array bit files
CN102073517A (en) * 2009-11-23 2011-05-25 中兴通讯股份有限公司 Upgrading and backup method and device for embedded system
CN101853172A (en) * 2010-05-24 2010-10-06 中兴通讯股份有限公司 Device and method for dynamically upgrading complex programmable logic device (CPLD)
CN103116511A (en) * 2013-01-29 2013-05-22 烽火通信科技股份有限公司 Double-booting method based on single FLASH storage chip

Similar Documents

Publication Publication Date Title
CN106095363B (en) A kind of ameliorative way, device and the terminal of terminal Caton
US9858052B2 (en) Decentralized operating system
CN107276866A (en) Home appliance match somebody with somebody network method, device and home appliance
CN104394675B (en) A kind of terminal
CN104598107A (en) Generating method and system of interface control
CN106155692A (en) A kind of terminal brightness control method and terminal
CN102238265A (en) Mobile phone and method for realizing double-system mobile phone
CN107562483A (en) A kind of method and device of carry guiding file system
CN103957240A (en) Weather system capable of shooting pictures in real time and conducting sharing and implementation method of weather system capable of shooting pictures in real time and conducting sharing
US10877885B2 (en) Electronic device data operation method and electronic device for improved electronic device storage
CN105404474A (en) Data migration method of heterogeneous distributed memory system
CN109582153A (en) information input method and device
CN105843576B (en) A kind of combination windows switching method and device
CN103514140B (en) For realizing the reconfigurable controller of configuration information multi-emitting in reconfigurable system
CN105516476B (en) A method of high energy consumption application is closed to control using economize on electricity
CN109343786A (en) Control method, device, intelligent elevated table and the storage medium of intelligent elevated table
KR102312672B1 (en) Method and Electronic Device for operating screen
CN109558176A (en) A kind of double Qi Fangfa based on Flash inside CPLD
CN106534227A (en) Method and device of expanding distributed consistency service
CN107148612A (en) A kind of method and apparatus of extending user subregion
CN103218228B (en) A kind of Android device built-in hard disk realizes method and the device of new technology file system
US20100228933A1 (en) Automatic selection of storage volumes in a data storage system
CN101645004A (en) Method for window display
WO2016119432A1 (en) Application accessing control method and device
CN105813138A (en) Information processing method and first electronic device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190402

RJ01 Rejection of invention patent application after publication