Technologic Systems TS-5300 User Manual

Full-featured pc compatible single board computer based on the amd elan520 processor
Table of Contents

Advertisement

Quick Links

TS-5300 User's Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TS-5300 and is the answer not in the manual?

Questions and answers

Summary of Contents for Technologic Systems TS-5300

  • Page 1 TS-5300 User’s Manual...
  • Page 2 16525 East Laser Drive Fountain Hills, AZ 85268 480-837-5200 FAX 837-5300 info@embeddedx86.com http://www.embeddedx86.com/ This revision of the manual is dated May 21, 2009 All modifications from previous versions are listed in the appendix. Copyright © 1998-2008 by Technologic Systems, Inc. All rights reserved.
  • Page 3: Limited Warranty

    Technologic Systems warrants this product to be free of defects in material and workmanship for a period of one year from date of purchase. During this warranty period Technologic Systems will repair or replace the defective unit in accordance with the following instructions: •...
  • Page 4: Table Of Contents

    REAL TIME CLOCK.....................................16 WATCHDOG TIMER....................................17 LED AND JUMPERS...................................18 PC/104 BUS EXPANSION .................................20 LOADING OR TRANSFERRING FILES............................21 14.1 Developing with the Technologic Systems TS -9500 ......................21 14.2 Transferring files with Compact Flash............................21 14.3 Zmodem Downloads ..................................21 DEBUGGING......................................22 15.1 Integrated BIOS Debugger................................22 15.2 Using other debuggers ................................22...
  • Page 5 APPENDIX D - SYSTEM I/O MAP .................................31 APPENDIX E - BIOS INTERRUPT FUNCTIONS ............................32 Int 15h / Function B000h - Technologic Systems BIOS information....................32 Int 15h / Function B010h - LED Control..............................32 Int 15h / Function B042h – Alphanumeric LCD Support........................33 Int 15h / Function B040h –...
  • Page 6: Introduction

    BIOS modifications you may require. This manual is fairly short. This is because for the most part, the TS-5300 is a standard x86-based PC compatible computer, and there are hundreds of books about writing software for the PC platform. The primary purpose of this manual is documenting where the TS-5300 differs from a standard PC.
  • Page 7: Power

    4.2 Flash There is a total of 1 or 2 MB of Flash memory on the TS-5300 with 128 KB reserved for the BIOS. During POST, this 128 KB area is copied from Flash into SDRAM at addresses E0000h through FFFFFh for improved performance (a standard technique known as BIOS Shadowing).
  • Page 8: Using The Sandisk Usb Compact Flash Card Reader

    Compact Flash reader/writer (which is included in the TS-5300 Developer’s Kit) is recommended for the host PC for file transfers. This results in the ability to quickly move files from a host PC to the TS-5300 using a Compact Flash card as the removable media. Since the Compact Flash card appears as a standard IDE drive on the TS-5300, it uses no additional RAM for drivers.
  • Page 9: Serial Port Configuration Registers

    Because both serial ports are 100% PC compatible, software written for the PC that accesses serial ports directly or through standard BIOS calls will work without modification on the TS-5300. The details of the COM port internal registers are available in most PC documentation books or the data sheet for the National Semiconductor NS16C550 may be consulted.
  • Page 10: Automatic Rs-485 Tx Enable

    The TS-5300 PC/104 bus has IRQ 5, 6, 7 or 9 available for additional serial ports. Typically each serial port has a dedicated interrupt, but the TS-SER4 allows all four extra serial ports to share a single interrupt.
  • Page 11: Digital I/O

    DIO2_3 have 4.7KΩ pull-up resistors biasing these signals to a logic”1”. DIO2_8 can be programmed to indicate the state of the TS-5300 LED. When bit 0 of I/O location Hex 79 is set, DIO2_8 will be a logic “1” when the LED is on. Setting bit 0 of I/O location Hex 79, forces DIO2_8 to be an output regardless of the state of bit 5 at I/O location Hex 7D.
  • Page 12: Using Lcd Port As Digital I/O

    IRQ1. 7 LCD Interface A 14-pin LCD connector is provided on the TS-5300 for interfacing with standard alphanumeric LCD displays. These displays use a common controller, the Hitachi HD44780 or equivalent. While software written for the HD44780 will work with all displays using the controller, the cable needed is dependent on the display used.
  • Page 13: Matrix Keypad Support

    This is useful if one wishes to use console redirection or to use a keyboard as stdin. See section 16 for an explanation of console I/O and redirection. See the Technologic Systems download page for example code.
  • Page 14: The 10 Base-T Ethernet Port

    The physical interface is 10Base-T (RJ45 connector). The TS-5300 has both a LINK LED and a LAN LED built into the RJ-45 connector that indicates the current ethernet status. The LINK LED (right side of connector) is active when valid ethernet link pulses are detected.
  • Page 15 TS-5300 User’s Manual Technologic Systems WATTCP.CFG configuration file my_ip=192.168.0.20 // IP address of this Ethernet interface. hostname="epc.embeddedx86.com" // Host name of this computer. netmask=255.255.255.0 // Used to determine which IP’s are local. gateway=192.168.0.1 // Gateway for internet access. nameserver=192.168.0.1 Name server for domain name lookups With the WATTCP.CFG file properly setup and the 10 base-T cable connected, you should be able to...
  • Page 16 LINUX TCP/IP configuration When using the TS-5300 with TS-Linux, the CS8900 driver can be included in the kernel or loaded as a kernel module. If the Technologic Systems kernel is used, the CS8900 driver is built into the kernel. The settings stored in EPROM on the TS-5300 are used to configure the CS8900.
  • Page 17: Real Time Clock

    TS-5300 User’s Manual Technologic Systems 10 Real Time Clock The Dallas Semiconductor DS12887 is used for the PC compatible battery-backed real-time clock. It is a completely self-contained module that includes a Motorola 146818 compatible clock chip, the 32.768 kHz crystal, the lithium battery, and 114 bytes of battery-backed CMOS RAM. It is guaranteed to maintain clock operation for a minimum of 10 years in the absence of power.
  • Page 18: Watchdog Timer

    TS-5300 User’s Manual Technologic Systems 11 Watchdog Timer The AMD Elan520 contains a 32-bit watchdog timer (WDT) unit that can be used to prevent a system “hanging” due to a software failure. The WDT can Bits 0-7 Timeout Value be programmed to cause an interrupt or a full 0.5 milliseconds...
  • Page 19: Led And Jumpers

    0; 12 LED and Jumpers The TS-5300 has an LED available for user software. The user LED can be used for diagnostics, status messages, and simple output. This signal is also available as a digital output on the DIO2 port.
  • Page 20 TS-5300 User’s Manual Technologic Systems JP4 – Fast Console is set to 115K baud, BIOS messages and DOS console redirection. Normal console with jumper removed is 9600 baud. 05/21/09...
  • Page 21: Pc/104 Bus Expansion

    SYSCLK (8.25 MHz) standard drivers. Table 10 – Supported signals IRQ7 The TS-5300 implements a sub-set of the 8-bit or optionally the 16-bit IRQ6 version of the PC/104 bus. We have found this allows the support of the IRQ5 vast majority of PC/104 boards including all of the above mentioned examples.
  • Page 22: Loading Or Transferring Files

    The TS-9500 daughter board provides full VGA video, keyboard, and mouse interfaces necessary to work within most environments. It also has a Compact Flash card that can be used even if the TS-5300 is using a Compact Flash card as well. You can transfer your development tools (e.g. Turbo C) onto the TS-9500 Compact Flash card.
  • Page 23: Debugging

    TS-5300 User’s Manual Technologic Systems 15 Debugging There are two main methods for debugging on the TS-5300: using the integrated BIOS debugger (INT3) and/or using your development tool's debugger (this usually requires the TS-9500 video and keyboard). 15.1 Integrated BIOS Debugger To provide simple, direct access to the TS-5300 hardware, the system BIOS has an integrated debugger that can perform standard low-level debugger functions.
  • Page 24: Video, Keyboard, And Console Redirection

    115.2K Baud) All text information that would normally be displayed on a video screen is now displayed in your terminal window, and any serial data sent to the TS-5300 is seen as standard keyboard input by programs.
  • Page 25: System Bios Setup Screens

    Low-level format of flash drives A: and B: “Reset CMOS to last known values” Resets changes since last boot. “Reset CMOS to factory defaults” Reset to settings as shipped from Technologic Systems. “Write to CMOS and Exit” Save all changes made, and reboot.
  • Page 26: Basic Cmos Configuration

    0/Pri Master” or “Ide 2/Sec Master”. In this example the Compact Flash socket on the TS-5300 (Ide 0) is set as “AUTOCONFIG, PHYSICAL” and mapped so that drive C: is assigned to “Ide 0/Pri Master”. This drive is also set as the 1 boot device.
  • Page 27 TS-5300 User’s Manual Technologic Systems change the IDE DRIVE GEOMETRY for “Ide 2” to “AUTOCONFIG, PHYSICAL” and change the DRIVE ASSIGNMENT for Drive D: to “Ide 2, Sec Master”. 05/21/09...
  • Page 28: Custom Cmos Configuration

    TS-5300 User’s Manual Technologic Systems 17.4 Custom CMOS Configuration +------------------------------------------------------------------------------+ System BIOS Setup - Custom Configuration (C) 2000 General Software, Inc. All rights reserved +---------------------------------------+--------------------------------------+ | Write Buffer :>Disabled | Cache Mode : Write-Through| | CPU speed : 133 MHz...
  • Page 29: Shadow Configuration

    PC compatible system, shadowing is enabled to optimize the video BIOS functions. The region from E000-FFFF contains the embedded BIOS code in the TS-5300. This region is shadowed to optimize BIOS code execution and to allow reprogramming of the BIOS while the BIOS is executing out of SDRAM.
  • Page 30: Appendix A - Board Diagram And Dimensions

    TS-5300 User’s Manual Technologic Systems Appendix A - Board Diagram and Dimensions Appendix B - Operating Conditions 0 to 70° C Operating Temperature: Extended temperature range is optional 0 to 90% relative humidity (non-condensing) Operating Humidity: 05/21/09...
  • Page 31: Appendix C - System Memory Map

    PC/104 Bus or SDRAM (user configurable in CMOS setup, see sec. 17.4) C8000h 800k PC/104 (typically video BIOS) C0000h 768k PC/104 128k (typically video memory) A0000h 640k Lower Memory 640k (RAM) 00000h 00000 Figure 3 – TS-5300 Memory Map 05/21/09...
  • Page 32: Appendix D - System I/O Map

    User Chip Select is available DIO2_8 thru DIO2_ 13 (Bits 0 -5) on PC/104 Bus pin B19 that decodes the I/O range 140h – 15Fh. This can make for a simpler Table 12 – TS-5300 DIO and Control Registers and more cost-effective design. 05/21/09...
  • Page 33: Appendix E - Bios Interrupt Functions

    Systems website: Int 15h / Function B000h - Technologic Systems BIOS information This function is mostly for our own internal use, but may be useful for user programs as well. For example, your program could have debugging code that executes on your desktop machine, but does not when the program is executing on the TS-5300.
  • Page 34: Int 15H / Function B042H - Alphanumeric Lcd Support

    TS-5300 User’s Manual Technologic Systems Int 15h / Function B042h – Alphanumeric LCD Support This routine enables and disables the console on the LCD interface. It supports all LCD displays sized 2 x 40 or smaller using a Hitachi HD44780 controller.
  • Page 35: Int 15H / Function B021H - Jp5 Status

    TS-5300 User’s Manual Technologic Systems AH = 00 if no error, 86h if no supported by BIOS Int 15h / Function B021h – JP5 Status This function is for backward compatibility with those who used the TS-2350 board-mounted push switch. JP5 emulates the push-switch. With JP5 installed, this function will behave as if the push switch was installed.
  • Page 36: Appendix F - Using A Higher Rate (10X) Baud Clock

    TS-5300 User’s Manual Technologic Systems Appendix F - Using a Higher Rate (10x) Baud Clock The COM1 and COM2 serial port baud rate generator clock can be independently switched between either the standard 1.8432 MHz clock or a ten times rate of 18.432 MHz clock.
  • Page 37: Appendix G - Further References

    TS-5300 User’s Manual Technologic Systems Appendix G - Further References Technologic Systems Web Site http://www.embeddedx86.com/ Crystal CS8900A Ethernet Controller Overview http://www.cirrus.com/en/products/pro/detail/P46.html Dallas Semiconductor DS12887 Data Sheet ftp://ftp.embeddedarm.com/old/downloads/Components/12887.pdf Intel 386EX User's Guide http://developer.intel.com/design/intarch/manuals/272485.htm Maxim Integrated Products http://www.maxim-ic.com/ Omen Technologies http://www.omen.com/ PC/104 Consortium Web Site http://www.pc104.org/...

Table of Contents