ADP315PC87570 National Semiconductor, ADP315PC87570 Datasheet - Page 166
ADP315PC87570
Manufacturer Part Number
ADP315PC87570
Description
Keyboard and Power Management Controller
Manufacturer
National Semiconductor
Datasheet
1.ADP315PC87570.pdf
(168 pages)
- Current page: 166 of 168
- Download datasheet (892Kb)
www.national.com
Note: It is OK for the OEM_Detect_Crisis routine to destroy stacks and interrupt dispatch table
Config_Mem_Fail (come here if Configuration Block Signature is not valid)
OEM_Mem_Fail
KBC_Mem_Fail
EXT_Mem_Fail
Stacks & Dispatch table is restored (may have been modified by OEM_Detect_Crisis routine), Host Interface is turned on,
registers are initialized and program goes into a loop awaiting system input on the host interface, port 64h (port 60h is read
only because commands to the keyboard are not supported).
Commands:
90h Load RAM
91h Execute
92h Read Boot Status
AAh Self Test
D0h, D1H Read/Write GA20
If STRPST.SHBM = 1 (read Strap Register, Shared BIOS Memory bit)
If KBC Header Signature not valid or KBC code size equal 0
If Checksum of KBC code not valid
If OEM_Detect_Crisis Address = FFFFh
Else Jump to OEM_Detect_Crisis routine
If PSR.Z = 1 Jump to KBC code entry (Start of KBC code is byte 2 of KBC Header)
Else Jump to OEM_Mem_Fail (handle Crisis as if it were an external memory failure)
Jump to EXT_Mem_Fail
Set OEM Failure Flag & Jump to EXT_Mem_Fail
Set KBC Failure Flag & Jump to EXT_Mem_Fail
Command 90h gets 4 byte of System Data: RAM address LOW, HIGH and Data array length LOW,HIGH and then
receives and loads number of bytes specified by length into the controller RAM. Ack FAh is returned to the System
if address range for Program execution was not violated. Otherwise error FFh is returned.
Command 91h gets 2 byte of System Data: code-label LOW, HIGH and transfer control the specified address. The
return addresses (passed in RAMAckRET and RAMErrRET variables) may be used by invoked routine to notify the
System.
Read Boot Status and combine it with Power Fail flag.
Since external KBC memory failure was detected, report error code FFh.
D0h - Combine actual GateA20 state with emulated 8042 output port and send data to system.
D1h - Only set/reset GateA20 line based on the system data bit 1.
Set MCFG.SHMEM (Enable Shared BIOS Memory access)
Jump to KBC_Mem_Fail (bytes 0 & 1 = signature, byte 2 = size)
Jump to KBC_Mem_Fail
Jump to KBC code entry (OEM_Detect_Crisis Address is byte 4 in KBC Header, Start of KBC code is byte
2 of KBC Header)
OEM_Detect_Crisis routine resides in external memory and must:
1. Save RA register on entry and use its contents as a return address
2. Preserve all configuration registers xxCFG
3. Preserve Boot Program variables in RAM F000h - F0010h
4. Return with Interrupts disabled: PFAIL.EN=0, PSR.I=0
5. Return with PSR.Z = 1 if NO crisis detected
Bootloader Description
166
Related parts for ADP315PC87570
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
National Semiconductor [8-Bit D/A Converter]
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
National Semiconductor [Media Coprocessor]
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
Digitally Controlled Tone and Volume Circuit with Stereo Audio Power Amplifier, Microphone Preamp Stage and National 3D Sound
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
Digitally Controlled Tone and Volume Circuit with Stereo Audio Power Amplifier, Microphone Preamp Stage and National 3D Sound
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
AC97 Rev 2 Codec with Sample Rate Conversion and National 3D Sound
Manufacturer:
National Semiconductor
Part Number:
Description:
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
General Purpose, Low Voltage, Low Power, Rail-to-Rail Output Operational Amplifiers
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
8-bit 20 MSPS flash A/D converter.
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
Low Noise Quad Operational Amplifier
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
Quad Differential Line Receivers
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
Quad High Speed Trapezoidal? Bus Transceiver
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
Dual Line Receiver
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
TTL to 10k ECL Level Translator with Latch
Manufacturer:
National Semiconductor
Datasheet: