CN219143450U - Storage medium switching circuit, system and terminal equipment based on embedded EC - Google Patents

Storage medium switching circuit, system and terminal equipment based on embedded EC Download PDF

Info

Publication number
CN219143450U
CN219143450U CN202223569224.3U CN202223569224U CN219143450U CN 219143450 U CN219143450 U CN 219143450U CN 202223569224 U CN202223569224 U CN 202223569224U CN 219143450 U CN219143450 U CN 219143450U
Authority
CN
China
Prior art keywords
chip
flash
socket
flash memory
embedded
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.)
Active
Application number
CN202223569224.3U
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.)
Changsha HCC Hiden Technology Co Ltd
Original Assignee
Changsha HCC Hiden 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 Changsha HCC Hiden Technology Co Ltd filed Critical Changsha HCC Hiden Technology Co Ltd
Priority to CN202223569224.3U priority Critical patent/CN219143450U/en
Application granted granted Critical
Publication of CN219143450U publication Critical patent/CN219143450U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Stored Programmes (AREA)

Abstract

The utility model discloses a storage medium switching circuit, a system and terminal equipment based on embedded EC, the circuit includes: the Flash memory, the Flash socket, the EC chip and the CPU chip; the EC chip is internally provided with an E-Flash storage chip, and the E-Flash storage chip is used for storing an image file of the EC chip; the Flash socket and the E-Flash storage chip are in data connection with the EC chip; the Flash memory is connected with the Flash socket in a matching way and is used for storing the mirror image file of the EC chip; the EC chip is connected with the CPU chip through an LPC bus. In the debugging stage, an external Flash memory is used for updating the mirror image file on line, so that the debugging is convenient; after the product is released, an E-Flash storage chip built in an EC chip is used, so that the product is more stable and reliable, an external Flash memory is omitted, and the product cost is reduced.

Description

