AMD ElanSC310 User manual

ÉlanSC310 Microcontroller
Evaluation Board
User’s Manual
evalbd.book : frt Page 1 Thursday, August 8, 1996 2:34 PM

ÉlanSC310 Microcontroller Evaluation Board, Revision 1.0
© 1996 by Advanced Micro Devices, Inc.
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any
form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written
permission of Advanced Micro Devices, Inc.
Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subdivision (b)(3)(ii) of the
Rights in Technical Data and Computer Software clause at 252.227-7013. Advanced Micro Devices, Inc., 5204 E. Ben
White Blvd., Austin, TX 78741.
AMD is a registered trademark, and Élan is a trademark of Advanced Micro Devices, Inc.
Other product or brand names are used solely for identification and may be the trademarks or registered trademarks of
their respective companies.
The text pages of this document have been printed on recycled paper consisting of 50% recycled fiber and 50%
virgin fiber; the post-consumer waste content is 10%. These pages are recyclable.
Advanced Micro Devices, Inc.
5204 E. Ben White Blvd.
Austin, TX 78741-7399
evalbd.book : frt Page 2 Thursday, August 8, 1996 2:34 PM

1.0
ÉlanSC310 Microcontroller Evaluation Board User’s Manual iii
Contents
About the ÉlanSC310 Microcontroller Evaluation Board
Features..................................................................................................................x
Chapter 1
Quick Start
Booting DOS From a Diskette .......................................................................... 1-2
Installation Requirements.............................................................................. 1-3
Board Installation.......................................................................................... 1-4
Connecting an IDE Hard Drive.........................................................................1-7
For More Information ....................................................................................... 1-9
Chapter 2
Board Functional Description
Board Layout..................................................................................................... 2-2
Evaluation Board Restrictions........................................................................... 2-4
BIOS.................................................................................................................. 2-5
SystemSoft BIOS .......................................................................................... 2-6
PhoenixPICO BIOS .................................................................................... 2-10
Bus Modes....................................................................................................... 2-16
ISA Mode.................................................................................................... 2-17
Local Bus Mode.......................................................................................... 2-18
evalbd.book : evalbd.TOC Page iii Thursday, August 8, 1996 2:34 PM

ÉlanSC310 Microcontroller Evaluation Board User’s Manual
iv
1.0
Memory............................................................................................................2-18
DRAM Main Memory.................................................................................2-19
Memory Voltage Setting.............................................................................2-19
I/O....................................................................................................................2-20
PS/2 Mouse..................................................................................................2-20
Serial Ports ..................................................................................................2-21
Parallel Port.................................................................................................2-21
IDE Hard Drive...........................................................................................2-21
ROMs...............................................................................................................2-22
Power Measurement ........................................................................................2-23
BL1–BL4 Pins.............................................................................................2-24
Breadboard Area..........................................................................................2-24
Power Management.........................................................................................2-24
Suspend/Resume .........................................................................................2-25
Power Management Simulation ..................................................................2-25
MicroPower Off Mode ....................................................................................2-26
Chapter 3
Using the Software
SystemSoft Evaluation Diskette....................................................................3-1
PhoenixPICO Evaluation Diskette................................................................3-1
Datalight Software Evaluation Kit Diskette..................................................3-1
AMD Utilities Diskette .................................................................................3-2
Elan PMU Evaluation Utility ............................................................................3-4
A: Setup PMU Mode Characteristics (PMCx Pins, CPU Speed)..................3-5
B: Force PMU State Transitions ...................................................................3-8
C: Test Battery Level & ACIN Pins..............................................................3-9
X: Restore PMU State and Exit to DOS........................................................3-9
Z: Leave Current PMU Values and Exit to DOS..........................................3-9
evalbd.book : evalbd.TOC Page iv Thursday, August 8, 1996 2:34 PM

