Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Technical Manual
TME-104-CLR2-R1V9.doc
Revision 1.9 / June 08
©LiPPERT Embedded Computers GmbH
Hans-Thoma-Str. 11
D-68163 Mannheim
http://www.lippertembedded.com/
Technical Manual Cool LiteRunner 2
LiPPERT Document: TME-104-CLR2-R1V9.doc.DOC Revision 1.9
Copyright © 2006-2008 LiPPERT Embedded Computers GmbH, All rights reserved
Contents and specifications within this manual are subject of change without notice.
Trademarks
MS-DOS, Windows, Windows 95, Windows 98, Windows NT and Windows XP are trademarks of
Microsoft Corporation. PS/2 is a trademark of International Business Machines, Inc. Intel is a
trademark of Intel Corporation. Geode is a trademark of Advanced Micro Devices, Inc. M-Systems
and DiskOnChip are trademarks or registered trademarks of M-Systems Flash Disk Pioneers, Ltd.
PC/104 is a registered trademark of PC/104 Consortium. All other trademarks appearing in this
document are the property of their respective owners.
1 Overview 1
2 Getting Started 5
3 Module Description 9
3.1 Processor............................................................................................... 9
3.2 Companion............................................................................................. 10
3.4 Graphics-Controller................................................................................ 11
SVGA Configuration ................................................................................ 11
SVGA Connector ..................................................................................... 11
Flat Panel and LVDS Configuration ............................................................ 11
Flat Panel Connector ............................................................................... 12
Flat Panel Backlight Connector.................................................................. 12
LVDS Connector ..................................................................................... 13
LVDS Data Mapping ................................................................................ 13
Display Type Selector .............................................................................. 14
Display Voltage Selector .......................................................................... 14
4.2 Drivers................................................................................................... 36
5 Address Maps 46
1.1 Introduction
The Cool LiteRunner 2 is an all-in-one CPU module conforming to the PC/104 specification. It comes
with two 10/100BaseT Ethernet and an ATA-5 (Ultra DMA-66) compliant EIDE interfaces where an
additional CompactFlash adapter can be mounted. The system’s main memory is soldered down on
the board, providing 256 MB DDR SDRAM. Other features are a Mini PCI Slot, CompactFlash Socket,
PS/2 Mouse and Keyboard, four USB 2.0 compliant ports, three serial and one parallel port.
At the core of the board works the AMD Geode GX466@0.9W (333MHz) processor, featuring a high
performance 2D graphics controller as well as an integrated display controller with improved unified
memory architecture. CRT Displays with resolutions up to 1600 x 1200 x 16bpp at 85 Hz can be
handled. TFT-Panels can be handled via 24 Bit LVDS or 18 Bit parallel TFT interfaces with a
maximum resolution of 1280 x 1024 pixels. The 64 Bit wide memory controller is integrated in the
CPU providing low latency and an operating frequency of 111 MHz, 222 MT/S for DDR (Double Data
Rate).
The AMD CS5536 companion device provides the basic PC infrastructure of the board. The CS5536
incorporates many I/O functions, including those found in typical Super-I/O chips. The device
contains state-of-the-art power management that enables systems, especially battery powered
systems, to significantly reduce power consumption.
An IrDA interface, hardware monitoring features, and eight freely usable GPIO signals round up the
widely spread application fields for the Cool LiteRunner 2.
Features
CPU
• AMD GeodeTM GX 466@0.9W (333MHz)
• Cache Memory with:
Split I/D cache/TLB (Translation Look-aside Buffer):
16 KB/16 KB caches
Efficient Prefetch
Main Memory
• Standard version: 256MB of soldered DDR SDRAM
Chipset
• AMD CS5536 companion device
Extension slots
• 1 x Mini PCI – Slot Type IIIa
• 1 x 8/16-bit PC/104
Interfaces
• 2 x Ethernet 10/100BaseT
• ATA-5 EIDE (Ultra DMA-66)
• CF Socket
• PS/2 Keyboard
Block Diagram
1.3 Specifications
Electrical Specifications
Supply voltage +5 V DC
Rise time < 5 ms
Supply voltage ripple ± 3%
Inrush current t.b.d.
Supply current max. 1.3 A depending on operating system
typ. 0.9 A (Windows XP idle mode)
typ. 1.2 A (MS-DOS)
Non-Operating/Storage/Transport:
Temperature range -40 … 85 °C
Temperature change max. 10K / 30 minutes
Humidity (relative) 5 … 95 % (non-condensing)
Pressure 450 … 1100 hPa
MTBF
In order to perform a failure rate assessment, several assumptions have to be made to minimize the
complexity of the analysis.
Basis for the calculation was „Parts-Stress“ method according to MIL-HDBK-217 F Notice 2. Although
this method requires stress values for all components, mean stress values have been used.
Environmental factor „Ground Benign“ according to MIL-HDBK-217 has been used as well as an
environmental temperature of 25 °C.
Failure rate of mechanical components (screws, chassis, etc) is negligible.
The detailed analysis report is available on request.
Mechanical
Dimensions (LxW) 90.2 mm x 95.9 mm
Height max. 11.4 mm on topside above PCB
Weight 120 g
Mounting 4 mounting holes for PCB
2 mounting holes for CompactFlash adapter
MiniPCI
IDE
PC/104
ETH2
Power
USB1/ETH1
VGA Keyboard/mouse
USB/Audio
Bottom
Supervisory
Floppy
Connector
CompactFlash
Connector
LCD
JTAG LVDS Flat Panel Backlight
Bottom
Caution Be sure to follow the EMC security measures. Make sure you are
always at the same potential as the module.
Caution Never connect or disconnect peripherals like HDD's while the board's
power supply is connected and switched on!
Use the cable set provided by LiPPERT to connect the Cool LiteRunner 2 to a VGA monitor. Connect
either PS/2 or USB keyboard or mouse, respectively. Use the 40-wire flat foil cable to connect the
harddisk. Make sure that the pins match their counterparts correctly and are not twisted. If you plan
to use additional other peripherals, now is the time to connect them, too.
Connect a 5 volt, 2 amps power supply to the power connector and switch the power on.
Note The 2 amps value is the minimum you should have for the standard
peripherals mentioned. If you want to use more and/or others, please plan
your power budget first! The system will not work if there is not enough
supply current for all your devices.
The display shows the BIOS messages. If you want to change the standard BIOS settings, press
<DEL> at startup to enter the BIOS menu. See chapter 4.1 for BIOS setup details.
If you need to load the BIOS default values, press the <Insert> key during startup. This forces the
BIOS to load the factory settings from FlashPROM.
The Cool LiteRunner 2 boots from CD drives, USB floppy, USB stick, or harddisk. Provided that any
of these is connected and contains a valid operating system image, the display then shows the boot
screen of your operating system.
Note Not all USB devices are suitable to boot the Cool LiteRunner from.
If there are problems, please use another device from another
manufacturer.
The Cool LiteRunner 2 does not need any cooling measures, neither at standard environment
temperatures from –20 °C … +60 °C nor in the extended range of -40 °C ... +85 °C.
3.1 Processor
The AMD Geode™ GX 466@0.9W processor is an x86 compatible integrated processor running at
333 MHz specifically designed to power embedded devices for entertainment, education, and
business. Serving the needs of consumers and business professionals alike, the Geode GX processors
are an excellent solution for embedded applications, such as thin clients, interactive set-top boxes,
personal access devices (PAD's), and industrial appliances. Available with a core voltage of 1.5V, the
Geode GX processors offer an extremely low typical power consumption of 2.0W, leading to longer
battery life and enabling small form-factor, fanless designs.
While the CPU core provides maximum compatibility with the vast amount of Internet content
available, the intelligent integration of several other functions, including graphics, offers a true
system-level multimedia solution.
The AMD Geode™ GX 466@0.9W processor is manufactured in 0.15 µm process featuring following
functional blocks:
• CPU Core
• Integrated FPU that supports the Intel MMX® and AMD 3DNow!™ instruction sets
• 16 KB Instruction cache, 16 KB Data cache
• GeodeLink™ Control Processor
• Debugging features
• Power management
• GeodeLink Interface Units
• High bandwidth packetized unidirectional bus for internal peripherals
• GeodeLink Memory Controller
• 64-Bit wide SDRAM bus operating frequency: 111 MHz, 222 MT/S for DDR
• Graphics Processor
• High performance 2D graphics controller
• Display Controller
Hardware frame buffer compression improves UMA (Unified Memory
Architecture) memory efficiency
Supports up to 1600x1200x16 bpp and 1280x1024x24 bpp running at 85 Hz
(CRT)
24 Bit DAC (CRT only)
Video Processor
TFT Controller: 1280x1024 max resolution
GeodeLink PCI Bridge
• Industry standard PCI 2.2 specification compliant
• 32-Bit, 66 MHz PCI interface
• Geode I/O Companion Device Interface
• Designed to work in conjunction with the AMD Geode™ CS5536 companion device
For further information, please refer to the data book of the AMD GeodeTM GX 466@0.9W
P P P
3.3 Watchdog
A watchdog is implemented using a Maxim 691 Reset/Watchdog circuit. It is accessible through
some general-purpose ports of the Super I/O. controller. A red LED, located on top of the board, is
lit when the watchdog has expired.
SVGA Configuration
The following display modes are supported:
SVGA Connector
Connector type: IDC10 pin header 2.54 mm
Matching plug: IDC 10 pin 2.54 mm
To ease usage of these displays it’s possible to select the display and backlight supply voltages with
the on-board voltage selector jumpers.
CompactFlash
Adapter
Ethernet Interface 2
Connector type: IDC10 pin header 2.54 mm
Matching plug: IDC 10 pin 2.54 mm
Note This 3.3 V must not be used to supply external electronic devices with
high power consumption like other PC/104 boards or displays.
Power Connector
Connector type: 3.5” FDD Power connector
Matching plug: AMP 171822-4, with contacts 170263-1
EIDE Connector
Connector type: IDC44 pin header 2.00 mm
Matching plug: IDC44 pin 2.00 mm
Floppy connector
Connector type: FFC 26 pin 1.00 mm
Matching plug: FFC 26 pin 1.00 mm
Note: Not all USB keyboard models are supported. If one does not work, try a
different make and manufacturer.
Note: The system BIOS and the USB controller do not support all USB2.0 mass
storage devices on the market, which might result in problems when using
these. Typical problems are hanging in boot process if a USB2.0 mass
storage device is connected, or slow data transfer rates for USB2.0 mass
storage devices. We recommend using USB1.1 mass storage devices
instead, if such a problem occurs.
USB/Audio Connector
Connector type: IDC10 pin header 2.54 mm
Matching plug: IDC 10 pin 2.54 mm
The serial ports are configurable with the BIOS setup menus. When entering "Integrated
Peripherals" and then COM Port 1, COM Port 2, or COM Port 3, configuration of the serial ports
is accessible.
Possible settings for COM1 and COM2:
• Auto
• Disabled
• 3F8 / IRQ4 (base address / interrupt channel)
• 2F8 / IRQ3 (base address / interrupt channel)
• 3E8 / IRQ4 (base address / interrupt channel)
• 2E8 / IRQ3 (base address / interrupt channel)
Pin assignment:
Pin RS232 Signal RS485 Signal Pin RS232 Signal RS485 Signal
1 DCD Not used 2 DSR RXD+
3 RXD RXD- 4 RTS TXD+
5 TXD TXD- 6 CTS Not used
7 DTR Not used 8 Not used Not used
9 GND GND 10 +5 Volts +5 Volts
LPT1 Connector
Connector type: IDC26 pin header 2.54 mm
Matching plug: IDC26 pin 2.54 mm
3.16 Speaker
The speaker signal is located on the IDC10 Header “KEYBOARD”. A
standard 8 Ω PC Speaker can be connected between the signal SPEAKER
and +5 V.
Connector type: IDC10 pin header 2.54 mm
Matching plug: IDC10 pin 2.54 mm
Audio Connector
Connector type: IDC10 pin header 2.54 mm
Matching plug: IDC 10 pin 2.54 mm
(3)
Connect cathode of LED to this pin. An external resistor is required.
(4)
Power Management Signal
(5)
System Management Interrupt
Note The 3.3 Volts are generated by an on-board DC-DC converter. It must be
not used to supply power to any peripherals with high power consumption.
The specifications for the PC/104 bus and the PC/104-Plus bus are available from the PC/104
Consortium at http://www.pc104.org.
The following table shows the pin assignment of the PC/104 connector.
Pin A B
1 IOCHCK GND
2 D7 RSTDRV
3 D6 +5V
4 D5 IRQ9
see note
5 D4 -5V
6 D3 DRQ2
see note
7 D2 -12V
Pin D C 8 D1 ENDXFER
0 GND GND 9 D0 +12V
1 MEMCS16 SBHE 10 IOCHRDY KEY
2 IOCS16 LA23 11 AEN SMEMW
3 IRQ LA22 12 A19 SMEMR
4 IRQ LA21 13 A18 IOW
5 IRQ LA20 14 A17 IOR
6 IRQ LA19 15 A16 DACK3
7 IRQ LA18 16 A15 DRQ3
8 DACK LA17 17 A14 DACK1
9 DRQ MEMR 18 A13 DRQ1
10 DACK MEMW 19 A12 REFRESH
11 DRQ SD8 20 A11 SYSCLK
12 DACK SD9 21 A10 IRQ7
13 DRQ SD10 22 A9 IRQ6
14 DACK SD11 23 A8 IRQ5
15 DRQ SD12 24 A7 IRQ4
16 +5V SD13 25 A6 IRQ3
17 MASTER SD14 26 A5 DACK2
18 GND SD15 27 A4 TC
19 GND GND 28 A3 BALE
29 A2 +5V
30 A1 OSC
31 A0 GND
32 GND GND
Note: -5 V and –12 V on the PC/104 connector are not supported on this
board.
4.1 BIOS
The Cool LiteRunner 2 is delivered with a standard Phoenix-Award BIOS. The default setting
guarantees a “ready to run” system, even without a BIOS setup backup battery.
The BIOS is located in a flash prom and can be easily updated on board with software under DOS.
All changes in the setup of the BIOS are stored in the CMOS RAM of the real time clock. A copy of
the CMOS RAM excluding date and time data is stored in the flash ROM. This means that even if the
backup battery runs out of power, the CMOS settings are not lost. Only date and time will be set to
their default value. Without an external battery the on board, the GoldCap is able to buffer the date
and time information for about 2 days.
Field Selection
To move between fields in Setup, use the keys listed below:
Key Function
The Standard CMOS Features menu allows configuring the date and time settings, the IDE
devices, floppy disk, and basic display setup.
The Integrated Peripherals Menu lets you set the IDE modes, the parallel and the COM ports' I/O
settings, as well as the flat panel display configuration.
Setting Choice
Special CLR Features menu: In order to use the Cool LiteRunner 2's features to their maximum
extend, there is an own BIOS setup menu dealing with these. The display type can be set to either
Caution Changing the memory mapping can completely prevent the Cool
LiteRunner 2 from booting.
In that case, the BIOS default values must be loaded by pressing
<INSERT> when the board is switched on.
The Power Management and PnP/PCI Configurations menus let you define the ACPI details and
how the resources on the ISA bus are handled.
In order to save your settings, select Save & Exit Setup and confirm with Y. Should you want to
discard everything, select Exit Without Saving.
When troubleshooting a system, it is highly recommend to first restoring the BIOS's factory settings
before any debugging is done. This is achieved with Load Optimized Defaults in the main setup
menu.
4.2 Drivers
There are drivers for different operating systems for sound (option), Ethernet and graphics adapter
available.
These drivers can be downloaded from LiPPERT's website http://www.lippertembedded.com.
For installation follow the instructions that come with the drivers.
To enable the transmitters of COM1 and COM2 in RS485 mode set the RTS# signal to ‘1’. Depending
on your operating system driver’s logic, this may mean setting a (non-inverted) RTS bit to ‘0’ in your
application software.
#include <stdio.h>
#include <sys/io.h>
int main()
{
iopl(3); //get all I/O access rights
//initialize GPIO:
outb(0x87, SIO_ADDR);
outb(0x87, SIO_ADDR); //unlock SIO
outb(0x2A, SIO_ADDR);
outb(0xFD, SIO_DATA); //use GPIO1x function
outb(0x07, SIO_ADDR);
outb(0x07, SIO_DATA); //select LDN7
outb(0x30, SIO_ADDR);
outb(0x01, SIO_DATA); //enable device
outb(0xF0, SIO_ADDR);
outb(0x00, SIO_DATA); //GPIO1x as outputs
outb(0xF1, SIO_ADDR);
outb(0x55, SIO_DATA); //write out: 01010101
printf("WRITE: 0x55\n");
outb(0xF1, SIO_ADDR);
printf("READ: 0x%02X\n", inb(SIO_DATA)); //read in the witten out
Internal Watchdog
This example shows the how to access the Winbond SuperIO/LPC interface internal watchdog. The
code example below depicts how to program and trigger the watchdog. The routine main() is meant
to be compiled using gcc under Linux.
#include <stdio.h>
#include <sys/io.h>
#include <unistd.h>
int main()
{
unsigned char i;
iopl(3); // get all I/O access rights as root!
outb(0x87,SIO_ADDR); // initialize SuperIO
outb(0x87,SIO_ADDR);
outb(0x2B,SIO_ADDR); // enable SuperIO internal watchdog
outb(inb(SIO_DATA) & 0xF7, SIO_DATA);
outb(0x07,SIO_ADDR); // enable device 8
outb(0x08,SIO_DATA);
outb(0xF5,SIO_ADDR); // set the watchdog properties (CRF5, CRF6 and CRF7)
outb(inb(SIO_DATA) & 0xF7, SIO_DATA);// save the old register value and modify
// it to the new one
//to set time base to minutes use this instead: outb(inb(SIO_DATA) | 0x08,
SIO_DATA);
outb(0xF6,SIO_ADDR); // set timeout value
outb(0x03,SIO_DATA); // 3 seconds
printf("Watchdog enabled. Press CTRL+C within 5 seconds to stop resetting.\n");
for(i=0; i<5; i++)
{
outb(0xF6,SIO_ADDR); // refresh timeout value
outb(0x03,SIO_DATA); // 3 seconds
printf(".");
fflush(stdout);
sleep(1);
}
outb(0xF6,SIO_ADDR);
outb(0x00,SIO_DATA); // deactivates the watchdog timer
printf("\nWatchdog disabled.\n");
iopl(0); // reset I/O rights
return 0;
}
#include <stdio.h>
#include <conio.h>
typedef unsigned char BYTE;
void main()
{
BYTE trigger;
#include <stdio.h>
#include <conio.h>
typedef unsigned char BYTE;
void main()
{
BYTE crf1, temp;
BYTE mask = 4;
CPU Supervision
The AMD GeodeTM GX 466@0.9W processor contains a temperature sensor to monitor the CPU
P P P P
temperature. The current temperature is shown in the PC Health Status screen of BIOS setup.
Additionally the environment temperature is measured and shown in the PC Health Status screen.
It also can be used to control the rotation of a 5 Volt environment fan, which must be connected to
the supervisory connector.
The Cool LiteRunner 2's CPU and board temperatures as well the current fan speed can be read from
the Winbond SuperIO using the LPC interface's Index/Data Ports 295h/296h.
Board Temperature
An 8-bit value temperature value can be read from register 27h, which is accessed using the LPC
interface's Index/Data Ports 295h/296h.
Refer to the table below for the temperature encoding for both, CPU and board sensors.
most significant 8 bits (Reg 50, bank 1) least significant bit (Reg 51, bank 1)
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
1.35 • 106
RPM =
Count • Divisor
In the equation, the divisor equals the number of pulses per revolution as delivered by the fan. This
number can be stored initially within the LPC interface. The number storage is in bit 5 in register 5Dh
(Bit 2 of divisor) and register 47h, Bits 5 and 4 (Bit 1 and 0 of divisor). The default divisor is 2. The
following table shows how the divisor is stored in the mentioned registers.
0 0 0 1
0 0 1 2
0 1 0 4
0 1 1 8
1 0 0 16
1 0 1 32
1 1 0 64
1 1 1 128
The speed of the fan can be varied by modifying its duty cycle. The default duty cycle of the fan is
100% (FFh). The fan speed is reduced by decreasing the duty cycle. Therefore, you have to write the
value to register 5Ah in Bank 0 (remember: Bank Select register Æ 4Eh). 00h Æ 0% = Off, FFh Æ
100% = Full Speed.
Please check the datasheet of the Winbond 83627HF LPC interface for details.
The following example is meant to be compiled using gcc under Linux.
Please note that the addresses in the 0xC8000...0xE7FFF range (96 Kbytes) refer to memory space,
not to I/O space.
Example:
Changing the ISA mapped memory address space is easy:
1. Enter the BIOS setup page
2. Go to "Special CLR features"
3. Enter memory area size Mem Area X Size, e.g. 64 Kbyte
4. Enter your start address at Mem Area X Address[23:8], e.g. 0C80
Now the memory address space from 0xC8000 to 0xD0000 is mapped.
Caution Changing the memory mapping can completely prevent the Cool
LiteRunner 2 from booting.
In that case, the BIOS default values must be loaded by pressing
<INSERT> when the board is switched on.
Headquarters
LiPPERT Embedded Computers GmbH
Hans-Thoma-Straße 11
68163 Mannheim
Germany
US Office
LiPPERT Embedded Computers, Inc.
5555 Glenridge Connector, Suite 200
Atlanta, GA 30342
USA
Should you have technical questions that are not covered by the respective manuals, please contact
our support department at support@lippertembedded.com.
Technical manuals as well as other literature for all LiPPERT products can be found in the Products
section of LiPPERT's website www.lippertembedded.com. Simply locate the product in question and
follow the link to its manual.
Deliveries without a valid RMA number are returned to sender at his own cost!
LiPPERT has a written Warranty and Repair Policy, which can be retrieved from
http://www.lippertembedded.com/?id=rwp
90H
It describes how defective products are handled and what the related costs are. Please read this
document carefully before returning a product.
Recommended Reading
Datasheet LPC interface Winbond 83627HF, available at http://www.winbond.com
USB
Universal Serial Bus (USB) connects computers, peripherals and more at www.usb.org
91H