CN1588326A - Initializing set truss and method for dynamic random access storage - Google Patents
Initializing set truss and method for dynamic random access storage Download PDFInfo
- Publication number
- CN1588326A CN1588326A CN 200410082585 CN200410082585A CN1588326A CN 1588326 A CN1588326 A CN 1588326A CN 200410082585 CN200410082585 CN 200410082585 CN 200410082585 A CN200410082585 A CN 200410082585A CN 1588326 A CN1588326 A CN 1588326A
- Authority
- CN
- China
- Prior art keywords
- dynamic ram
- mentioned
- mentioned dynamic
- initializing
- change
- 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
Links
Images
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
The DRAM initializing architecture includes detection circuit for detecting whether to have change in the state of the DRAM and outputting fast starting signal in case of no change; buffer storage for storing initial parameters; and memory controller for setting initial parameters based on the hardware information of the DRAM. When the computer system is re-started and the fast start signal is received, the initial parameters in the buffer storage are read out directly and used in initializing the DRAM.
Description
Technical field
The present invention relates to a kind of dynamic RAM (DRAM) initializing setting method, particularly relate to when dynamic RAM is not changed, directly according to the establishing method that opens beginning parameter initialization dynamic RAM that stores.
Background technology
The primary clustering of computer system comprises central processing unit (CPU), chipset (Chipset), Memory Controller (Memory Controller) and bus (bus).Central processing unit is in order to handle most computer operation.Chipset (Chipset) is supported the running of central processing unit.Usually comprise in the chipset that several controllers are to regulate the transmission of data between processor and system's other parts.Memory Controller (MemoryController) is the part of chipset, is responsible for setting up the information transmission between storer and the central processing unit.Bus (bus) is the data path in the computing machine, has comprised several parallel circuit lines that connect central processing unit, storer and all input-output apparatus.The design of bus, or claim bus structure, in motherboard speed,, in the system different types of bus is arranged also in order to determination data according to the difference of the needed transmission speed of each several part.Memory bus is the memory bank of connected storage controller and computing machine.
When system boot, the action of necessary execute store initialization (initialization).The action of initialize memory comprise the operating clock (operating frequency) of setting storer and to certain delegation on the storer assign require needed access waiting time (CAS latency, CL).
Conventional art is that (SerialPresence Detect SPD) learns that storer is fit to the parameter of operation by reading the exclusive spd sign indicating number of dynamic RAM.Spd sign indicating number (SPD) is the code of burning in the EEPROM of storage chip, directly reads SPD by Basic Input or Output System (BIOS) (BIOS), need not carry out the action of detection again, can obtain the required relevant information of initial memory.
With the dynamic RAM is that (Double Data Rate-Synchronous is an example DRAM) to DDR, but supposes that its operating frequency is 400MHz, 333MHz and 266MHz, and CL can be 3 clock period, 2.5 clock period and 2 clock period.When BIOS reads the SPD of dynamic RAM, can set its operating frequency according to the information of SPD is 400MHz, and CL was 2.5 clock period, afterwards can be according to this parameter initialization dynamic RAM.
In the system boot process, what taken that many times are to judge dynamic RAM opens the beginning parameter, and this time is along with the kind of dynamic RAM and number and increase.Yet, after the dynamic RAM initialization step is finished, when starting shooting next time, must reinitialize all dynamic RAM again, if dynamic RAM does not change, then rejudge its step that opens the beginning parameter and only can obtain identical judged result, prolong the required time of start in rain.
Summary of the invention
In view of this, in order to address the above problem, fundamental purpose of the present invention is to provide a kind of initializing setting method of dynamic rondom access storage, after successful initialization dynamic RAM, the record dynamic RAM open the beginning parameter, under the situation that storer does not change, the beginning parameter that opens of direct reading and recording is come the initialization dynamic RAM when starting shooting next time, to reduce the parameter determining step that begins that opens that repeats.
For obtaining above-mentioned purpose, the present invention proposes a kind of dynamic RAM initialization framework.Whether testing circuit changes in order to the state that detects dynamic RAM, when the state of dynamic RAM does not change, and output quick start signal.Buffer opens the beginning parameter in order to storage.One Memory Controller, open the beginning parameter in order to set according to the hardware information of dynamic RAM, when computer system restarts and receive the quick start signal, directly read buffer stored open the beginning parameter, and according to opening beginning parameter initialization dynamic RAM.
In addition, the present invention proposes a kind of initializing setting method of dynamic rondom access storage.At first, the record dynamic RAM opens the beginning parameter.Next, whether the state of detection dynamic RAM changes.When computer system restarts and the state of dynamic RAM when not changing, directly read and open the beginning parameter, and according to opening beginning parameter initialization dynamic RAM.
Description of drawings
Fig. 1 is the Organization Chart that shows computer system.
Fig. 2 A is the circuit diagram that shows according to the described testing circuit of the embodiment of the invention.
Fig. 2 B is the truth table that shows testing circuit special terminal and node level.
Fig. 3 is the operational flowchart that shows according to the described initializing setting method of dynamic rondom access storage of the embodiment of the invention.
The reference numeral explanation:
10~computer system
12~processor
14~high-speed cache
16~Memory Controller
17~I/O chipset
18A~18D~I/O interface
19~bus
20A~20D~storer
21~buffer
22~testing circuit
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent, a preferred embodiment cited below particularly, and conjunction with figs. are described in detail below.
Embodiment:
Consult Fig. 1, Fig. 1 is the Organization Chart that shows computer system.Computer system 10 comprises processor 12, high-speed cache 14 (cache memory), Memory Controller 16, I/O chipset 17 and I/O interface (18A~18D), and couple said apparatus by bus 19.Memory Controller 16 is to be coupled to storer 20A~20D.Generally speaking, storer 20A~20D be inserted in respectively four dual inline memory modules (Dual In-line Memory Modules, DIMM).Moreover whether testing circuit 22 is changed in order at least one of storer 20A~20D that detection is inserted in dual inline memory module.According to the embodiment of the invention, judge whether the mode that storer changes was once pulled away dual inline memory module by the detection of stored device.In addition, buffer 21 is to open the beginning parameter in order to what store dynamic RAM, and according to the embodiment of the invention, buffer 21 can be arranged on the South Bridge chip group.
Fig. 2 A is the circuit diagram that shows according to the described testing circuit 22 of the embodiment of the invention.And Fig. 2 B is the truth table that shows testing circuit 22 special terminals and node level.Testing circuit 22 comprises comparer 24 and D flip-flop 26A and 26B.At this, comparer 24 can be the xor logic door, terminal A
0Represent the state of storer 20A, when storer 20A is inserted in memory module, terminal A
0Logic level be low level " 0 ", when storer 20A pulls away memory module, terminal A
0Logic level be high level " 1 ".In addition, be example with Fig. 1, four groups of storer 20A~20D have four groups of terminal A respectively
0~A
3, only showing detection of stored device 20A status detection circuit among Fig. 2 A, the testing circuit of all the other storeies does not show to simplify explanation.
Testing circuit 24 operations shown in Fig. 2 A are as follows, because a set voltage 3.3V
SUSBe the lead-out terminal Q that is supplied in D flip-flop 26A and 26B
0With Q
1, so lead-out terminal Q
0With Q
1Initial value be " 1 ", when storer 20A is not installed, terminal A
0Logic level be high level " 1 ", Node B
0With C
0Logic level be high level " 1 ", and since comparer 24 receive terminal A
0With node C
0Logic level be all high level " 1 ", therefore at terminal E
0The output low logic level " 0 ".
When storer 20A is installed, terminal A
0Logic level be low level " 0 ", after this level inputs to D flip-flop 26A by phase inverter 27 is anti-phase, Node B
0Level be low logic level " 0 ", and node C
0Logic level still be high level " 1 ", so comparer 24 receives terminal A
0With node C
0The logic level difference, so at terminal E
0The output high logic level " 1 ".
Moreover, terminal E
0The high logic level of being exported " 1 " will enable D flip-flop 26B, make its lead-out terminal Q
1The output low logic level " 0 ", so node C
0Logic level become low logic level " 0 ".This moment, comparer 24 received terminal A
0With node C
0Logic level identical, so at terminal E
0The output low logic level " 0 ".
If storer 20A is removed terminal A
0With Node B
0Logic level get back to high level " 1 ", this moment node C
0Logic level still be low logic level " 0 ", so comparer 24 receives terminal A
0With node C
0The logic level difference, so at terminal E
0The output high logic level " 1 ".
Moreover, terminal E
0The high logic level of being exported " 1 " will enable D flip-flop 26B, make its lead-out terminal Q
1The output high logic level " 1 ", so node C
0Logic level become high logic level " 1 ".This moment, comparer 24 received terminal A
0With node C
0Logic level identical, so at terminal E
0The output low logic level " 0 ".
Therefore, by detection comparator 24 lead-out terminal E
0Level, can identification storer 20A whether be changed.Therefore in addition, according to shown in Figure 1, the incident that storer 20B~20D is changed can record by the testing circuit that belongs to this group storer equally, can learn whether all storeies have wherein one to be changed.
Fig. 3 is the operational flowchart that shows according to the described initializing setting method of dynamic rondom access storage of the embodiment of the invention.In the present embodiment, be that to be all DDR (DoubleData Rate-Synchronous DRAM) storage chip with dynamic RAM be example, yet, in practical application, dynamic RAM can be the dynamic RAM of the same type of other type, for example SDRAM, EDO DRAM or RDRAM also can be formed by dissimilar memory pools.In the described step of Fig. 3, the label of associated component sees also Fig. 1.
At first, during system boot, (Serial Presence Detect SPD) judges that storer is fit to the parameter (S1) that begins that opens of operation by the spd sign indicating number that detects dynamic RAM.With the dynamic RAM is that (Double Data Rate-Synchronous is an example DRAM) to DDR, but supposes that its operating frequency is 400MHz, 333MHz and 266MHz, and CL can be 3 clock period, 2.5 clock period and 2 clock period.When BIOS reads the SPD of dynamic RAM, can set its operating frequency according to the information of SPD is 400MHz, and CL was 2.5 clock period, afterwards can be according to this parameter initialization dynamic RAM.
Next, come initialization dynamic RAM (S2) according to the above-mentioned beginning parameter that opens.The action of the above-mentioned dynamic RAM of initialization comprises the operating frequency of setting dynamic RAM and the access waiting time CL of ras at least.
Next, the beginning parameter that opens with step S1 gained is stored in buffer 21 (S3).Secondly, carry out the initialization action (S4) of other device, enter operating system (operating system) afterwards, finish the action (S5) of start.
After the user finishes boot action, can the normal running computing machine.After computer shutdown, must continue power supply to testing circuit 22 and terminal A
0~A
3, with the state that continues to monitor.That is the power lead of computer system must keep being inserted in the state of supply socket, perhaps has the battery that is enough to provide testing circuit 22 operating powers.
When computer system is started shooting again (S6), judge according to the testing result of testing circuit 22 whether storer suffers to change (S7), if storer is not changed, then read in the stored parameter (S8) that begins that opens of step S3 at buffer 21, and according to the above-mentioned beginning direct initializes memory of parameter (S9) that opens.If storer is changed, therefore must detect spd sign indicating number (the Serial Presence Detect that changed storer again, SPD) judge that it is fit to the parameter (S10) that begins that opens of operation, next, come initializes memory (S11) according to the new detected beginning parameter that opens.Next, carry out the initialization action (S12) of other device, enter operating system (operating system) afterwards, finish the action (S13) of start.
In sum, according to the embodiment of the invention, because reading, system opens beginning parameter required time much smaller than judging that storer opens the beginning required time of parameter, therefore, if storer is not changed, then directly read stored in advance storer and open the beginning parameter storer that initializes, will significantly reduce the required time of system boot.
Though the present invention discloses as above with preferred embodiment; so it is not in order to limit scope of the present invention; anyly have the knack of this skill person; without departing from the spirit and scope of the present invention; when can doing a little change and retouching, so protection scope of the present invention is as the criterion when looking accompanying the claim person of defining.
Claims (20)
1. an initializing setting method of dynamic rondom access storage is applicable to a computer system, comprises the following steps:
That notes down at least one dynamic RAM opens the beginning parameter;
Whether the state that detects above-mentioned dynamic RAM changes; And
When the state of system restart of aforementioned calculation machine and above-mentioned dynamic RAM does not change, directly read the above-mentioned beginning parameter that opens, and according to the above-mentioned above-mentioned dynamic RAM of beginning parameter initialization that opens.
2. initializing setting method of dynamic rondom access storage as claimed in claim 1 more comprises the following steps:
Open the beginning parameter according to what the information of above-mentioned dynamic RAM was set above-mentioned dynamic RAM.
3. initializing setting method of dynamic rondom access storage as claimed in claim 2, wherein, the information of above-mentioned dynamic RAM is to get according to the spd sign indicating number that is pre-stored in a ROM (read-only memory) of each dynamic RAM.
4. on behalf of above-mentioned dynamic RAM, initializing setting method of dynamic rondom access storage as claimed in claim 1 wherein, when the state of above-mentioned dynamic RAM does not change, do not change.
5. on behalf of above-mentioned dynamic RAM, initializing setting method of dynamic rondom access storage as claimed in claim 1 wherein, when the state of above-mentioned dynamic RAM does not change, be not moved.
6. initializing setting method of dynamic rondom access storage as claimed in claim 1, wherein, above-mentioned dynamic RAM open the beginning parameter be to be stored in a buffer.
7. initializing setting method of dynamic rondom access storage as claimed in claim 1, wherein, above-mentioned dynamic RAM opens at least one of access waiting time that the beginning parameter comprises the operating frequency of above-mentioned dynamic RAM and ras.
8. initializing setting method of dynamic rondom access storage as claimed in claim 1, wherein, the action of the above-mentioned dynamic RAM of initialization comprises at least one of access waiting time of the operating frequency of setting above-mentioned dynamic RAM and ras.
9. initializing setting method of dynamic rondom access storage as claimed in claim 1, wherein, above-mentioned dynamic RAM is a plural number.
10. on behalf of the state of above-mentioned dynamic RAM, initializing setting method of dynamic rondom access storage as claimed in claim 9 wherein, when any one of above-mentioned dynamic RAM all is not moved, do not change.
11. a dynamic RAM initialization framework is applicable to a computer system, comprising:
At least one dynamic RAM;
Whether one testing circuit changes in order to the state that detects above-mentioned dynamic RAM, when the state of above-mentioned dynamic RAM does not change, exports a quick start signal;
One buffer opens the beginning parameter in order to store one; And
One Memory Controller, in order to set the above-mentioned beginning parameter that opens according to the hardware information of above-mentioned dynamic RAM, when the system restart of aforementioned calculation machine and when receiving above-mentioned quick start signal, directly read above-mentioned buffer stored open the beginning parameter, and according to the above-mentioned above-mentioned dynamic RAM of beginning parameter initialization that opens.
12. dynamic RAM initializing set truss as claimed in claim 11, wherein, above-mentioned dynamic RAM open the beginning parameter be to set according to the information of above-mentioned dynamic RAM.
13. dynamic RAM initializing set truss as claimed in claim 12, wherein, the information of above-mentioned dynamic RAM is to get according to the spd sign indicating number that is pre-stored in a ROM (read-only memory) of each dynamic RAM.
14. on behalf of above-mentioned dynamic RAM, dynamic RAM initializing set truss as claimed in claim 11 wherein, when the state of above-mentioned dynamic RAM does not change, do not change.
15. on behalf of above-mentioned dynamic RAM, dynamic RAM initializing set truss as claimed in claim 11 wherein, when the state of above-mentioned dynamic RAM does not change, be not moved.
16. dynamic RAM initializing set truss as claimed in claim 11, wherein, above-mentioned dynamic RAM open the beginning parameter be to be stored in a buffer.
17. dynamic RAM initializing set truss as claimed in claim 11, wherein, above-mentioned dynamic RAM opens at least one of access waiting time that the beginning parameter comprises the operating frequency of above-mentioned dynamic RAM and ras.
18. dynamic RAM initializing set truss as claimed in claim 11, wherein, the action of the above-mentioned dynamic RAM of initialization comprises at least one of access waiting time of the operating frequency of setting above-mentioned dynamic RAM and ras.
19. dynamic RAM initializing set truss as claimed in claim 11, wherein, above-mentioned dynamic RAM is a plural number.
20. on behalf of the state of above-mentioned dynamic RAM, dynamic RAM initializing set truss as claimed in claim 19 wherein, when any one of above-mentioned dynamic RAM all is not moved, then do not change.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200410082585 CN1277212C (en) | 2004-09-21 | 2004-09-21 | Initializing set truss and method for dynamic random access storage |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200410082585 CN1277212C (en) | 2004-09-21 | 2004-09-21 | Initializing set truss and method for dynamic random access storage |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1588326A true CN1588326A (en) | 2005-03-02 |
CN1277212C CN1277212C (en) | 2006-09-27 |
Family
ID=34605115
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200410082585 Active CN1277212C (en) | 2004-09-21 | 2004-09-21 | Initializing set truss and method for dynamic random access storage |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1277212C (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102483713A (en) * | 2009-08-04 | 2012-05-30 | 富士通株式会社 | Reset method and monitor |
CN104572365A (en) * | 2013-10-18 | 2015-04-29 | 中国长城计算机深圳股份有限公司 | Memory self-adapting method and device |
-
2004
- 2004-09-21 CN CN 200410082585 patent/CN1277212C/en active Active
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102483713A (en) * | 2009-08-04 | 2012-05-30 | 富士通株式会社 | Reset method and monitor |
CN104572365A (en) * | 2013-10-18 | 2015-04-29 | 中国长城计算机深圳股份有限公司 | Memory self-adapting method and device |
CN104572365B (en) * | 2013-10-18 | 2017-12-01 | 中国长城科技集团股份有限公司 | A kind of internal memory is from adaptation method and device |
Also Published As
Publication number | Publication date |
---|---|
CN1277212C (en) | 2006-09-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108984219B (en) | Memory parameter configuration method and electronic equipment | |
JP2002505786A (en) | Two-step memory device command buffer device and method, and memory device and computer system using the same | |
JP2011118900A (en) | Method, device and computer program for accelerating start-up time of system | |
CN101051271A (en) | Intelligent CPU super frequency method | |
CN1959638A (en) | Method and apparatus for memory initializing in a computer system | |
US8006028B2 (en) | Enabling memory module slots in a computing system after a repair action | |
US5923612A (en) | Synchronous semiconductor memory device having macro command storage and execution method therefor | |
US20040225874A1 (en) | Method for reduced BIOS boot time | |
CN101441497B (en) | Information processing apparatus having memory clock setting function and memory clock setting method | |
CN101957762A (en) | Starting acceleration device, computer system with same and starting method thereof | |
CN1277212C (en) | Initializing set truss and method for dynamic random access storage | |
CN114356445A (en) | Multi-core chip starting method based on large and small core architectures | |
US20070283139A1 (en) | Information processing apparatus and control method used thereby | |
US6349388B1 (en) | Timer processing engine for supporting multiple virtual minimum time timers | |
US7315928B2 (en) | Apparatus and related method for accessing page mode flash memory | |
US7278015B2 (en) | Methods and devices for DRAM initialization | |
CN1254741C (en) | Method for automatic switching starting-up mode | |
CN106293620B (en) | Method for detecting parameters in Flash Rom by intel platform | |
CN115202751A (en) | Method for realizing rapid start of UEFI (unified extensible firmware interface) | |
CN1220264C (en) | Semiconductor IC and mfg. method thereof | |
US20060026416A1 (en) | Method of sequentially selecting bootable memory module for booting | |
CN1272712C (en) | Method for determining delay time written into memry and its device | |
CN112540889B (en) | Method, device, equipment and medium for adjusting hard disk starting sequence in user mode | |
CN1271515C (en) | Method for determining dynamic rondom access storage data | |
CN1501241A (en) | Loading method of computer starting preset value |
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 |