ÉlanSC310 Microcontroller Evaluation Board User’s Manual v
1.0
EvalSet Serial and Parallel Port Setup Utility.................................................3-10
Serial Port 1.................................................................................................3-10
Serial Port 2.................................................................................................3-10
Parallel Port 1..............................................................................................3-11
Usage........................................................................................................... 3-11
Memory Management System (MMS) Viewer Utility ................................... 3-12
Description.................................................................................................. 3-12
Scope........................................................................................................... 3-13
Operating Instructions................................................................................. 3-13
Restrictions on Use ..................................................................................... 3-17
Register Dump Utility ..................................................................................... 3-19
Chapter 4
Developing Code
Programmable General Purpose (PGP) Pins.....................................................4-2
Power Management Control (PMC) Pins.......................................................... 4-3
Programming BIOS Flash/EPROM
or Application Flash/EPROM ........................................................................... 4-5
Evaluation Board’s Memory Map..................................................................... 4-7
Evaluation Board’s I/O Map ........................................................................... 4-10
Evaluation Board’s IRQ Mapping................................................................... 4-11
Evaluation Board’s DMA Mapping ................................................................ 4-13
Evaluation Board’s Components..................................................................... 4-14
Enabling the ÉlanSC310 Internal Serial Port..................................................4-15
evalbd.book : evalbd.TOC Page v Thursday, August 8, 1996 2:34 PM

ÉlanSC310 Microcontroller Evaluation Board User’s Manual
vi
1.0
Appendix A
Evaluation Board Setup Summary
Setup Summary.................................................................................................A-1
Appendix B
Verified Peripherals
Verified Peripherals.......................................................................................... B-1
Appendix C
Board Layout Suggestions
Board Layout Suggestions................................................................................ C-1
Appendix D
Schematics
Schematics........................................................................................................D-1
Index
evalbd.book : evalbd.TOC Page vi Thursday, August 8, 1996 2:34 PM

ÉlanSC310 Microcontroller Evaluation Board User’s Manual vii
1.0
List of Figures
ÉlanSC310 Microcontroller Evaluation Board......................................................................2-2
List of Tables
Installation Troubleshooting ................................................................................................... 1-6
Board Layout........................................................................................................................... 2-3
SystemSoft BIOS Set-Up Screen Options.............................................................................. 2-6
PhoenixPICO BIOS Main Menu Setup Screen Options.......................................................2-11
PhoenixPICO BIOS Advanced Menu Setup Screen Options...............................................2-13
PhoenixPICO BIOS Power Menu Setup Screen Options.....................................................2-14
PhoenixPICO BIOS Exit Menu Setup Screen Options......................................................... 2-15
Bus Mode Selection and Affected Jumpers..........................................................................2-17
I/O Address 100–107 .............................................................................................................. 4-2
Typical Full ISA Memory Map ..............................................................................................4-8
Typical Full ISA I/O Map..................................................................................................... 4-10
Typical Full ISA IRQ Mapping............................................................................................ 4-12
Typical Full ISA DMA Mapping.......................................................................................... 4-13
Bus Mode Selection and Affected Jumpers........................................................................... A-2
Configuration Jumpers........................................................................................................... A-2
JP18........................................................................................................................................ A-3
Switches ................................................................................................................................. A-3
Power Measurement Jumpers ................................................................................................ A-4
evalbd.book : evalbd.LOF Page vii Thursday, August 8, 1996 2:34 PM

ÉlanSC310 Microcontroller Evaluation Board User’s Manual
viii
1.0
evalbd.book : evalbd.LOT Page viii Thursday, August 8, 1996 2:34 PM

1.0
ÉlanSC310 Microcontroller Evaluation Board User’s Manual ix
About the ÉlanSC310
Microcontroller Evaluation Board
Congratulations on your decision to design with the ÉlanSC310 microcontroller!
This sophisticated, integrated device is uniquely suited to meet the needs of the
next generation of embedded solutions. From its high integration to PC/AT
compatibility to remarkable power management, the ÉlanSC310 microcontroller
is the ideal device to enable compact, fully functional, low-power designs with a
quick time to market.
The ÉlanSC310 microcontroller evaluation board has been provided as a test and
development platform for ÉlanSC310 microcontroller-based designs. Most of the
possible options and features of the ÉlanSC310 microcontroller can be exercised
on this board. Since there are numerous options available, this board is a much
larger form factor than could be achieved with a dedicated set of features. . This
evaluation board is provided as a reference only and should only be used to
experiment with the design trade-offs of the ÉlanSC310 microcontroller, make
power measurements, and develop operating and application software.
NOTE: Advanced Micro Devices does not assume any responsibility for the
maintenance of this evaluation tool. Changes to the schematics will only be made
if the board is required to go back through a CAD layout.
Refer to the ÉlanSC310 Microcontroller Data Sheet and the ÉlanSC310
Microcontroller Programmer’s Reference Manual for detailed information on the
ÉlanSC310 microcontroller.
evalbd.book : about Page ix Thursday, August 8, 1996 2:34 PM

