CN100437532C - Control method for accessing dynamic random access memory - Google Patents

Control method for accessing dynamic random access memory Download PDF

Info

Publication number
CN100437532C
CN100437532C CNB2004101041255A CN200410104125A CN100437532C CN 100437532 C CN100437532 C CN 100437532C CN B2004101041255 A CNB2004101041255 A CN B2004101041255A CN 200410104125 A CN200410104125 A CN 200410104125A CN 100437532 C CN100437532 C CN 100437532C
Authority
CN
China
Prior art keywords
dram module
dram
dimm
ddr
access control
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.)
Expired - Fee Related
Application number
CNB2004101041255A
Other languages
Chinese (zh)
Other versions
CN1797376A (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.)
Jiaxing Jinxu Medical Technology Co., Ltd.
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CNB2004101041255A priority Critical patent/CN100437532C/en
Publication of CN1797376A publication Critical patent/CN1797376A/en
Application granted granted Critical
Publication of CN100437532C publication Critical patent/CN100437532C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention relates to an access controlling method for dynamic random access memories. The method is applied to a base board which has a BIOS program and is provided with at least one memory module slot selected from first specification DRAM module slots or second specification DRAM module slots. The method makes the base board control the access of the first DRAM module or the second DRAM module and the BIOS program prestore related data of a first DRAM module and a second DRAM module, and then, the method makes the base board execute an initialization program according to the BIOS program to ensure that the DRAM modules of an internal storage controller carries out access. Finally, the internal storage controller is made to judge related data of the DRAM modules, and the internal storage controller can control the access of the modules installed in the DRAM module slots through the read related data of the DRAM modules.

Description

