Double-ROM (Read Only Memory) circuit structure of computer mainboard

By designing a dual ROM circuit structure on the computer motherboard, using logic switching devices and multiplexers to realize SPI signal conversion, and isolating the signal when it is not powered on by a single-pole double-throw switch, it solves the problem that the dual ROM design cannot be burned. A ROM firmware problem realizes the offline burning function of dual ROMs, improving the security of the motherboard.

CN119088741APending Publication Date: 2024-12-06CHANGZHI ZHUOYI HENGTONG INFORMATION SECURITY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411065676.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-05
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

In dual ROM design, the prior art cannot perform firmware recording of two ROMs when the motherboard is turned on and the dual ROM function is normal, especially since the SPI bus signal is only connected to one ROM and cannot be switched to another ROM for burning. record.

Method used

A dual ROM circuit structure of a computer motherboard is designed, including logic switching devices, multiplexers, single-pole double-throw switches and offline burn-in interfaces, and the bidirectional conversion of SPI signals is realized through logic switching devices and multiplexers. Management, using single-pole double-throw switch to isolate the signal when the motherboard is not powered up, allowing the burner to select which ROM to connect to for offline burning.

Benefits of technology

It realizes the firmware that can burn two ROMs offline when the motherboard is turned on and the dual ROM function is normal, solving the problem of not being able to switch to another ROM for burning during online burning, and improving the data security of the motherboard.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119088741A_ABST
    Figure CN119088741A_ABST
Patent Text Reader

Abstract

The invention relates to a double-ROM (Read Only Memory) circuit structure of a computer mainboard. According to the circuit structure, one side of a logic switch device is electrically connected with a first ROM, a second ROM and a multiplexer, and the other side of the logic switch device is electrically connected with a CPU, a GPU or a bridge piece; two output ends of the multiplexer are electrically connected with the first ROM and the second ROM respectively, and the control chip selects to output the first chip selection signal to the first ROM or the second ROM; the offline burning interface is electrically connected with the first ROM and the second ROM through an SPI bus and is further electrically connected with the control end of the single-pole double-throw switch, and the two output ends of the single-pole double-throw switch are electrically connected with the first ROM and the second ROM respectively so as to output a second chip selection signal; during off-line burning, the logic switching device and the multiplexer which are powered by the main board are closed, the single-pole double-throw switch is used for selecting to output a second chip selection signal from the burner to the first ROM or the second ROM, and then the firmware is burnt through the burner. According to the circuit structure, firmware of the two ROMs can be burnt off line.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic computers, and in particular to a dual ROM circuit structure of a computer mainboard. Background Art

[0002] Read-Only Memory (ROM) works in a non-destructive read mode, and can only read information but not write it. Once the information is written, it is fixed and will not be lost even if the power is cut off. The characteristic of ROM is that it can only read information but not write it. Electronic computers usually have a basic input / output system fixed in the ROM of the motherboard, called BIOS (Basic Input / Output System). Its main function is to complete the power-on self-test of the system, the initialization of each functional module in the system, the basic input / output driver of the system and the booting of the operating system.

[0003] SPI (Serial Peripheral Interface) is a serial peripheral interface specification, commonly used to connect various peripheral devices, including ROM. SPI is divided into two modes: master and slave. An SPI communication system needs to include a master device and one or more slave devices. The device that provides the clock is the master device (Master), and the device that receives the clock is the slave device (Slave). The read and write operations of the SPI interface are all initiated by the master device. When there are multiple slave devices, they are managed through their respective chip select signals. The SPI interface generally uses four signal lines for communication: SDI (data input), SDO (data output), SCK (clock), and CS (chip select). The CS signal determines the slave device that communicates with the master device.

[0004] As the requirements for data security become higher and higher, most users will require that the CPU / GPU / bridge chip can be started with two ROMs at the same time when designing the motherboard, that is, redundant ROM. In this way, when one ROM fails, it can be replaced with the spare ROM to continue to start, which improves the security of the motherboard itself and will not cause the motherboard to fail to start. However, after adopting the dual ROM design, burning the ROM firmware is another problem. Since the dual ROM function is normal, there is no switching. If the online burning method is used, since the signal of the SPI bus will only be connected to one of the ROMs at a time, if it is not switched, it is impossible to switch to the other ROM, and it is also impossible to burn the firmware of the other ROM. Summary of the invention