Storage medium switching circuit, system and terminal equipment based on embedded EC
Technical Field
The utility model belongs to the field of computers, and particularly relates to a storage medium switching circuit, a storage medium switching system and a storage medium switching terminal device based on embedded EC.
Background
Embedded controllers (Embedded Controller, EC) are used in PC products such as desktops, notebooks, and all-in-one machines, as well as in small server products. In the starting process of the system, the EC controls the power-on time sequence of most important signals; in the power-off and non-power-off state, the EC always keeps running in the background and waits for the power-on input information of a user; in the starting state, the EC is responsible for transmitting the input keyboard codes to the CPU, monitoring the running temperature of the CPU, adjusting the rotating speed of the fan and controlling the standby and dormant states of the system. In the development and debugging process of the product, the codes of the EC need to be repeatedly modified, and the compiled image files also need to be repeatedly burnt into Flash.
The existing mechanism adopted by product integration developers is that after a universal burner is used for burning a Flash chip taken out of a Flash socket, the Flash chip is put back into the socket, finally, an electric system is powered on again for debugging, after the debugging is finished, the Flash socket is removed, and the Flash chip is directly welded on a board for shipment, so that the debugging process is complex; if the image of the EC is stored directly in the external Flash, an external Flash chip must be provided on each product after the release of the product, which increases the cost of the product.
Disclosure of Invention
The utility model provides a storage medium switching circuit, a system and terminal equipment based on embedded EC, which are used for solving the problems of complex debugging process and high product cost in the prior art.
In order to solve the technical problems, the utility model adopts the following technical scheme:
in a first aspect, there is provided a storage medium switching circuit based on embedded EC, comprising:
the Flash memory, the Flash socket, the EC chip and the CPU chip;
the EC chip is internally provided with an E-Flash storage chip, and the E-Flash storage chip is used for storing an image file of the EC chip;
the Flash socket and the E-Flash storage chip are in data connection with the EC chip;
the Flash memory is connected with the Flash socket in a matching way and is used for storing the mirror image file of the EC chip;
the EC chip is connected with the CPU chip through an LPC bus.
Further, the EC chip includes:
a first data input port and a second data input port;
the Flash socket is connected with the EC chip through a first data input port;
the E-Flash memory chip is connected with the EC chip through a second data input port.
Furthermore, the Flash memory is hung on the SPI bus of the EC chip through a Flash socket.
Furthermore, the Flash memory is a universal Flash memory device which can be identified by the EC chip.
Furthermore, the Flash socket is a universal socket capable of connecting the EC chip and the Flash memory.
Further, the CPU chip is a main CPU chip capable of supporting an LPC bus interface.
In a second aspect, there is provided a storage medium switching system based on embedded EC, comprising:
the storage medium switching circuit based on embedded EC in the above first aspect;
the storage medium switching circuit based on the embedded EC comprises a Flash memory, a Flash socket, an EC chip and a CPU chip;
the EC chip is internally provided with an E-Flash storage chip, and the E-Flash storage chip is used for storing an image file of the EC chip;
the Flash socket and the E-Flash storage chip are in data connection with the EC chip;
the Flash memory is connected with the Flash socket in a matching way and is used for storing the mirror image file of the EC chip;
the EC chip is connected with the CPU chip through an LPC bus.
In a third aspect, there is provided a terminal device comprising:
flash socket, EC chip and CPU chip;
the EC chip is internally provided with an E-Flash storage chip, and the E-Flash storage chip is used for storing an image file of the EC chip;
the Flash socket and the E-Flash storage chip are in data connection with the EC chip;
the Flash socket is used for connecting a Flash memory;
the EC chip is connected with the CPU chip through an LPC bus.
The utility model has the beneficial effects that:
when the hardware configuration and circuit wiring of the product are carried out, the Flash socket and the EC chip are both preconfigured, the EC chip is internally provided with the E-Flash storage chip, and the CPU chip can carry out online programming on an external Flash memory or programming on the E-Flash storage chip arranged in the EC chip through an LPC bus and a switching instruction sent by the LPC bus, so that the storage switching of the image file of the EC can be realized. In the debugging stage, an external Flash memory is used for updating the mirror image file on line, so that the debugging is convenient; after the product is released, an E-Flash storage chip built in an EC chip is used, so that the product is more stable and reliable, an external Flash memory is omitted, and the product cost is reduced.
Drawings
FIG. 1 is a first block diagram of an embedded EC-based storage medium switching circuit of the present utility model;
FIG. 2 is a second block diagram of the embedded EC-based storage medium switching circuit of the present utility model;
fig. 3 is a block diagram of a terminal device according to the present utility model.
Detailed Description
The utility model is further described below with reference to the accompanying drawings. The following examples are only for more clearly illustrating the technical aspects of the present utility model, and are not intended to limit the scope of the present utility model.
As shown in fig. 1, an embodiment of the present utility model provides a storage medium switching circuit based on embedded EC, including:
flash memory 101, flash socket 102, EC chip 103 and CPU chip 104;
the EC chip 103 is internally provided with an E-Flash storage chip 105, and the E-Flash storage chip 105 is used for storing an image file of the EC chip 103;
the Flash socket 102 and the E-Flash storage chip 105 are in data connection with the EC chip 103;
the Flash memory 101 is connected with the Flash socket 102 in a matching way, and the Flash memory 101 is used for storing an image file of the EC chip 103;
the EC chip 103 and the CPU chip 104 are connected by an LPC bus (Low pin count Bus).
Preferably, based on the embodiment shown in fig. 1, as shown in fig. 2, the EC chip 103 includes:
a first data input port B0 and a second data input port B1;
flash socket 102 is connected with EC chip 103 through first data input port B0;
the E-Flash memory chip 105 is connected to the EC chip 103 through a second data input port B1.
Preferably, flash memory 101 is attached to the full duplex synchronous serial SPI bus of EC chip 103 via Flash socket 102.
Preferably, flash memory 101 is a generic Flash memory device that EC chip 103 can recognize.
Preferably, flash socket 102 is a universal socket capable of connecting EC chip 103 and Flash memory 101.
Preferably, the CPU chip 104 is a host CPU chip 104 capable of supporting LPC bus interfaces.
According to the embodiment, the operation principle of the storage medium switching circuit based on the embedded EC is specifically described, the port numbers of the LPC bus communication protocol are 62 and 66, the EC can receive the instructions and data transmitted by the CPU through the LPC bus, and the E-Flash memory chip or an external Flash memory can be erased, written and checked, so that the online upgrading function of the CPU chip to the EC chip is realized;
the EC chip guides the image file to execute preferentially from the built-in E-Flash storage chip, and only when the data of the E-Flash storage chip is empty, the EC chip can guide the image file of the external Flash memory;
in specific implementation, the specific model of each device in the storage medium switching circuit based on the embedded EC may be as follows:
the Flash memory is GD25Q80, the Flash socket is ACA-SPI-004-K01, the EC chip is ITE8987, and the CPU chip is Feiteng D2000-E8C.
Based on the storage medium switching circuit based on the embedded EC, the implementation steps for specifically switching the storage medium are as follows:
in the debugging stage of the product, before the terminal equipment is powered on for the first time, a Flash memory which is programmed by a Flash programming tool is firstly put into a Flash socket, and an EC chip loads an image file from an external Flash memory;
in the development process of the product, after the CPU chip sends a command for switching to the Flash memory through the LPC bus, an erasing command, a writing command and a checking command are sent again, the updating of the mirror image file of the Flash memory can be completed, if the EC chip cannot perform online programming due to the system suspension caused by program abnormality in the debugging process, the Flash memory can also be taken out from the Flash socket, and the Flash memory can be re-programmed for recovery by adopting a programming tool;
in the product release stage, the system starts the image file from the external Flash memory, after the CPU chip sends a command of switching to the internal E-Flash memory chip through the LPC bus, the CPU chip sends an erasing, writing and checking command through the LPC bus, the image file is programmed into the internal E-Flash memory chip, after the power is turned off and restarted, the image file in the E-Flash memory chip is automatically guided to finish switching from the external Flash memory to the internal E-Flash memory chip, and before the product is delivered, the Flash memory in the Flash socket needs to be taken out;
in the product factory returning maintenance stage, an image file is started from an internal E-Flash storage chip, after a command of switching to the internal E-Flash storage chip is sent by a CPU chip through an LPC bus, an erasing command is sent by the CPU chip through the LPC bus, the original image file is erased from the internal E-Flash storage chip, after power is off, a Flash memory is put into a Flash socket, after restarting, the image file is guided from the Flash memory, the switching from the internal E-Flash storage chip to an external Flash memory is completed, and the development and debugging stage can be carried out again.
Based on the storage medium switching circuit based on the embedded EC in the above embodiment, the embodiment of the present utility model further provides a storage medium switching system based on the embedded EC, including:
the embedded EC-based storage medium switching circuit in the embodiments shown in fig. 1 and 2 above;
the storage medium switching circuit based on the embedded EC comprises a Flash memory 101, a Flash socket 102, an EC chip 103 and a CPU chip 104;
the EC chip 103 is internally provided with an E-Flash storage chip 105, and the E-Flash storage chip 105 is used for storing an image file of the EC chip 103;
the Flash socket 102 and the E-Flash storage chip 105 are in data connection with the EC chip 103;
the Flash memory 101 is connected with the Flash socket 102 in a matching way, and the Flash memory 101 is used for storing an image file of the EC chip 103;
the EC chip 103 is connected to the CPU chip 104 via an LPC bus.
In the above-described storage medium switching circuit and system based on embedded EC, the whole storage medium switching process is aimed at, but after product release, in order to reduce product cost, flash memory is not carried, so the structure of the terminal device after product release is as shown in fig. 3, including:
flash socket 301, EC chip 302, and CPU chip 303;
an E-Flash storage chip 304 is arranged in the EC chip 302, and the E-Flash storage chip 304 is used for storing an image file of the EC chip 302;
the Flash socket 301 and the E-Flash storage chip 304 are in data connection with the EC chip 302;
the Flash socket 301 is used for connecting a Flash memory;
EC chip 302 is connected to CPU chip 303 via an LPC bus.
The utility model has the beneficial effects that:
when the hardware configuration and circuit wiring of the product are carried out, the Flash socket and the EC chip are both preconfigured, the EC chip is internally provided with the E-Flash storage chip, and the CPU chip can carry out online programming on an external Flash memory or programming on the E-Flash storage chip arranged in the EC chip through an LPC bus and a switching instruction sent by the LPC bus, so that the storage switching of the image file of the EC can be realized. In the debugging stage, an external Flash memory is used for updating the mirror image file on line, so that the debugging is convenient; after the product is released, an E-Flash storage chip built in an EC chip is used, so that the product is more stable and reliable, an external Flash memory is omitted, and the product cost is reduced.
The foregoing is illustrative of the present utility model and is not to be construed as limiting thereof, but rather as providing for the use of additional embodiments and advantages of all such modifications, equivalents, improvements and similar to the present utility model are intended to be included within the scope of the present utility model as defined by the appended claims.

Claims (8)

1. A storage medium switching circuit based on embedded EC, comprising:
the Flash memory, the Flash socket, the EC chip and the CPU chip;
the EC chip is internally provided with an E-Flash storage chip, and the E-Flash storage chip is used for storing an image file of the EC chip;
the Flash socket and the E-Flash storage chip are in data connection with the EC chip;
the Flash memory is connected with the Flash socket in a matching way and is used for storing the mirror image file of the EC chip;
and the EC chip is connected with the CPU chip through an LPC bus.
2. The embedded EC-based storage medium switching circuit of claim 1, wherein the EC chip comprises:
a first data input port and a second data input port;
the Flash socket is connected with the EC chip through the first data input port;
and the E-Flash storage chip is connected with the EC chip through the second data input port.
3. The embedded EC-based storage medium switching circuit of claim 1,
and the Flash memory is hung on the SPI bus of the EC chip through the Flash socket.
4. The embedded EC-based storage medium switching circuit of claim 1,
the Flash memory is a universal Flash memory device which can be identified by the EC chip.
5. The embedded EC-based storage medium switching circuit of claim 1,
the Flash socket is a universal socket capable of connecting the EC chip and the Flash memory.
6. The embedded EC-based storage medium switching circuit of claim 1,
the CPU chip is a main CPU chip capable of supporting an LPC bus interface.
7. A storage medium switching system based on an embedded EC, comprising:
an embedded EC-based storage medium switching circuit as claimed in any one of claims 1 to 6 above;
the storage medium switching circuit based on the embedded EC comprises a Flash memory, a Flash socket, an EC chip and a CPU chip;
the EC chip is internally provided with an E-Flash storage chip, and the E-Flash storage chip is used for storing an image file of the EC chip;
the Flash socket and the E-Flash storage chip are in data connection with the EC chip;
the Flash memory is connected with the Flash socket in a matching way and is used for storing the mirror image file of the EC chip;
and the EC chip is connected with the CPU chip through an LPC bus.
8. A terminal device, comprising:
flash socket, EC chip and CPU chip;
the EC chip is internally provided with an E-Flash storage chip, and the E-Flash storage chip is used for storing an image file of the EC chip;
the Flash socket and the E-Flash storage chip are in data connection with the EC chip;
the Flash socket is used for connecting a Flash memory;
and the EC chip is connected with the CPU chip through an LPC bus.
CN202223569224.3U 2022-12-30 2022-12-30 Storage medium switching circuit, system and terminal equipment based on embedded EC Active CN219143450U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202223569224.3U CN219143450U (en) 2022-12-30 2022-12-30 Storage medium switching circuit, system and terminal equipment based on embedded EC

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202223569224.3U CN219143450U (en) 2022-12-30 2022-12-30 Storage medium switching circuit, system and terminal equipment based on embedded EC

