Introduction of EC
Introduction of EC
If you move the bitmap, and cannot find, you can click AUTO to automatically
return to the initial state, as shown in figure 6-30.
Chapter 7
The Introduction of EC and
BIOS
http://www.XiuFix.com/laptop-chip-level-repair/
Laptop Chip Level Repair Guide 90
special keyboard controller. The special EC of the laptop is equipped with this
feature.
Moreover, a most important problem in design of notebook is to make the
system more power, increase the battery life, it must have good heat dispersion
performance. And try to minimize the system noise. According to the
temperature to control the stalling of CPU fan, laptop power management, such
as laptop computer into standby or shutdown, the electric power dispatching of
the external power supply system, power detection of intelligent battery,
charging and discharging task, as well as some practical shortcut buttons. These
important functions are accomplished by EC.
In fact EC of the laptop is an extension of the traditional KBC (Keyboard
Controller), equipped with two part function of KBC and embedded control, so
EC is also called as KBC. EC is widely used in the design of laptop with
intelligent power-saving function. It undertakes task of laptop built-in keyboard
touchpad, laptop battery intelligent charging and discharging management and
temperature monitoring and others.EC plays an important role in design of
portable, intelligent personalized of the laptop.
EC interior has a certain capacity of Flash to store the EC code. The position of
EC in the system is not next to the North and South Bridge, in the process of
open system.EC control the timing sequence of most of important signal. In
laptop, no matter in the boot or shutdown state, EC is always open, unless the
battery and adapter completely removed.
In the shutdown state.EC has kept running, and waiting for the user's boot
information. And after the boot, EC continue to control the keyboard controller
charging indicator light and fan and other device, and even control the system
standby, sleep and other state.
BIOS is the abbreviation of "Basic Input Output System" in English. And the
Chinese name is "basic input/output system" after literal translation. In fact, it is a
group of program curing to a ROM chip on the computer motherboard, holds the
most important basic input/output program, the system settings information,
self-check program after booting and the system self-triggered program of the
computer. Its main function is to provide the lowest level and the most direct
hardware setup and control for the computer.
It should be noted that although the BIOS is referred to the program curing in
the ROM, but in maintenance, we usually called the ROM chip curing the
program as BIOS.
Figure 7-1 is the physical map of EC and BlOS. A large square chip is EC. A
small rectangle chip is BIOS.
http://www.XiuFix.com/laptop-chip-level-repair/
Laptop Chip Level Repair Guide 91
(2)Standby lock: it's usually an external 32.768 kHz crystal before, now most is
free of crystals.
(3)Standby reset the most beginning of the EC reset signal, which name is
usually ECRST WRST#, VCC_POR# etc. The reset of SMSC H8S is RES*.
(4)Program: EC need to get the corresponding program, configure the GP1O pin,
then to Work. The program may be stored in the EC. Also may be stored in the
ROM under EC.
http://www.XiuFix.com/laptop-chip-level-repair/
Laptop Chip Level Repair Guide 92
LPCCLK: LPC CLOCK provides 33MHz frequency for LPC, about 1.6V.
LPC_AD [0:3]: address data complex line. These four signals are used to
transmit the address and data of LPC bus.
LPC_FRAME#: the cycle frame of LPC, when this signal is active, indicates
the start or end of a cycle of LPC.
When the battery voltage is lower than the discharge end voltage(3V) and
greater than 0.9V,with 1/10 current of the constant current charging current to
charge with small current, and the time is short, generally for a few minutes. If
you use a large current to charge the battery with full discharge, it will damage
the battery.
http://www.XiuFix.com/laptop-chip-level-repair/
Laptop Chip Level Repair Guide 93
First, observe the appearance, EC with stickers > marked on the surface is
usually bring their own procedures.EC in the figure 7-1 not comes with the
program, and EC in the figure 7-2 comes with the program.
http://www.XiuFix.com/laptop-chip-level-repair/
Laptop Chip Level Repair Guide 94
Firstly, BIOS connects to EC through X-BUS and SPI bus, and then EC
connects to the South Bridge through LPC, in general, in this case, EC code is
placed in the BIOS, that is share a chip with BIOS.
Secondly, BIOS connects to the South Bridge through SPI bus, there is not
ROM under EC, it uses its own internal ROM. Common in ThinkPad and Apple,
some models of the latest Lenovo also use this way.
Thirdly, the main BIOS connects to the South Bridge through SPI bus, hang a
SPI ROM chip under EC for storing EC CODE, such EC is not comes with the
program.
Fourthly, EC and the South Bridge connect BIOS through SPI bus, such EC is
not comes with program.
http://www.XiuFix.com/laptop-chip-level-repair/
Laptop Chip Level Repair Guide 95
and accomplish. For example, PnP technology (Plug and Play) is accomplished
by adding PnP module in the BIOS.
Again, the hot swap technology also transmit the hot swap information to the
configuration management program of BIOS by the system BIOS, and
reconfigured(such as interruption, DMA channel and other allocation) by the
program, In fact, the hot swap technology is also PnP technology.
In the process of the boot, the mainboard BIOS will call and execute these
additional BIOS program complete the initialization of this hardware. So
theoretically speaking, each kind of hardware can have its own BIOS. But too
many BIOS, it will not only increase the cost, and will lead to compatibility
problems, therefore, in general, integrated the standardized device in the
motherboard, for those unique specification of manufacturers, appears with the
form of additional BIOS. These BIOS on the external and the motherboard
BIOS using Flash ROM as BIOS ROM chip, also easy to upgrade, to modify its
defects and enhance its compatibility.
(2) BIOS system start the bootstrap program: after the system finishing POST
self-test, ROM BIOS according to the boot sequence stored in the system
CMOS settings to search the soft and hard disk drives and CD-ROM, network
server and others for booting drive effectively, read the operating system boot
http://www.XiuFix.com/laptop-chip-level-repair/
Laptop Chip Level Repair Guide 96
record, then give the system control power to the boot record, and completed
the sequence boot of the system by the boot record.
(3) Interrupt service routine: responsible for the allocation of the motherboard
hardware interrupt number assigned.
(4) Program settings: refers to enter the CMOS settings after booting.
001/010/100: 1M=128KB
002/020/200: 2Mb=256KB
004/040/400: 4Mb=512KB
008/080/800: 8M=1MB
160: 16Mb=2MB 320:
32Mb=4MB 640:
64Mb=8MB
(1) TSOP48
BIOS with TSOP48 package are under EC, through X-BUS, the material object
shown in figure 7-4.
http://www.XiuFix.com/laptop-chip-level-repair/
Laptop Chip Level Repair Guide 97
AO~A18: the address line DO~D15: the data line CE#: Chip select
VCC: Power Supply 3.3V OE#: output enable WE#: write enable
(2) TSOP40
BIOS with TSOP40 package are generally X-BLJS bus, the material object
shown in figure 7-6, and the definition of pin shown in figure 7-7.
http://www.XiuFix.com/laptop-chip-level-repair/
Laptop Chip Level Repair Guide 98
(3) TSOP32
BIOS with TSOP32 are generally X-BUS bus, pin function is similar to
TSOP40, the definition of pin shown in figure 7-8.
Figure 7-8 the definition of X-BUS BIOS pin with TSOP32 package
http://www.XiuFix.com/laptop-chip-level-repair/
Laptop Chip Level Repair Guide 99
(4) PLCC32
BIOS with PLCC32 package are also X-BUS bus in the laptop, the definition of
pin shown in figure 7-9, and the material object shown in figure 7-10.
CS#: chip select OE#: enable WE#: write enable VCC: power
supply pin GND: ground AO~A17: the address signal line DO~D7: the
data signal line
Figure 7-9: The definition of X-BUS BIOS pin with PLCC32 package
Figure 7-10: The material object of BIOS with PLCC32 package
(5) SOPS8
BIOS with 8 pin are SPI bus, the definition of pin shown in figure 7-11, the
material object shown in figure 7-12.
http://www.XiuFix.com/laptop-chip-level-repair/
Laptop Chip Level Repair Guide 100
(6) SOP16
BIOS used by IBM X200 part of the model uses 16 pin SPI bus, the definition
of pin shown in figure 7-13,the material object shown in figure 7-14.The
definition of pin is similar to 8 pin SPI,NC is Not Connected.
http://www.XiuFix.com/laptop-chip-level-repair/