ÉlanSC310 Microcontroller Evaluation Board User’s Manual
x
1.0
Features
External Connectors
• Two serial port connections
– One internal ÉlanSC310 16C450-compatible port (COM1 or COM2
configurable)
– One Super I/O 16C550-compatible port (COM1 through COM4
configurable)
• One parallel port connection from the ÉlanSC310 microcontroller
• Two 16-bit ISA slots (for evaluation of ISA-based devices only)
• One IDE connector (connected to the ÉlanSC310 ISA bus)
• Onefloppy-driveconnector(connectedtotheSuperI/Ofloppy-drivecontroller)
• One AT-style keyboard connector (connected to the 8042 keyboard controller)
• One PS/2-style mouse connector (connected to the 8042 keyboard controller)
Main Memory Configurations
•DRAM
– 512 Kbyte, 1 Mbyte, 2 Mbyte, 4 Mbyte, 8 Mbyte and 16 Mbyte DRAM
configurations supported
– 3-V or 5-V DRAM support
– Four standard 30-pin DRAM SIMM sockets
– One standard, 72-pin DRAM, 16-bit SIMM socket (can be used instead of
the 30-pin sockets)
Power Management
• Power planes are isolated and jumpers are provided to measure current
consumption. The CPU voltage sources are: VCC, VCCMEM, VCCSYS, VCCSYS2,
VCC5, VCC1, AVCC
• Suspend/Resume button provided (note that BIOS’ enable the suspend/resume
function)
• MicroPower Off button provided for testing
• DIP switch for transitioning battery-low and ACIN pins for testing
evalbd.book : about Page x Thursday, August 8, 1996 2:34 PM

ÉlanSC310 Microcontroller Evaluation Board User’s Manual xi
1.0
Bus Modes
• Full ISA mode (full 16-bit ISA bus support)
• Local Bus mode (16-bit bus support for high speed video)
BIOS ROM
• Two 32-pin DIP sockets are provided to allow for BIOS ROMs (which socket
is enabled is selected via JP32)
• Either a 128Kx8 or 256Kx8 EPROM/Flash is supported (AMD’s 27C010 or
27C020 EPROM, and AMD’s 12-V 28F010, 5-V 29F010, 12-V 28F020, or
12-V 28F020A Flash are recommended)
• 12-V programming voltage is available
• Evaluation copies of PhoenixPICO BIOS and SystemSoft BIOS are provided
in the sockets of the evaluation board
Application ROM (DOS ROM)
• Four 32-pin DIP sockets are provided for application ROM space
• 256Kx8 or 512Kx8 EPROM/ROM devices are supported (AMD’s 27C020 or
27C040 are recommended)
• 256Kx8 Flash devices are supported (AMD’s 12-V 28F020 or 12-V 28F020A
Flash are recommended)
NOTE: 512Kx8 Flash can be supported after a minor board rework. Contact
yourlocalAMDordistributorFieldApplicationEngineer formoreinformation.
• Application ROM space is 16-bits wide (two or four devices must be used)
• 12-V programming voltage is available
• Datalight ROM-DOS mini-SDK (software developer’s kit) is provided with the
evaluation kit
Debugging
• Headers for all 208 signals on the ÉlanSC310 microcontroller
• Supports DOS Soft ICE tools and ROM ICE tools
• Support for standard x86 application debugging tools
OS Support
• Compatible with standard 32-bit operating systems
• DOS, WinLight, Windows 3.1, GEOS, QNX
evalbd.book : about Page xi Thursday, August 8, 1996 2:34 PM

ÉlanSC310 Microcontroller Evaluation Board User’s Manual
xii
1.0
evalbd.book : about Page xii Thursday, August 8, 1996 2:34 PM

