The model TS-5700 is a compact, full-featured PC compatible Single Board Computer based on the AMD Elan520 processor. At 133 MHz, it is approximately 10 times faster than our other 386EX based products for only a small additional cost. PC compatibility allows for rapid development since you can use standard PC development tools such as Turbo C or Power Basic or Linux based tools as well. If you have done work in the PC world in the past, you will find you can now build applications for a very small target that does not require a keyboard, video, floppy disks, or hard drives. By adding the optional TS-9500 peripheral board, you can compile and debug directly on the TS-5700 with standard VGA video and keyboard interfaces. Alternatively, you can typically write and debug code on a host PC using standard development tools for the PC platform, then simply copy it to and run it on the TS-5700 without modification. If additional peripherals are required, the PC/104 expansion bus allows for many standard functions available off-the-shelf. It is also very simple to create a custom PC/104 peripheral board for those special features that differentiate your product. Technologic Systems can provide technical support as well as a free quotation for any custom hardware, software, or BIOS modifications you may require. This manual is fairly short. This is because for the most part, the TS-5700 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-5700 differs from a standard PC.
2 PC Compatibility
PC compatibility requires much more than just an x86 processor. It requires PC compatible memory and I/O maps as well as a PC compatible BIOS. The General Software EMBEDDED BIOS offers a high degree of compatibility with past and present BIOS standards allowing it to run off-the shelf operating systems and application software. The EMBEDDED BIOS has been tested with all major versions of DOS, including MS-DOS, DR-DOS, and Embedded DOS 6-XL; all major versions of OS/2, including MS-OS/2 and IBM OS/2; MS-Windows 3.1, Windows-95, Windows NT, and NetWare 386.
2.1 Operating Systems
Technologic Systems Embedded PCs are compatible with a wide variety of x86-based operating systems. A partial list of operating systems that our customers are currently using with our board includes:
- TNT Embedded Toolsuite, Phar Lap Software
- UCos II
- RTKernel, On Time Software
- RTEMS, On-Line Applications Research Corporation
- DOS with WATTCP, public domain TCP/IP source code for DOS
The TS-5700 is shipped, free of charge, with Embedded DOS ROM by General Software. The TS-5700 can be shipped upon request with Linux pre-installed for a nominal fee. The Linux file system and kernel is also freely available on the web should you wish to install it yourself. Typically, the Linux OS requires a 16MB or larger Compact Flash or an M-System's DiskOnChip.
The TS-5700 requires regulated 5VDC at 800 mA (typical maximum). When running the Linux OS, it will drop to about 300 mA during low usage. A quick release screw-down terminal block for the 5V power and power GND connections is provided for easy connection to an external power supply. When power is first supplied to the TS-5700, the board mounted LED is immediately turned on under hardware control. Once the processor begins execution, the LED is turned off. The LED then turns on then off to provide a characteristic blink during execution of POST. If the LED does not turn on at all, the most likely problem is the power supply. Check that the +5V and GND connections are not reversed. A diode protects the board against damage in such a situation, but it will not run. Please note that supply voltages over 6 VDC may damage the TS-5700. Be sure to use a regulated 5 VDC power supply, preferably with current limiting to 3 to 5 Amps. If using a PC power supply that may be capable of supplying 20 Amps or more, it is possible to do irreversible damage if the polarity on the power leads is reversed.
The TS-5700 has a total of 32 Megabytes (MB) of high-speed SDRAM providing 640 Kilobytes (KB) of base memory, 31 MB of extended memory, and 128 KB of shadow RAM for the BIOS. This is identical to a standard PC memory map. The TS-5700 can be ordered with 64MB of SDRAM, but it is not field upgradeable. The TS-5700 SDRAM chips are soldered directly to the board. By not using a SIMM socket, the TS-5700 is much more reliable in high-vibration environments.
There is a total of 2 MB of Flash memory on the TS-5700 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). The remainder of the Flash memory (1920 KB) is configured as a solid-state disk (SSD) drive appearing as drive A. Drive A is fully supported by the BIOS as an INT 13h drive. The physical Flash memory is accessed by the BIOS in protected mode at memory address 148M. The Flash memory is guaranteed capable of a minimum of 100,000 write/erase cycles. This means that if you completely erase and rewrite the SSD drive 10 times a day you have over 27 years before any problems would occur. Reading the SSD produces no wear at all. Power failure during Flash writes can cause corruption of Flash drive FAT tables (A: or B:). Therefore applications writing frequently should use a Compact Flash card drive which is much more tolerant of power failures during write cycles. Flash drive A is read-only when JP3 is not installed. Removing JP3 also makes the 128 kbyte BIOS area of the Flash write protected as well. Write protecting the A: drive can be useful if there are critical files in the final product that must be very secure.
4.3 Compact Flash Cards
If 2MB of Flash is insufficient for your application, additional non-volatile storage can be added with a Compact Flash (CF) card. CF cards can supply additional storage that will behave much as a hard drive does in a typical PC with sizes ranging from 8MB to 512MB. These products are inherently more rugged than a hard drive since they are completely solid-state with no moving parts. The Compact Flash card has the added advantage of being removable media. A SanDisk USB Compact Flash reader/writer (which is included in the TS-5700 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-5700 using a Compact Flash card as the removable media. Since the Compact Flash card appears as a standard IDE drive on the TS-5700, it uses no additional RAM for drivers. While a USB Compact Flash reader allows for hot swapping of the Compact Flash card on the host PC, the Compact Flash interface on the TS-5700 is not hot swappable, the TS-5700 must be rebooted after removing or installing a Compact Flash card.
4.4 Using the SanDisk USB Compact Flash Card Reader
This device allows for a very fast and reliable method of moving files between the host PC and target SBC (TS- 5700). The Compact Flash (CF) card can then be hot swapped in the host system (inserted or removed without rebooting the host PC). Sometimes it is necessary to unplug the USB cable and reinstall it after swapping CF cards (at least Windows ME seems to prefer this).
|Note:||The TS-5700 always needs to be powered off before swapping CF cards.|
5 Serial Ports
The four PC compatible asynchronous serial ports (COM1 through COM4) provide a means to communicate with external serial devices such as printers, modems, etc. Each is independently configured as a standard PC COM port that is compatible with the National Semiconductor NS16C450. Alternatively, these ports can be changed to the 16C550 mode with 16 byte FIFOs in both the receive and transmit UART channels. COM1 appears in the I/O space at 3F8h - 3FFh and uses IRQ4. COM2 is located at 2F8h - 2FFh and uses IRQ3. COM3 appears in the I/O space at 3E8h-3EFh. COM4 appears in the I/O space at 2E8h-2EFh. COM3 and COM4 have a non-standard method for configuring interrupts; see section 5.6 COM3 and COM4 Interrupt Configuration Register for details.
By changing an internal configuration register in the Elan520, the serial clock to the COM ports can be switched to a 10 times rate (18.432 MHz). This feature allows baud rates higher than 115 Kbaud (such as 230K baud or 576K baud), as well as non-standard lower baud rates (such as 24 Kbaud). See Appendix F for further information, COM1 & COM2 only The COM1 and COM2 ports may also be configured to use a DMA channel, which may be useful when very high baud rates are being used. Download the [AMD Elan SC520 user's manual] for further details.
5.1 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-5700. The details of the COM port internal registers are available in most PC documentation books or consult the [TL16C550 data sheet]. Download the [AMD Elan SC520 user's manual] for further details.
5.2 Serial Port Hardware
The COM2 RS-232 port has 7 signals supported: RXD, TXD, RTS, CTS, DTR, DSR, and DCD. This port can interface to almost any RS-232 device. The COM1 RS-232 serial port has 4 signals supported: RXD, TXD, RTS and CTS. This is quite sufficient to interface with the vast majority of serial devices. The TS-5700 COM ports are accessible on two 10-pin Headers labeled COM1 and COM2. Adaptor cables are available to convert these into standard 9-pin Sub-D male connectors.
Table 5.2a COM2Serial Port Header Pin-Out 5V Power 10 5 GND NC 9 4 DTR [out] [in] CTS 8 3 TXD [out] [out] RTS 7 2 RXD [in] [in] DSR 6 1 DCD [in] NOTE: The serial port headers use a nonstandard numbering scheme. This was done so the header pins would have the same numbering as the corresponding DB-9 pin; i. e. pin 8 (CTS) on the header connects to pin 8 on the DB-9
Table 5.2b COM1Serial Port Header Pin-Out 5V Power 10 5 GND Rx- 9 4 Rx+ (DTR) [out] [in] CTS 8 3 TX data [out] [out] RTS 7 2 Rx data [in] Tx- 6 1 Tx+ [in] NOTE: COM1 has connections for the RS- 232 port and the RS-485 port on the same 10- pin header, only one of the two functions will be used at a time. DTR unavailable when full duplex RS-485 installed.
The pin-outs for the COM1 and COM2 10-pin headers are listed above. When using COM1 in the RS-232 mode, be sure that the jumper labeled �232� is installed. The COM3 RS-232 port has 6 signals supported: RXD, TXD, RTS, CTS, DTR, and DCD. The COM4 RS-232 port has 7 signals supported: RXD, TXD, RTS, CTS, DTR, DSR, and DCD. These ports can interface to almost any RS-232 device. The TS-5700 COM ports are accessible on two 10-pin Headers labeled COM3 and COM4. Adaptor cables are available to convert these into standard 9-pin Sub-D male connectors. See section 5.6 for COM3, COM4 interrupt configuration.
Table 5.2c COM3Serial Port Header Pin-Out 5V Power 10 5 GND NC 9 4 DTR [out] [in] CTS 8 3 TXD [out] [out] RTS 7 2 RXD [in] NC 6 1 DCD [in] NOTE: The serial port headers use a nonstandard numbering scheme. This was done so the header pins would have the same numbering as the corresponding DB-9 pin; i. e. pin 8 (CTS) on the header connects to pin 8 on the DB-9
Table 5.2d COM4Serial Port Header Pin-Out 5V Power 10 5 GND NC 9 4 DTR [out] [in] CTS 8 3 TX data [out] [out] RTS 7 2 Rx data [in] [in] DSR 6 1 DCD [in] NOTE: The serial port headers use a nonstandard numbering scheme. This was done so the header pins would have the same numbering as the corresponding DB-9 pin; i. e. pin 8 (CTS) on the header connects to pin 8 on the DB-9