Publications (1)

Publication Number Publication Date
CN219143450U true CN219143450U (en) 2023-06-06

Family

ID=86568230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202223569224.3U Active CN219143450U (en) 2022-12-30 2022-12-30 Storage medium switching circuit, system and terminal equipment based on embedded EC

Country Status (1)

Country Link
CN (1) CN219143450U (en)

Similar Documents

Publication Publication Date Title
JP3110949U (en) USB connector with card detector
JP3264272B2 (en) Computer and power control method for computer
CN101093446B (en) Device and method for booting operation system, and computer system of using the device and method
US7908417B2 (en) Motherboard system, storage device for booting up thereof and connector
CN101295255B (en) Firmware updating system and method
US10656676B2 (en) Docking device, electrical device, and MAC address cloning method
CN109669729A (en) A kind of starting bootstrap technique of processor
CN114661368B (en) Chip and starting method thereof
US20230213989A1 (en) Power management circuit, chip and upgrade method therefor, and server
CN112148341A (en) FPGA (field programmable Gate array) online upgrading method based on NiosII soft core
CN102043638A (en) Computer system and computer startup setting method
CN219143450U (en) Storage medium switching circuit, system and terminal equipment based on embedded EC
JP2014021807A (en) Electronic device and start-up control method
WO2021018208A1 (en) Firmware upgrade method and apparatus, electronic device, and storage medium
CN110825421B (en) Firmware upgrading method, system and readable storage medium
CN201869296U (en) Television
CN116701285A (en) Remote access control apparatus, remote access control method, remote access control device, and computer readable medium
CN110908673B (en) Digital power supply chip burning method
CN100334573C (en) Apparatus and method for data exchange based on computer and USB device
CN103226479B (en) Electronic apparatus system and electronic equipment
CN102110002A (en) Method for increasing starting speed of electronic device
CN111506332A (en) Data storage device capable of being remotely controlled and remote control system
CN214897632U (en) Detection device of nonvolatile memory
CN111522762B (en) Transmission interface circuit
CN220829661U (en) Baseboard management controller

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant