Kontron KTLX800-pITX User Manual

KTLX800/pITX
KTD-S0023-A
User Information
Table of Contents
1 User Information .............................................................................1
1.1 About This Document.................................................................................................... 1
1.2 Copyright Notice.......................................................................................................... 1
1.3 Trademarks................................................................................................................. 1
1.4 Standards................................................................................................................... 1
1.5 Warranty .................................................................................................................... 1
1.6 Life Support Policy ....................................................................................................... 2
1.7 Technical Support ........................................................................................................ 2
2 BIOS Update ...................................................................................3
2.1 Known Restrictions ...................................................................................................... 3
3 Graphics Interface............................................................................4
3.1 LCD/LVDS Technology Overview ...................................................................................... 4
3.1.1 Detailed Timing Descriptor (EDID or DisplayIDTM) ............................................................................. 4
3.1.2 24 Bit Color Mapping Tips............................................................................................................6
3.2 EDID 1.3 Specification (VESA) ........................................................................................ 7
3.3 DisplayIDTM Specification (VESA) ..................................................................................... 7
3.3.1 DisplayIDTM Parameter Summary ...................................................................................................7
3.3.2 DisplayIDTM Restrictions ..............................................................................................................8
3.3.3 LCD Panel Selection ................................................................................................................... 8
3.3.4 DisplayID
3.3.5 Building DisplayIDTM File ........................................................................................................... 10
3.3.6 Erasing DisplayIDTM Record ........................................................................................................ 10
3.3.7 EEPROM Update Tool ................................................................................................................ 10
TM
Windows
®
Tool .......................................................................................................... 9
4 SDIO/microSD Card Interface............................................................ 11
4.1 DOS Boot...................................................................................................................11
4.2 Windows® XP Boot.......................................................................................................11
4.3 Windows® XP Embedded Boot ........................................................................................11
5 CPLD Interface............................................................................... 12
5.1 Special Hints..............................................................................................................13
5.1.1 Reserved Bits.......................................................................................................................... 13
5.1.2 GPIO Input Register ................................................................................................................. 13
5.2 Programming Examples................................................................................................14
5.2.1 Watchdog Example................................................................................................................... 14
5.2.2 Digital I/O Example.................................................................................................................. 15
5.2.3 Fan Control Example ................................................................................................................ 16
KTLX800/pITX Software Guide
User Information
Table of Contents
6 ACPI Thermal Management............................................................... 17
6.1 Active Cooling ............................................................................................................17
6.2 Temperature Limits .....................................................................................................17
6.3 Temperature Identifier.................................................................................................17
7 ACPI Wakeup ................................................................................. 18
7.1 Wake On LAN..............................................................................................................18
7.1.1 Windows® XP .......................................................................................................................... 18
7.1.2 Linux (Debian distributions)...................................................................................................... 18
8 JIDA32 Interface............................................................................ 19
8.1 Generic Part...............................................................................................................19
8.2 Display Part ...............................................................................................................19
8.3 I2C-Bus Part ..............................................................................................................19
8.3.1 Bus Number 0 (JIDA/Generic) .................................................................................................... 20
8.4 CPU Performance Part ..................................................................................................20
8.5 Hardware Monitor Part.................................................................................................20
8.5.1 Temperature........................................................................................................................... 20
8.6 Digital I/O Part...........................................................................................................21
8.7 Watchdog Part............................................................................................................21
8.8 JIDA32 Windows® Programming.....................................................................................22
8.8.1 Program Language C ................................................................................................................ 22
8.8.2 Program Language DELPHI ........................................................................................................ 23
8.8.3 Program Language VISUAL BASIC (VB.NET)................................................................................... 26
8.8.4 Module Definition File .............................................................................................................. 28
8.9 JIDA32 Linux Programming...........................................................................................30
9 Linux Support ............................................................................... 32
Appendix A: Reference Documents .............................................................. 33
Appendix B: Document Revision History .......................................................34
KTLX800/pITX Software Guide
KTD-S0023-A Page 1 User Information
1 User Information
1.1 About This Document
This document provides information about products from KONTRON Technology A/S and/or its subsidiaries. No warranty of suitability, purpose or fitness is implied. While every attempt has been made to ensure that the information in this document is accurate the information contained within is supplied “as-is” - no liability is taken for any inaccuracies. Manual is subject to change without prior notice. KONTRON assumes no responsibility for the circuits, descriptions and tables indicated as far as patents or other rights of third parties are concerned.
1.2 Copyright Notice
Copyright © 2010-2011, KONTRON Technology A/S, ALL RIGHTS RESERVED. No part of this document may be reproduced or transmitted in any form or by any means, electronically or mechanically, for any purpose without the express written permission of KONTRON Technology A/S.
1.3 Trademarks
Brand and product names are trademarks or registered trademarks of their respective owners.
1.4 Standards
KONTRON Technology A/S is certified to ISO 9000 standards.
1.5 Warranty
This product is warranted against defects in material and workmanship for the warranty period from the date of shipment. During the warranty period KONTRON Technology A/S will at its discretion decide to repair or replace defective products. Within the warranty period the repair of products is free of charge as long as warranty conditions are observed. The warranty does not apply to defects resulting from improper or inadequate maintenance or handling by the buyer, unauthorized modification or misuse, operation outside of the product’s environmental speci­fications or improper installation or maintenance. KONTRON Technology A/S will not be responsible for any defects or damages to third party products that are caused by a faulty KONTRON Technology A/S product.
KTLX800/pITX Software Guide
KTD-S0023-A Page 2 User Information
1.6 Life Support Policy
KONTRON Technology's products are not for use as critical components in life support devices or systems without express written approval of the general manager of KONTRON Technology A/S. As used herein: Life support devices or systems are devices or systems which a) are intended for surgical implant into body or b) support or sustain life and whose failure to perform, when properly used in accordance with instructions for use provided in the labelling, can be reasonably expected to result in significant injury to the user. A critical component is any component of a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system or to affect its safety or effectiveness.
1.7 Technical Support
Please consult our web site at http://www.kontron.com/support for the latest product documentation, utilities, drivers and support contacts
or use the special e-mail address sbc-support@kontron.com for a technical problem. In any case you can always contact your board supplier for technical support. Before contacting support please be prepared to provide as much information as possible: Board identification:
Ë
Ë
Ë
Board configuration:
Ë
Ë
Ë
System environment:
Ë
Ë
Ë
Type Part number (find PN on label) Serial number (find SN on label)
DRAM type and size BIOS revision (find in the BIOS Setup) BIOS settings different than default settings (refer to the BIOS Setup section)
O/S type and version Driver origin and version Attached hardware (drives, USB devices, LCD panels ...)
KTLX800/pITX Software Guide
KTD-S0023-A Page 3 BIOS Update
2 BIOS Update
The KONTRON update tool (based on the AMD utility 'FlashROM.com') is only available for the DOS ope­rating system. First copy the files IPLXUPD.EXE, UPDATE.EXT (absolutely essential) and the BIOS file to a directory. Only the following combination of command line arguments has been tested and should be used for the update process.
COMMAND.COM must reside in the same directory or alternatively there has to be a valid path in the
Note: variable COMSPEC.
The syntax of the DOS update tool is:
IPLXUPD /C /R <BIOS filename>
/C = destroy CMOS checksum /R = warmstart after programming
Following combinations are valid:
IPLXUPD <BIOS filename> IPLXUPD /C <BIOS filename> IPLXUPD /C /R <BIOS filename>
2.1 Known Restrictions
When a USB drive (e.g. a key) is used for the Bios update it is recommended to switch off the power supply after the update process. Reason: after a warmstart sometimes the Bios does not detect USB drives.
KTLX800/pITX Software Guide
KTD-S0023-A Page 4 Graphics Interface
3 Graphics Interface
3.1 LCD/LVDS Technology Overview
3.1.1 Detailed Timing Descriptor (EDID or DisplayIDTM)
The input fields Pixel Clock, Horizontal Active, Horizontal Blank, Horizontal Sync Offset, Horizontal Sync Width, Vertical Active, Vertical Blank, Vertical Sync Offset and Vertical Sync Width must be filled in with the correct values according to the panel’s data sheet. In many cases the value for Horizontal/Vertical Blank cannot be read directly from the data sheet. Instead terms such as Display Period (active pixels/lines) or Horizontal/Vertical Total appear. In this case the following calculation can be made:
Blank Value = Total Value – Active Value.
Sometimes the datasheet does not specify Sync Offset and/or Sync Width. In this case the permissible values can only be determined though testing. However the rule is:
The sum of Sync Offset and Sync Width must not exceed the value for Horizontal/Vertical Blank.
Also datasheets are often different for displays with double pixel clock. If Pixel Clock and Horizontal Values seem to be halved this must be corrected for input:
The values must always be entered as though it were a panel with single pixel clock.
Example 1:
PRIMEVIEW PM070WL4 (single pixel clock) Data sheet specifications: Clock Frequency [typ.] 32 MHz HSync Period [typ.] 1056 Clocks (equivalent to Horizontal Total) HSync Display Period [typ.] 800 Clocks (equivalent to Horizontal Active) HSync Pulse Width [typ.] 128 Clocks HSync Front Porch [typ.] 42 Clocks HSync Back Porch [typ.] 86 Clocks VSync Period [typ.] 525 Lines (equivalent to Vertical Total) VSync Display Period 480 Lines (equivalent to Vertical Active) VSync Pulse Width [typ.] 2 Lines VSync Front Porch [typ.] 10 Lines VSync Back Porch [typ.] 33 Lines
Result:
Pixel Clock 32 Horizontal Active 800 Horizontal Blank 256 ((128 + 42 + 86) H. Pulse Width + H. Front Porch + H. Back Porch) Horizontal Sync Offset 42 (H. Front Porch) Horizontal Sync Width 128 (H. Pulse Width) Vertical Active 480 Vertical Blank 45 ((2 + 10 + 33) V. Pulse Width + V. Front Porch + V. Back Porch) Vertical Sync Offset 10 (V. Front Porch) Vertical Sync Width 3 (V. Pulse Width)
KTLX800/pITX Software Guide
KTD-S0023-A Page 5 Graphics Interface
Example 2 (not useable on KTLX800/pITX):
SHARP LQ190E1LW01 (double pixel clock) Data sheet specifications (no definition of Sync Offset and Sync Width): Clock Frequency [typ.] 54 MHz Horizontal Period (1) [typ.] 844 Clocks (equivalent to Horizontal Total) Horizontal Display Period 640 Clocks (equivalent to Horizontal Active) Vertical Period [typ.] 1066 Lines (equivalent to Vertical Total) Vertical Display Period 1024 Lines (equivalent to Vertical Active)
Result:
Pixel Clock 108 (2 x 54 MHz) Horizontal Active 1280 (2 x 640 Clocks) Horizontal Blank 408 ((844 – 640) x 2 Clocks) Horizontal Sync Offset 45 (normally approx. 10 – 15 % of Horizontal Blank) Horizontal Sync Width 140 (normally approx. 30 – 70 % of Horizontal Blank) Vertical Active 1024 Vertical Blank 42 (1066 – 1024 Lines) Vertical Sync Offset 1 (normally approx. 1 – 3 Lines) Vertical Sync Width 3 (normally approx. 1 – 15 Lines)
Example 3 (not useable on KTLX800/pITX):
LG-PHILIPS LM170E01-TLA1 (double pixel clock) Data sheet specifications: Clock Frequency [typ.] 54 MHz Hsync Period [typ.] 844 Clocks Horiz. Valid [typ.] 640 Clocks Horiz. Back Porch [typ.] 124 Clocks Horiz. Front Porch [typ.] 24 Clocks Vsync Period [typ.] 1066 Lines Vert. Valid [typ.] 1024 Lines Vert. Back Porch [typ.] 38 Lines Vert. Front Porch [typ.] 1 Line
Result:
Pixel Clock 108 (2 x 54 MHz) Horizontal Active 1280 (2 x 640 Clocks Horizontal Addr. Time) Horizontal Blank 408 ((844 – 640) x 2 Clocks) Horizontal Sync Offset 48 (2 x 24 Clocks Horizontal Front Porch) Horizontal Sync Width 112 (((408/2 – 124 – 24) x 2) H. Blank – H. Back Porch – H. Front Porch) Vertical Active 1024 (Vertical Addr. Time) Vertical Blank 42 (1066 – 1024 Lines) Vertical Sync Offset 1 (Vertical Front Porch) Vertical Sync Width 3 (Vertical Blank – Vertical Back Porch – Vertical Front Porch)
The following picture shows the typical video timing.
Timing Parameter Definitions
Blanking
Active Part
Blanking
H-/V-Video
Front Porch
H-/V-Sync
Sync Pulse Width
pos. Sync
neg. Sync
Back Porch
Address Time
Total
KTLX800/pITX Software Guide
Front Porch
Sync Pulse Width
pos. Sync
neg. Sync
Back Porch
KTD-S0023-A Page 6 Graphics Interface
ace
3.1.2 24 Bit Color Mapping Tips 3.1.2 24 Bit Color Mapping Tips
The double pixel clock or 24-bit color depth can generally be taken from the datasheet. There are two
The double pixel clock or 24-bit color depth can generally be taken from the datasheet. There are two interface modes existing at 24-bit color depth: FPDI (F
interface modes existing at 24-bit color depth: FPDI (F I
nterface). Some panels use the line SELL LVDS (SELect Lvds data order). The LVDS data assignment in the
lat Panel Display Interface) or LDI (LVDS Display
datasheet can give you an indication by the last channel (e.g. RX3/TX3 – SELL LVDS = low) wether it is a LDI panel (contains the lowest bits). Most panels have a FPDI interface.
Example:
FPDI data assignment (LVDS channel 3 even or odd): Tx/Rx27 Red 6 (e.g. even: RE6 or ER6) Tx/Rx5 Red 7 Tx/Rx10 Green 6 (e.g. even: GE6 or EG6) Tx/Rx11 Green 7 Tx/Rx16 Blue 6 (e.g. even: BE6 or EB6) Tx/Rx17 Blue 7 Tx/Rx23 not used
LDI data assignment (LVDS channel 3 even or odd): Tx/Rx27 Red 0 (e.g. even: RE0 or ER0) Tx/Rx5 Red 1 Tx/Rx10 Green 0 (e.g. even: GE0 or EG0) Tx/Rx11 Green 1 Tx/Rx16 Blue 0 (e.g. even: BE0 or EB0) Tx/Rx17 Blue 1 Tx/Rx23 not used
TxClk
TxOut0
G0
R5
R4
R3
R2 R1
R0
FPDI
TxOut1
TxOut2
B1
DE
B0
VS
G5 G4 G3 G2 G1
HS
B5
B4
B3
B2
TxOut3
B7
B6
G7 G6 R7
R6
t
cycle
LDI
TxClk
TxOut0
TxOut1
G2 R7 R6 R5
B3
R4
R3
R2
G3G4G5G6G7B2
TxOut2
TxOut3
DE VS HS B7 B6 B5
B1
B0 G1 G0
R1
B4
R0
KTLX800/pITX Software Guide
KTLX800/pITX Software Guide
KTD-S0023-A Page 7 Graphics Interface
3.2 EDID 1.3 Specification (VESA)
The EDID (Extended Display Identification Data) record has a fixed structure. The first 8 bytes contain the distinctive identification 00h, FFh, FFh, FFh, FFh, FFh, FFh, 00h. The end of the record is marked by the checksum (1 byte). The result of the addition of all bytes including the checksum has to be zero. For a comprehensive support of the majority of available panels you don't need all fields of the EDID record. The Detailed Timing Descriptor (18 bytes) is the most important field. No 24bit panels (FPDI/LDI) are supported though. This means EDID should only be used for 18bit panels. For further information please consult the official EDID specification from the VESA comitee which has to be payed.
3.3 DisplayID
TM
Specification (VESA)
Intended as a replacement for all previous EDID versions DisplayIDTM contains many new features. It's a structure with several well defined elements (tags). Not every element that is listed in the specification has to be part of the resulting data set (basic section). KONTRON has decided to use this selection of tags (mandatory presence).
Tag Description
00h Product Identification Data Block (Vendor ID, Product Code, Manufacturing Date ...)
03h Type I Detailed Timing Data Block (Pixel Clock, Horizontal/Vertical Data ...)
0Ch Display Device Data Block (Device Technology, Operating Mode, Color Depth ...)
0Dh Interface Power Sequencing Data Block (Power On/Off Timing)
0Fh Display Interface Data Block (Interface Type, Interface Attribute ...)
3.3.1 DisplayIDTM Parameter Summary
Only a part of the parameters used in the DisplayIDTM Windows® tool are interpreted by a specific board. The following table shows a summary of the used parameters (valid for KTLX800/pITX).
Group Parameter Comment
Type I Timing Pixel Clock
Type I Timing Horizontal Active
Type I Timing Horizontal Blank
Type I Timing Horizontal Sync Offset Front porch
Type I Timing Horizontal Sync Width
Type I Timing Vertical Active
Type I Timing Vertical Blank
Type I Timing Vertical Sync Offset Front porch
Type I Timing Vertical Sync Width
Display Interface 1 Bits per Pixel Color depth (18 or 24bit)
Display Interface 1 24 Bit Color Mapping
Display Interface 2 Signal Polarity Only H-Sync and V-Sync
Display Interface 2 DE Mode Only Normal mode + Fixed mode low
KTLX800/pITX Software Guide
KTD-S0023-A Page 8 Graphics Interface
3.3.2 DisplayIDTM Restrictions
Depending on the graphic controller not all features can be used. The following table shows the most im­portant restrictions.
Restrictions for KTLX800/pITX
Panels with dual or quad clock not supported (2 or 4 Pixel per Clock)
Many displays center the picture automatically using the DE-signal. In general the picture is centered automatically in horizontal direction but some displays also center the picture vertically using this signal. Only for displays that can be driven with a these information please check the datasheet. With the KTLX800/pITX board the parameters for the typical detailled timing out of the datasheet might not be correct for centering the picture. In general the exact positioning of the picture has to be obtained experimental.
Variable power sequencing not supported
fixed mode timing a displacement of the picture is possible. For
3.3.3 LCD Panel Selection
The choice of an LCD display is basically defined by two parameters.
Parameter Value
Pixel per Clock (Channels) 1
Pixel Clock Range 20 MHz - 135 MHz
Currently this leads to a maximum resolution of
With the AMD graphic driver it is not guaranteed that every resolution can be achieved. KONTRON does not guarantee the correct function of the board for untypical resolution. In principal the use of DisplayID allows realizing every special display resolution. For this a valid DisplayID onboard EEPROM. Additionally the BIOS Setup entry
Advanced Settings/Display Configuration/Flat Panel Type
must be set to Auto. Many displays with a resolution up to XGA (1024 x 768) have a digital (TTL) interface. KONTRON offers a special adapter to connect these displays to the LVDS interface (KAB-ADAPT-LVDStoTTL with part number
61029).
1024 Pixel
TM
dataset must be written to the
TM
KTLX800/pITX Software Guide
KTD-S0023-A Page 9 Graphics Interface
3.3.4 DisplayIDTM Windows® Tool
The DisplayIDTM parameter can be modified with the DisplayIDTM Windows® tool.
For an example the following picture shows the input fields for the Detailed Timing parameters.
For more information see the documentation of the DisplayID
kontron.com).
KTLX800/pITX Software Guide
TM
tool (software can be downloaded from
Loading...
+ 25 hidden pages