[0005] Therefore, the object of the present invention is to provide a dual ROM circuit structure of a computer mainboard, which solves the technical problem of burning firmware of two ROMs when the mainboard dual ROM functions normally and can be turned on.

[0006] To achieve the above-mentioned object, the present invention provides a dual ROM circuit structure of a computer motherboard, comprising: a logic switch device, a first ROM, a second ROM, a control chip, a multiplexer, a single-pole double-throw switch, and an offline burning interface; the logic switch device plays a bidirectional signal conversion function, one side of which is electrically connected to the first ROM, the second ROM and the multiplexer via an SPI bus, and the other side of which is electrically connected to a CPU, a GPU or a bridge chip via the SPI bus; the two output ends of the multiplexer are electrically connected to the first ROM and the second ROM respectively to output a first chip select signal from the CPU, the GPU or the bridge chip, and the control end of the multiplexer is electrically connected to the first ROM and the second ROM respectively to output a first chip select signal from the CPU, the GPU or the bridge chip. The control chip is electrically connected, and the control chip selects to output a first chip select signal to the first ROM or the second ROM; the offline burning interface is electrically connected to the first ROM and the second ROM via the SPI bus, and the offline burning interface is also electrically connected to the control end of the single-pole double-throw switch, and the two output ends of the single-pole double-throw switch are electrically connected to the first ROM and the second ROM, respectively, so as to output the second chip select signal from the offline burning interface; during offline burning, the mainboard is not powered on, the logic switch device and the multiplexer powered by the mainboard are turned off, and the single-pole double-throw switch is used to select to output the second chip select signal from the burner to the first ROM or the second ROM, and then the firmware is burned by the burner.

[0007] Wherein, the control chip is EC, CPLD, or MCU.

[0008] Wherein, the logic switch device includes a four-way switch and a two-way switch.

[0009] Among them, the four-way switch is RS0104YQ, and the two-way switch is RS2266.

[0010] Wherein, the logic switch device includes an eight-way switch.

[0011] Wherein, the eight-way switch is RS0108YQ20 or SGM4568YTS20G.

[0012] Wherein, the logic switch device includes six MOS tubes.

[0013] Among them, the MOS tube model is LBSS139WT1G.

[0014] Wherein, the CPU is D3000.

[0015] Wherein, the multiplexer is a dual-channel MUX chip.

[0016] In summary, the dual ROM circuit structure of the computer mainboard of the present invention can burn the firmware of two ROMs offline while ensuring that the mainboard can be turned on and the dual ROM functions are normal. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The following detailed description of the specific embodiments of the present invention in conjunction with the accompanying drawings will make the technical solutions and other beneficial effects of the present invention apparent.

[0018] Figure 1 A circuit block diagram of a dual ROM circuit structure of a computer mainboard of the present invention;

[0019] Figure 2 A schematic diagram of a circuit structure of a preferred embodiment of a dual ROM circuit structure of a computer mainboard of the present invention;

[0020] Figures 3 to 8 The circuit diagram of another preferred embodiment of the dual ROM circuit structure of the computer mainboard of the present invention. DETAILED DESCRIPTION

[0021] See also Figure 1 , which is a circuit block diagram of the dual ROM circuit structure of the computer motherboard of the present invention. The dual ROM circuit structure of the computer motherboard of the present invention mainly includes: a logic switch device, a first ROM, a second ROM, a control chip, a multiplexer, a single-pole double-throw switch, and an offline burning interface for electrically connecting to an external burner; the logic switch device plays a bidirectional signal conversion function, one side of which is electrically connected to the first ROM, the second ROM and the multiplexer via the SPI bus, and the other side of which is electrically connected to the CPU, GPU or bridge chip via the SPI bus; the two output ends of the multiplexer are electrically connected to the first ROM and the second ROM respectively to output the first chip select signal from the CPU, GPU or bridge chip, and the control end of the multiplexer is electrically connected to the control chip, by The control chip outputs a control signal to the multiplexer to select the first chip select signal to be output to one of the first ROM and the second ROM; the offline burning interface is electrically connected to the first ROM and the second ROM via the SPI bus, and the offline burning interface is also electrically connected to the control end of the single-pole double-throw switch, and the two output ends of the single-pole double-throw switch are electrically connected to the first ROM and the second ROM, respectively, to output the second chip select signal from the offline burning interface; during offline burning, the mainboard is not powered on, the logic switch device and the multiplexer powered by the mainboard are turned off, and the single-pole double-throw switch is used to select the second chip select signal from the burner to be connected to one of the first ROM or the second ROM, and then the firmware is burned by the burner Based on the dual ROM redundant circuit design, the present invention adds circuits and switches to burn the firmware of two ROMs offline while ensuring that the mainboard can be turned on and the dual ROM functions are normal. This solves the problem in the prior art that if online burning is used and the dual ROMs are normal, the SPI signal will only be connected to one of the ROMs at a time. If no switch is made, the firmware of the other ROM cannot be burned. Therefore, this solution provides a solution that can solve the problem that most CPUs / GPUs / bridge chips can burn two ROMs offline at the same time.

[0022] See also Figure 2 , which is a schematic diagram of the circuit structure of a preferred embodiment of the dual ROM circuit structure of the computer motherboard of the present invention. In this preferred embodiment, the control chip can be EC, CPLD, or MCU. The logic switch device includes a four-way switch and a two-way switch, the four-way switch can be RS0104YQ, and the two-way switch can be RS2266. In other embodiments, the logic switch device can also include an eight-way switch, replacing the configuration of the four-way switch plus the two-way switch, which can be RS0108YQ20 or SGM4568YTS20G. The multiplexer can be a two-way MUX chip.

[0023] Combination Figure 2 It can be seen that in this preferred embodiment, the four-way switch is mainly responsible for converting and processing various SPI signals based on the SPI communication protocol between the CPU / bridge chip and ROM1 and ROM2, including SPI_SDI, SPI_SDO, SPI_SCK, SPI_HOLD, including input, output and clock signals, and the two-way switch is mainly responsible for converting and processing SPI_WP, SPI_CS# and other signals between the CPU / bridge chip and ROM1 and ROM2, including write protection and chip select signals. Combined with EC / CPLD / MCU ​​and multiplexer, the function of redundant ROM can be realized, and the function of online burning ROM is also provided. On the one hand, the offline burning interface connects ROM1 and ROM2 through the SPI bus. Based on the SPI communication protocol, the SPI_SDI_W, SPI_SDO_W, SPI_SCK_W, SPI_HOLD_W, SPI_WP_W and other signals, including input, output, clock and write protection signals, execute the firmware burning function of ROM1 or ROM2 by the external burner connected to the offline burning interface header. On the other hand, the chip select signal is input to one of ROM1 or ROM2 through the single-pole double-throw switch SPDT to determine which ROM to burn the firmware.

[0024] See also Figures 3 to 8, which is a circuit diagram of another preferred embodiment of the dual ROM circuit structure of the computer mainboard of the present invention, depicting the main circuit structure related to the present invention in this preferred embodiment.

[0025] See also Figure 3 In this preferred embodiment, the specific CPU uses the domestically produced D3000. Figure 3 The pins and connections of D3000 in the circuit structure of the present invention are shown in FIG.

[0026] See also Figure 4 , which illustrates a portion of the power supply from the mainboard power supply circuit in this preferred embodiment.

[0027] See also Figure 5 , which depicts a circuit diagram involving a single-pole double-throw switch in this preferred embodiment. The specific model of the single-pole double-throw switch in this preferred embodiment is RS2057XC6.

[0028] See also Figure 6 and Figure 7 , which depicts a circuit diagram involving dual ROMs in this preferred embodiment. In this preferred embodiment, the specific models of the two ROMs used are W25Q128JWSIQ.

[0029] See also Figure 8 , which depicts a circuit diagram of a logic switch device formed by using MOS tubes in this preferred embodiment. In this preferred embodiment, six MOS tubes are used to form the logic switch device, and the specific model of the MOS tube is LBSS139WT1G.

[0030] comprehensive Figures 2 to 8 It can be seen that the present invention uses a switch chip or multiple MOS tubes to isolate the signals of the SPI source end and the SPI device end when the mainboard is not powered on. During offline burning, the switch is closed at this time because the mainboard is not powered on, and the problem of being unable to burn will not occur due to the connection with the CPU / GPU. Then the chip select signal of the SPI is connected to two ROMs through a dual-channel MUX chip. The CS signal is selected to which ROM by a control signal. This control signal is controlled by the EC / CPLD / MCU, depending on the specific usage, so as to meet the function of the redundant ROM. At the same time, online burning can be performed under the conditions of online burning.

[0031] The key point is that the present invention can support offline burning of dual ROMs. The circuit of the present invention uses a single-pole double-throw switch to select which ROM the chip select signal from the offline burner is specifically connected to. Under the premise of ensuring that the mainboard can be turned on and the dual ROM functions normally, the firmware of each ROM can be selected to be burned offline through the burner.

[0032] In summary, the dual ROM circuit structure of the computer mainboard of the present invention can burn the firmware of two ROMs offline while ensuring that the mainboard can be turned on and the dual ROM functions are normal.

[0033] As described above, for ordinary technicians in this field, various other corresponding changes and modifications can be made based on the technical solutions and technical concepts of the present invention, and all these changes and modifications should fall within the protection scope of the appended claims of the present invention.

Claims

1. A dual ROM circuit structure for a computer motherboard, It is characterized in that include: Logic switch device, first ROM, second ROM, control chip, multiplexer, single-pole double-throw switch, and offline burning interface; The logic switch device performs a bidirectional signal conversion function, one side of which is electrically connected to the first ROM, the second ROM and the multiplexer via the SPI bus, and the other side of which is electrically connected to the CPU, GPU or bridge chip via the SPI bus; the two output ends of the multiplexer are electrically connected to the first ROM and the second ROM respectively to output the first chip select signal from the CPU, GPU or bridge chip, the control end of the multiplexer is electrically connected to the control chip, and the control chip selects to output the first chip select signal to the first ROM or the second ROM; the offline burning interface is electrically connected to the first ROM and the second ROM respectively via the SPI bus, the offline burning interface is also electrically connected to the control end of the single-pole double-throw switch, and the two output ends of the single-pole double-throw switch are electrically connected to the first ROM and the second ROM respectively to output the second chip select signal from the offline burning interface; during offline burning, the mainboard is not powered on, the logic switch device and the multiplexer powered by the mainboard are turned off, and the single-pole double-throw switch is used to select to output the second chip select signal from the burner to the first ROM or the second ROM, and then the firmware is burned by the burner.

2. The dual ROM circuit structure of the computer mainboard as claimed in claim 1, It is characterized in that The control chip is EC, CPLD, or MCU.

3. The dual ROM circuit structure of the computer mainboard as claimed in claim 1, It is characterized in that The logic switch device includes a four-way switch and a two-way switch.

4. The dual ROM circuit structure of the computer mainboard as claimed in claim 3, It is characterized in that The four-way switch is RS0104YQ, and the two-way switch is RS2266.

5. The dual ROM circuit structure of the computer mainboard as claimed in claim 1, It is characterized in that The logic switch device includes an eight-way switch.

6. The dual ROM circuit structure of the computer mainboard as claimed in claim 5, It is characterized in that The eight-way switch is RS0108YQ20 or SGM4568YTS20G.

7. The dual ROM circuit structure of the computer mainboard as claimed in claim 1, It is characterized in that The logic switch device includes six MOS tubes.

8. The dual ROM circuit structure of the computer mainboard as claimed in claim 7, It is characterized in that The MOS tube model is LBSS139WT1G.

9. The dual ROM circuit structure of the computer mainboard as claimed in claim 1, It is characterized in that The CPU is D3000.

10. The dual ROM circuit structure of the computer mainboard as claimed in claim 1, It is characterized in that The multiplexer is a dual-channel MUX chip.