The access control method of dynamic RAM
Technical field
The invention relates to a kind of access control method of dynamic RAM, particularly about a kind of access control method that can supply the dynamic RAM of Memory Controller Hub access DDR-I DRAMDIMM or DDR-II DRAM DIMM with identical bios program.
Background technology
Dynamic RAM (Dynamic Random Access Memory; DRAM) reach the low characteristic of cost greatly because of having storage volume, therefore, many electronic products (for example desktop PC, notebook computer, server or workstation etc.) all adopt it to be used as best internal memory solution, the indispensable part of electronic product especially.
Moreover, for improving the transmission speed of DRAM, therefore the DRAM dealer also constantly releases different DRAM, DDR-I (Double Data Rate-I) DRAM and DDR-IIDRAM for example, and by Dual-Inline-Memory-Modules (Dual In-line Memory Modules; Be called for short DIMM) slot (Slot), these two kinds of DRAM DIMM are inserted on the substrate (Base Board), generally speaking, different DRAM (being DDR-I DRAM or DDR-IIDRAM) DIMM promptly has corresponding dimm socket.
For cooperating the DRAM module of DDR-I DRAM DIMM (hereinafter to be referred as DDR-I DIMM) and two kinds of specifications of DDR-IIDRAM DIMM (hereinafter to be referred as DDR-II DIMM), Intel Company also releases the chipset Lindenhurst that can support DDR-I DIMM and DDR-II DIMM, and it includes a kind of Memory Controller Hub (abbreviating the Lindenhurst chipset as memory chip group Lindenhurst at this).Show the substrate 7 of use DDR-IDRAM dimm socket and the substrate 7 ' required basic structure block schematic diagram of DDR-II DRAM dimm socket as Fig. 1 (A) and Fig. 1 (B).Two substrates (7,7 ') use identical Memory Controller Hub 1 (for example memory chip group Lindenhurst of Intel Company's release) respectively, and use respectively DDR-IDIMM slot zone 2 and DDR-II dimm socket district 2 ', dimm socket district herein (2,2 ') all have 8 dimm sockets (20,21 ..., 27 and 20 ', 21 ' ..., 27 '), and two dimm socket districts (2,2 '), 6 dimm sockets wherein distinctly are equipped with DDR-IDRAM DIMM 3 and DDR-II DRAM DIMM 4.
Because DDR-I DRAM DIMM 3 and DDR-II DRAM DIMM 4 and incompatible, and both hardware design are also inequality, so though DDR-I DRAM DIMM 3 and DDR-IIDRAM DIMM 4 all can be supported by the memory chip group Lindenhurst of Intel Company, yet, under situation about can't support simultaneously, which specification promptly must go up at two substrates (7,7 ') different bios programs (5,5 ') is installed, be make this memory chip group Lindenhurst judge to be subjected to its dimm socket district (2,2 ') that carries out access control object.
As from the foregoing, this practice obviously causes the inconvenience of processes such as the electronic product dealer writes at bios program design, bios program, tester substrate.Therefore, how allowing the electronic product dealer only need utilize identical bios program can arbitrarily design and produce the substrate of supporting DDR-I DIMM or DDR-II DIMM with this memory chip group Lindenhurst, promptly is the problem of present required solution.
Summary of the invention
For solving the shortcoming of above-mentioned prior art, fundamental purpose of the present invention is to provide a kind of access control method of dynamic RAM, can make Memory Controller Hub that DDR-I DRAM DIMM or DDR-II DRAM DIMM are carried out access control by same bios program.
For reaching above-mentioned and other purpose, the invention provides a kind of access control method of dynamic RAM.The access control method of dynamic RAM of the present invention, be applied in and be provided with at least one first specification dynamic RAM (DRAM) module slot or at least one second specification DRAM module slot, Memory Controller Hub and Basic Input or Output System (BIOS) (BasicInput/Output System, abbreviation BIOS) substrate of program, this first specification DRAM module slot is a DDR-I DRAM module slot, and this second specification DRAM module slot is a DDR-II DRAM module slot, a DRAM module that is installed in the first specification DRAM module slot or the 2nd DRAM module that is installed in the second specification DRAM module slot are carried out access control for this substrate, this method may further comprise the steps at least: make this bios program the prestore first specification DRAM module and the second specification DRAM module related data; Make this substrate carry out internal memory initialization program (Memory Initialization) according to this bios program; Make this Memory Controller Hub in the internal memory initialization program, DRAM module set on this substrate be carried out access, and to the DRAM module by system management (System Management; Abbreviation SM) bus is carried out its serial real-time detection (Serial Present Detect with I2C agreement (Protocol); Abbreviation SPD) data reads, and judges that according to memory body pattern field (the Memory Type Field) value of DRAM module SPD data being installed on this DRAM module slot is a DRAM module or the 2nd DRAM module; And make this Memory Controller Hub read the DRAM module related data corresponding from this bios program with this DRAM module with this DRAM module, according to the DRAM module related data that is read the DRAM module that is installed in this DRAM module slot is carried out access control for Memory Controller Hub.
The inconvenience of processes such as the access control method of dynamic RAM of the present invention obviously can effectively solve when having Memory Controller Hub access DDR-I DIMM or DDR-II DIMM now and write at bios program design, bios program, tester substrate.
Description of drawings
Fig. 1 (A) and Fig. 1 (B) show that respectively use DDR-I DIMM and DDR-II DIMM are as the required basic structure block schematic diagram of the substrate of DRAM module;
The basic structure block schematic diagram that the access control method of Fig. 2 display application dynamic RAM of the present invention makes Memory Controller Hub can carry out access control to DDR-I DIMM or DDR-II DIMM with same bios program; And
Fig. 3 shows the process step synoptic diagram of the access control method of dynamic RAM of the present invention.
Embodiment
Embodiment
Fig. 2 is an access control method of using dynamic RAM of the present invention, the basic structure block schematic diagram that makes Memory Controller Hub can carry out access control to DDR-I DRAM DIMM (being designated hereinafter simply as DDR-I DIMM) or DDR-II DRAM DIMM (being designated hereinafter simply as DDR-II DIMM) with same bios program.In the present embodiment, the required member of the access control method of dynamic RAM of the present invention comprises: Memory Controller Hub 1, bios program 6 and DDR-I dimm socket district 2 or DDR-II dimm socket district 2 ', these members are provided in a side of on the substrate (not marking), can carry out access control for the electronic installation (for example notebook computer, desktop PC, server or workstation) that this substrate is installed to DDR-I DIMM or DDR-II DIMM with identical bios program 6.What this must propose explanation be, this substrate has other various functional units in addition, for simplifying accompanying drawing and explanation, structure herein only shows the member relevant with the present invention, the member that other is irrelevant, for example the hardware configuration of south bridge and north bridge etc. does not show in the accompanying drawings.
DRAM on the electronic installation substrate all uses identical DRAM specification, just, this substrate has unified DRAM specification, present embodiment is the example explanation with DDR-I DRAM or DDR-IIDRAM promptly, and is provided with corresponding Dual-Inline-Memory-Modules (Dual In-line Memory Modules in response to different DRAM specifications on substrate; DIMM) slot (DIMMSlot), just, the DIMM outward appearance of different DRAM specification correspondences is inequality, so that the function of fool proof design to be provided, so the DRAM specification is installed correctly.
The DDR-I DRAM module slot zone 2 of present embodiment and DDR-II DRAM module slot zone 2 ' all have 8 dimm sockets (20,21 ..., 27 and 20 ', 21 ' ..., 27 '), wherein, the dimm socket of this DDR-I DRAM module slot zone 2 (20,21,22,24,25 and 26) is respectively installed a DDR-I DIMM 3, this DDR-II dimm socket district 2 ' dimm socket (21 ', 22 ', 23 ', 25 ', 26 ' and 27 ') DDR-IIDIMM4 respectively is installed.Each DIMM (20,21,22,24,25,26 and 21 ', 22 ', 23 ', 25 ', 26 ', 27 ') distinctly have a for example EEPROM (Electrically ErasableProgrammable Read-Only Memory; Abbreviation EEPROM) storer (not marking) is used to store the DIMM parameter, (the Serial Presence Detect of serial real-time detection just; Be called for short SPD) data, and the SPD data of DIMM comprises the field of internal memory model (Memory Type), still thus field value learn that this DIMM is DDR-I or DDR-II.Moreover each dimm socket all has a system management (System Management; Be called for short SM) bus, it has 2 signal line, and the one, data line (Data Line), another is clock line (ClockLine), to be connected to this slot, it is that system passes through SM bus use I 2C agreement (Protocol) is gone access DIMM SPD data, and the I of the specification specifies dimm socket of DIMM 2C address standard is A0H, A2H, A4H, A6H, A8H, AAH, ACH and AEH.Moreover the quantity of this dimm socket is not defined as eight shown in the present embodiment, can be six or four etc. yet, decides on embodiment.
Moreover, the Memory Controller Hub 1 of present embodiment is meant the memory chip group Lindenhurst of Intel Company, because substrate only has the DRAM specification of single kind, so BIOS only need scan each dimm socket (20,21 ..., 27 and 20 ', 21 ' ..., 27 ') the SPD data in internal memory model field (Memory Type Filed), the DRAM DIMM specification that just is installed in as can be known on this dimm socket is DDR-I DIMM 3 or DDR-II DIMM 4.The SPD data has its standard definition (it fixes on PC SDRAM Serial Presence Detect), and wherein the data of Byte 2 is represented the internal memory model, and its value 07 is represented DDR-I DIMM; Its value 08 is represented DDR-II DIMM.
As from the foregoing, BIOS with scan mode read each dimm socket (20,21 ..., 27 and 20 ', 21 ' ..., 27 ') Byte 2 (MemoryType Field) value of the stored SPD data of storer, can judge the DRAM DIMM specification that is installed at present on the dimm socket, and this bios program 6 reads and the corresponding data of this DRAM DIMM specification (just program or data) certainly, and the sub-device of powering is promptly finished internal memory initialization smoothly in boot program.Because above-mentioned bios program and computer opening initialize routine are necessary member and the program of general computer system before operation, also are the technology that computer technician is known, its operation function and inner structure are not explained below therefore.
Fig. 3 shows the process step synoptic diagram of the access control method of dynamic RAM of the present invention.As shown in the figure, at first carry out step S1, because the characteristic difference of DDR-I DIMM and DDR-IIDIMM, so the demand that hardware connects up is promptly inequality, the I of DIMM CS (ChipSelect) configuration, dimm socket for example 2C address, clock control mode, CKE pin (Pin) pattern are for sharing or independence and DIMM quantity etc., so need in this bios program 6, to add in advance the related data of DDR-I DIMM 3 and DDR-II DIMM 4, then proceed to step S2 according to the characteristic of DDR-I DRAM and DDR-IIDRAM.
In this step S2, make the substrate of this electronic installation carry out the internal memory initialization program according to this bios program 6, the dimm socket (just DDR-II dimm socket district 2 ') that makes this Memory Controller Hub 1 to set being used on this substrate the dimm socket (DDR-I dimm socket district 2 just) of DDR-I DIMM 3 is installed in initialize routine or be used to install DDR-II DIMM 4 carries out access, and all DRAM dimm sockets are carried out the SPD data read, just BIOS with scan mode (by I 2C address A0H, A2H, A4H, A6H, A8H, AAH, ACH and AEH scan dimm socket successively), obtain the data value of SPD internal memory model field (being Byte 2), and judge that according to this data value dimm socket district is DDR-I DIMM 3 or DDR-II DIMM 4, then carry out step S3.
In this step S3, BIOS is by the data value that reads SPD internal memory model field (being Byte 2), as judging that whether dimm socket is that (just, these Byte 2 data value are 07 to represent the dimm socket district be DDR-I DIMM for DDR-I DIMM 3 or DDR-II DIMM4; These Byte 2 data value are 08, and to represent the dimm socket district be DDR-II DIMM).So, then proceed to step S4 if this Memory Controller Hub 1 judges that present DRAM module is DDR-II DIMM 4; Otherwise, then carry out step S5.
In this step S4, make this Memory Controller Hub 1 read the DRAM DIMM related data corresponding from this bios program 6 with this DDR-II DIMM specification to judge DDR-II DIMM specification, for example, be used to declare the variable and the program segment of DDR-II DIMM hardware circuit layout, according to the DDR-II DIMM related data that reads the DDR-II DIMM that is installed in this dimm socket carried out access control for this Memory Controller Hub 1.
In this step S5, make this Memory Controller Hub 1 judge DDR-I DIMM specification and read the DRAM DIMM related data corresponding with this DDR-I DIMM specification from this bios program 6, for example, be used to declare the variable and the program segment of DDR-I DIMM hardware circuit layout, according to the DDR-I DIMM related data that reads, the DDR-I DIMM that is installed in this dimm socket is carried out access control for this Memory Controller Hub 1.
In sum, the access control method of dynamic RAM of the present invention is the characteristic according to DDR-I DIMM and DDR-II DIMM, in original bios program, add the related data of DDR-I DIMM and DDR-II DIMM, and in the internal memory initialization program, make BIOS with scan mode (by I 2C address A0h, A2h, AEh scans dimm socket successively) the SPD data of dimm socket is read, why can judge this DRAM specification, so make the electronic product dealer can arbitrarily design and produce the substrate of supporting DDR-I DIMM or DDR-II DIMM with Memory Controller Hub, design at bios program so the access control method of dynamic RAM of the present invention obviously can effectively solve when having Memory Controller Hub access DDR-I DIMM or DDR-II DIMM now by single bios program, bios program writes, the inconvenience of processes such as tester substrate.

Claims (9)

1. the access control method of a dynamic RAM, be applied in the memory module slot that is provided with a kind of specification at least one first specification DRAM module slot and at least one second specification DRAM module slot, the substrate of Memory Controller Hub and Basic Input or Output System (BIOS) program, this first specification DRAM module slot is a DDR-I DRAM module slot, and this second specification DRAM module slot is a DDR-II DRAM module slot, for this substrate a kind of DRAM module in the DRAM module that is installed in this first specification DRAM module slot and the 2nd DRAM module that is installed in the second specification DRAM module slot is carried out access control, it is characterized in that this method may further comprise the steps at least:
Make this bios program prestore a DRAM module and the 2nd DRAM module related data;
Make this substrate carry out the internal memory initialization program according to this bios program;
Make this Memory Controller Hub in the internal memory initialization program, DRAM module slot set on this substrate is carried out access, and by the DRAM module I 2C reads the address data value of the internal memory model field that the DRAM module stores, and is judged that being installed in this DRAM module slot is a kind of DRAM module in a DRAM module and the 2nd DRAM module; And
Make this Memory Controller Hub read the DRAM module related data corresponding from this bios program with this DRAM module with this DRAM module, according to the DRAM module related data that reads, the DRAM module that is installed in this DRAM module slot is carried out access control for this Memory Controller Hub.
2. access control method as claimed in claim 1 is characterized in that this memory module slot is meant dimm socket.
3. access control method as claimed in claim 2 is characterized in that, the data value of the internal memory model field that this DRAM module stores is meant Byte 2 data value on the serial real-time detection data.
4. access control method as claimed in claim 3 is characterized in that, these Byte 2 data value are 07, and then representing the DRAM module is DDR-I DIMM; These Byte 2 data value are 08, and then representing the DRAM module is DDR-II DIMM.
5. access control method as claimed in claim 3 is characterized in that, this DRAM module slot is to use I by System Management Bus 2C protocol access serial real-time detection data.
6. access control method as claimed in claim 3 is characterized in that, this serial real-time detection data is to be stored among the EEPROM.
7. access control method as claimed in claim 1 is characterized in that, a DRAM module is meant DDR-I DRAM DIMM.
8. access control method as claimed in claim 1 is characterized in that, the 2nd DRAM module is meant DDR-II DRAM DIMM.
9. access control method as claimed in claim 1 is characterized in that, this Memory Controller Hub is meant the memory chip group Lindenhurst of Intel Company.
CNB2004101041255A 2004-12-30 2004-12-30 Control method for accessing dynamic random access memory Expired - Fee Related CN100437532C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004101041255A CN100437532C (en) 2004-12-30 2004-12-30 Control method for accessing dynamic random access memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004101041255A CN100437532C (en) 2004-12-30 2004-12-30 Control method for accessing dynamic random access memory

Publications (2)

Publication Number Publication Date
CN1797376A CN1797376A (en) 2006-07-05
CN100437532C true CN100437532C (en) 2008-11-26

Family

ID=36818415

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004101041255A Expired - Fee Related CN100437532C (en) 2004-12-30 2004-12-30 Control method for accessing dynamic random access memory

Country Status (1)

Country Link
CN (1) CN100437532C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8626997B2 (en) 2009-07-16 2014-01-07 Micron Technology, Inc. Phase change memory in a dual inline memory module
US9870233B2 (en) 2010-05-28 2018-01-16 Hewlett Packard Enterprise Development Lp Initializing a memory subsystem of a management controller
CN102081586A (en) * 2011-01-25 2011-06-01 鸿富锦精密工业(深圳)有限公司 Multiple I2C (Inter-IC) slot circuit system and method for transmitting I2C signal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5966727A (en) * 1996-07-12 1999-10-12 Dux Inc. Combination flash memory and dram memory board interleave-bypass memory access method, and memory access device incorporating both the same
JP2003223784A (en) * 2001-10-19 2003-08-08 Samsung Electronics Co Ltd Device and method for controlling active termination resistor in memory system
CN1438579A (en) * 2002-02-15 2003-08-27 矽统科技股份有限公司 Control method for dynamic random accessing memory-body and use thereof in compouter
CN1479209A (en) * 2003-07-25 2004-03-03 北京港湾网络有限公司 Method of maintaining stored information by synchronous dynamic random access memory

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5966727A (en) * 1996-07-12 1999-10-12 Dux Inc. Combination flash memory and dram memory board interleave-bypass memory access method, and memory access device incorporating both the same
JP2003223784A (en) * 2001-10-19 2003-08-08 Samsung Electronics Co Ltd Device and method for controlling active termination resistor in memory system
CN1438579A (en) * 2002-02-15 2003-08-27 矽统科技股份有限公司 Control method for dynamic random accessing memory-body and use thereof in compouter
CN1479209A (en) * 2003-07-25 2004-03-03 北京港湾网络有限公司 Method of maintaining stored information by synchronous dynamic random access memory

Also Published As

Publication number Publication date
CN1797376A (en) 2006-07-05

Similar Documents

Publication Publication Date Title
US5995405A (en) Memory module with flexible serial presence detect configuration
US7421558B2 (en) System controlling interface timing in memory module and related method
US7433992B2 (en) Command controlling different operations in different chips
US8631220B2 (en) Adjusting the timing of signals associated with a memory system
US6771526B2 (en) Method and apparatus for data transfer
US7089412B2 (en) Adaptive memory module
US7096377B2 (en) Method and apparatus for setting timing parameters
US7872937B2 (en) Data driver circuit for a dynamic random access memory (DRAM) controller or the like and method therefor
US20050289287A1 (en) Method and apparatus for interfacing between test system and embedded memory on test mode setting operation
KR100703969B1 (en) Apparatus for testing memory module
US20090244996A1 (en) Circuit Using a Shared Delay Locked Loop (DLL) and Method Therefor
US20060206673A1 (en) Method for controlling access of dynamic random access memory module
JP6501086B2 (en) Device, system and method for providing a platform supporting multiple memory technologies
JP3634393B2 (en) Apparatus for determining the configuration of a computer memory
US9058257B2 (en) Persistent block storage attached to memory bus
US7486105B2 (en) Memory systems and memory access methods
US6748515B1 (en) Programmable vendor identification circuitry and associated method
US20070139898A1 (en) System motherboard having expansibility and variability
US8694726B2 (en) Memory module system
CN100437532C (en) Control method for accessing dynamic random access memory
US20030078749A1 (en) Memory module with integrated radio transmitter
US7694263B2 (en) Method of wiring data transmission lines and printed circuit board assembly wired using the method
JP2008502094A (en) Memory test mode interface method and apparatus
CN101401077A (en) Memory apparatus, its control method, its control program, memory card, circuit board, and electronic device
US20060053273A1 (en) Methods for memory initialization

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20181120

Address after: Building 1, No. 231 Jiulong Road, Caoqiao Street, Pinghu City, Jiaxing City, Zhejiang Province

Patentee after: Jiaxing Jinxu Medical Technology Co., Ltd.

Address before: Taipei City, Taiwan, China

Patentee before: Inventec Corporation

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20081126

Termination date: 20181230