1.0
ÉlanSC310 Microcontroller Evaluation Board User’s Manual 1-1
Chapter 1
Quick Start
This chapter provides information that helps you quickly set up and start using the
ÉlanSC310 microcontroller evaluation board.
TheÉlanSC310microcontrollerevaluationboardisshippedwithevaluationBIOS’
from Phoenix and SystemSoft, which have been configured specifically for this
board. (A jumper, JP32, selects which BIOS is used at power-up.) The BIOS
contains the code which allows the ÉlanSC310 microcontroller evaluation board
tofunctionjustlikeastandardAT-compatiblePC.TheÉlanSC310microcontroller
evaluationboard can boot from standard AT-compatible diskettes and can use AT-
compatible displays, display adapters and keyboards.
This chapter describes how to set up the ÉlanSC310 microcontroller evaluation
boardinFullISABusmodeandbootDOSfromadiskette.Inthismode,theTrident
ISA bus VGA card is used to drive a common video monitor.
The end of the chapter explains how to connect an IDE hard drive to configure
your ÉlanSC310 microcontroller evaluation board to operate like a standard 386
desktop computer.
evalbd.book : ch1 Page 1 Thursday, August 8, 1996 2:34 PM

ÉlanSC310 Microcontroller Evaluation Board User’s Manual
1-2
1.0
Booting DOS From a Diskette
CAUTION: As with all computer equipment, the ÉlanSC310
microcontroller evaluation board may be damaged by
electrostatic discharge (ESD). Please take proper ESD
precautions when handling any board.
Warning: Read before using this evaluation board
Beforeapplyingpower,thefollowingprecautionsshouldbetakentoavoiddamage
or misuse of the board:
• Make sure power supply connectors (from a standard AT system power supply)
are plugged onto the board correctly. The grounds (usually black wires) should
meet at the center of the two power supply connectors on the board.
• See “Board Layout” on page 2-3 for important information.
• Seeappendix B for a listofperipheralsthathavebeenused totest theevaluation
board prior to shipping.
The following documents are updated on an ongoing basis and contain important
errata information regarding the evaluation board.
• The Evaluation Board Erratadocument discusses hardware issues pertaining to
the evaluation board.The current version is shipped with the kit; contact your
local AMD representative for any updates.
• The BIOS Errata document discussessoftware issuespertaining to the Phoenix
and SystemSoft BIOS’ that are shipped with your evaluation board. This
document is available through your local AMD representative.
!
evalbd.book : ch1 Page 2 Thursday, August 8, 1996 2:34 PM

ÉlanSC310 Microcontroller Evaluation Board User’s Manual 1-3
1.0
Installation Requirements
FirstyouneedthefollowingfromtheÉlanSC310microcontrollerevaluationboard
kit:
• ÉlanSC310 microcontroller evaluation board
• VGA display adapter
You need to provide the following items (see the appendix “Verified Peripherals”
on page B-1 for a list of peripherals that are known to work with the ÉlanSC310
microcontroller evaluation board):
• An AT-compatible 3.5" disk drive
• A standard 34-wire AT disk-drive cable
• A VGA monitor
• A cable to connect the VGA monitor to the VGA display adapter
• An AT-compatible keyboard
• A standard PC power supply (at least 230 watts)
• A bootable 3.5" DOS diskette
evalbd.book : ch1 Page 3 Thursday, August 8, 1996 2:34 PM

ÉlanSC310 Microcontroller Evaluation Board User’s Manual
1-4
1.0
Board Installation
NOTE: See “ÉlanSC310 Microcontroller Evaluation Board” on page 2-2 for a
layout diagram of the board.
DANGER: Make sure the power supply and the VGA monitor
are not plugged into an electrical outlet during the following
steps.
1. Removetheboardfromtheshippingcarton.Visuallyinspecttheboardtoverify
that itwas not damaged during shipment. The board containsseveral jumpers.
Thefollowingsteps assumealljumpersareinthefactorydefaultconfiguration.
2. Inspect the 34-wiredisk-drive cablethat you are providing. Thered wire along
one edge of the ribbon cable indicates wire 1. Connect one end of the 34-wire
disk-drive cable to the disk drive just as you would for a standard PC
installation.Thedisk-drivedocumentationshouldindicatewheretoputwire 1.
Connect the other end of the 34-wire disk-drive cable to the 34-pin connector
P27 on the ÉlanSC310 microcontroller evaluation board with wire 1 toward
the ROM sockets.
3. Insert the VGA adapter into either of the ISA slots on the ÉlanSC310
microcontroller evaluation board. The ISA slots are labeled P21 and P22.
4. Connect the VGA monitor cable from the monitor to the D-connector at the
end of the VGA display adapter just as you would for a standard PC.
5. Connect the keyboard to the keyboard connector at P10.
6. Connect the connectors marked P8 and P9 from the standard PC powersupply
into the board’s power connectors at P25 and P26. P8 connects to P25 (the six
pins closest to the corner of the board); P9 to the other six pins. (See Figure 2-
1 on page 2-2 for the connector locations.) Make sure the black ground wires
from P8 and P9 meet in the middle of the board’s P25 and P26 connectors.
DANGER: Failure to verify and check the power supply
connections may result in total destruction of the ÉlanSC310
microcontroller evaluation board.
!
!
evalbd.book : ch1 Page 4 Thursday, August 8, 1996 2:34 PM

ÉlanSC310 Microcontroller Evaluation Board User’s Manual 1-5
1.0
7. Find oneof the 4-wire power connectors fromthe PC powersupplyand attach
it to the 4-pin connector on the disk drive just as you would for a standard PC
installation. The disk-drive documentation should indicate the proper
orientation of the power cable.
8. Insert the bootable DOS diskette (not included) in the disk drive.
9. Plug the VGA monitor into an electrical outlet.
10. Apply power to the ÉlanSC310 microcontroller evaluation board by
connecting thePC power supply to an electrical outlet. Ifequipped, turn on the
power-supply switch. The power supply fan should be operating. Press the
black MicroPower Off button, SW5. The red LED should now be lit.
11. Press the red RESET button, SW2. You should see the BIOS boot message on
the monitor. When booting after being powered off, the CMOS ROM is not
configured and you need to use the BIOS setup utility to configure the system.
Follow the instructions shown on the screen to enter the Setup utility. Once
you are in the Setup utility, you can set the system’s processor speed, date,
time, and other options (see “SystemSoft BIOS Set-Up Screen Options” on
page 2-6 or “PhoenixPICO BIOS Main Menu Setup Screen Options” on page
2-11).
12. Save and exit the setup utility.
NOTE: The evaluation board does not have a battery backup. You need to run
the setup utility each time the system is powered off.
13. The system should now boot from the DOS diskette just like a standard PC.
evalbd.book : ch1 Page 5 Thursday, August 8, 1996 2:34 PM

ÉlanSC310 Microcontroller Evaluation Board User’s Manual
1-6
1.0
Table 1-1. Installation Troubleshooting
Problem Solution
The board’s power LED does not
light when the power supply is
turned on.
The black MicroPower Off button, SW5,
needs to be pressed after power-up.
The board’s power LED does not
lightevenaftertheMicroPowerOff
button, SW5 is pressed.
Check power supply connections at P25
and P26.
The red power LED is on but I see
nothing on the VGA monitor and
do not hear any beeps from the
speaker nor hear the head
synchronization on the disk drive.
Ensure processor reset by pressing the red
Reset button, SW2.
I hear a beep on the speaker butsee
nothing on the VGA monitor. Check that the monitor has AC power.
Check that the monitor is correctly
connected to the VGA display adapter.
Check that the display adapter is correctly
seated in the ISA slot.
I get the startup message on the
monitor but it says there’saCMOS
checksum error and doesn’t finish
booting.
This is the normal condition after power-
up. The ÉlanSC310 microcontroller
evaluation board’s CMOS RAM does not
have battery backup. Follow the BIOS’
instructions to run the Setup utility to
configure the CMOS RAM. Once
configured,theCMOSRAMcanbesaved
by leaving the power supply on but using
the MicroPower Off button, SW5, to
power down the board.
I’ve configured the CMOS RAM
butI don’thear any soundfromthe
disk drive and the system does not
boot from the diskette.
Check that the 34-wire cable to the disk
drive is properly connected at both the
disk-drive end and the board end (board
connector P27). Check that the CMOS
setup indicates that drive A is a 3.5"
1.44 Mbyte drive.
I hear the diskette being accessed
but get an error message "Non
System disk".
Check that the diskette in the drive is
indeed bootable, just as you would on a
standard PC.
evalbd.book : ch1 Page 6 Thursday, August 8, 1996 2:34 PM

ÉlanSC310 Microcontroller Evaluation Board User’s Manual 1-7
1.0
Connecting an IDE Hard Drive
This section describes how to connect an IDE hard drive to the ÉlanSC310
microcontroller evaluation board. You need to provide the following additional
items:
• An IDE-compatible hard drive of size not more than 512 Mbyte. See the
appendix “Verified Peripherals” on page B-1 for a list of hard drives that are
known to work. Note that Connor and Fujitsu hard drives do not work with the
ÉlanSC310 microcontroller evaluation board.
• A standard 40-wire AT IDE cable.
Assuming you have successfully booted to DOS from a disk drive as described in
“Booting DOS From a Diskette” on page 1-2, do the following:
1. Disconnect power by unplugging the PC power supply from the AC outlet.
WARNING: If the PC power supply is on but the board
hasbeenputin astandbymode usingtheMicroPowerOff
button,thereisstillsomepowerontheboard.Completely
unplug the power supply before continuing.
2. Inspect the 40-wire IDE cable that you are providing. The red wire along one
edge of the ribbon cable indicates wire 1. Connect one end of the 40-wire IDE
cable to the hard drive just as you would for a standard PC installation. The
hard drive documentation should indicate where to put wire 1. Connect the
other end of the 40-wire IDE cable to the 40-pin connector P28 on the
ÉlanSC310 microcontroller evaluation board with wire 1 toward the ROM
sockets.
I get a "Missing Keyboard" error
message on the monitor during
boot-up.
Check that keyboard is properly
connected.
There is a problem you cannot
resolve. Contact the AMD Technical Support
Hotline at 1-800-222-9323.
Problem Solution
!
evalbd.book : ch1 Page 7 Thursday, August 8, 1996 2:34 PM

ÉlanSC310 Microcontroller Evaluation Board User’s Manual
1-8
1.0
3. Find one of the 4-wire powerconnectorsfrom the PC power supply andattach
it to the 4-pin connector on the hard drive just as you would for a standard PC
installation. The hard drive documentation should indicate the proper
orientation of the power cable.
4. ApplypowertotheÉlanSC310microcontrollerevaluationboardbyconnecting
the PC power supply to an electrical outlet. Then press the black MicroPower
Off button, SW5. The red LED should now be lit.
5. Press the red Reset button, SW2. You should see the BIOS boot message on
themonitor.Whenbootingafterapower-up,theCMOSROMisnotconfigured
and you need to use the BIOS setup utility. Follow the instructions shown on
the monitor to enter the Setup utility.
6. In the BIOS setup utility, you need to configure Drive C for the proper number
of heads, cylinders and sectors. (Some BIOS products have an AutoDetect
feature that automatically detects this information; some require you enter this
information manually.) You should be able to get these numbers from your
hard drive documentation. Follow the prompts to save this configuration and
exit the BIOS setup utility.
7. Whether or not your hard drive contains an already installed bootable disk
image (written from some other PC), you should still keep your bootable
diskettein the A drive and boot from that. After you boot properly from A, try
to do a directory listing of C. If the directory listing of C works, you can try
removing the diskette from A and booting from C (Ctrl-Alt-Delete). Note that
not all BIOS’ have the same mapping of logical to physical sectors on a hard
drive, so if your hard drive was written by the BIOS on some other computer,
it may not be readable by the BIOS on the ÉlanSC310 microcontroller
evaluation board. If you are unable to boot from C, you should reformat the
harddriveforuseontheÉlanSC310microcontrollerevaluationboard(seeyour
DOS documentation for how to reformat your hard drive).
evalbd.book : ch1 Page 8 Thursday, August 8, 1996 2:34 PM
Table of contents
Other AMD Motherboard manuals