Technologic Systems TS-3200 User Manual Download Page 12

TS-3200 User’s Manual 

Technologic Systems 

05/21/2009 

12

EN is an active high signal, raised whenever the LCD addresses are being read or written. 
D0 – D7 are bi-directional, buffered copies of the data bus and carry all data and commands to the 

LCD.  
Figure 5 is not the standard pin-outs given for LCD displays.  But this pin-out allows a standard ribbon 

cable to be used when the ribbon cable is attached to the backside of the LCD. Example code for the 

LCD display is on the utility diskette for the TS-3200. 
 
 
 

8 Matrix Keypad Support 

The DIO2 port, signals DIO2_0 through DIO2_7, may be configured to support a 4 x 4 matrix keypad. 

When enabled, BIOS firmware performs all the work, making the matrix keypad appear as a simple 16-

key keyboard to software. This allows the use of standard keyboard access routines. The default set of 

keys translated by the BIOS consists of 0 – 9, A – D, *, and #. Because the user is writing the software, 

this set of keys is usually sufficient. However, a custom translation table can be loaded, allowing the 

use of function keys, arrow keys, or any other key on the keyboard. Please see the sample code 

included on the utility disk for further information on the translation table. 
Matrix keypad support is enabled or disabled using 

INT15h, Function B040h 

(see Appendix D ). Once 

enabled, standard keyboard BIOS functions are enabled. Note that console redirection and the matrix 

keypad support are mutually exclusive – console redirection must be disabled to use the keypad.  
A matrix keypad can be used with console redirection only if the keypad is not used as stdin, but read 

from as a hardware device. This is useful if one wishes to use console redirection or to use a keyboard 

as stdin. See the utility diskette for example code. 
 
When enabled, the DIO2 signals DIO2_0 through DIO2_7 are not available as general I/O. 

9 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. It is located at the 

standard PC I/O addresses of Hex 070 and 071. The top 32 bytes of battery-backed RAM (index 60h 

through 7Fh) are not used by the BIOS and are available for user applications. 

10 Watchdog Timer and Software Reset 

The Intel 386EX contains a 32-bit watchdog timer (WDT) unit that can be used as a watchdog timer or 

as a software reset function. A system reset is asserted when the WDT times out preventing a system 

“hanging” due to a software bug. To prevent a WDT timeout, the application must periodically “feed” 

the WDT by writing to a specific I/O location (WDTCLR). The value loaded into the 32-bit down-counter 

(WDTRLDH and WDTRLDL) allows timeout values as high as 170 seconds. This value will be referred 

to as the “Reload Constant”. 
The 32-bit  “Reload Constant” determines the maximum time allowed between each Watch Dog Feed. 

After the WDT has been started, it cannot be turned off and the “Reload Constant “ cannot be 

changed. This makes it impossible for a crashed program to cause a system to “hang”. 
 
The following steps outline how to start the Watch Dog Timer: 

Summary of Contents for TS-3200

Page 1: ...TS 3200 User s Manual...

Page 2: ...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 ar...

Page 3: ...int the RMA number on the outside of the package This limited warranty does not cover damages resulting from lighting or other power surges misuse abuse abnormal conditions of operation or attempts to...

Page 4: ...FILES 17 14 1 Developing with Technologic Systems TS 9500 17 14 2 Zmodem Downloads 17 14 3 Manufacturing Mode 17 15 DEBUGGING 18 15 1 Integrated BIOS Debugger 18 15 2 Using other debuggers 19 16 VIDEO...

Page 5: ...atible computer and there are hundreds of books about writing software for the PC platform The purpose of this manual is documenting where the TS 3200 differs from a standard PC 2 PC Compatibility PC...

Page 6: ...sk by adding the vdisk sys device driver The RAM disk is accessible as drive C if the DiskOnChip 2000 Flash disk is not installed drive D if it is The size of the disk can be reduced to provide extend...

Page 7: ...rs a complete Linux Operating System configured for a small footprint that runs under the Linux kernel When using the DiskOnChip it will simply appear as drive C The DiskOnChip uses the 8 KB range of...

Page 8: ...may be consulted 5 2 Serial Port Hardware Each serial port has 4 lines buffered the two data lines and the CTS RTS handshake pair This is quite suffi cient to interface with the vast majority of seria...

Page 9: ...non standard I O locations Because DOS only directly supports four serial ports any additional ports beyond four will require software drivers The PC 104 bus has IRQ3 4 5 6 7 or 9 available for addit...

Page 10: ...nstalled it can be used for digital I O Pins 3 4 5 and 14 can be programmed as either inputs or outputs All digital outputs can source or sink up to 8mA All digital inputs have standard TTL level thre...

Page 11: ...e controller the cable needed is dependent on the display used For most displays a straight through type ribbon cable can be used The connector on the LCD display is typically mounted on the backside...

Page 12: ...the keypad is not used as stdin but read from as a hardware device This is useful if one wishes to use console redirection or to use a keyboard as stdin See the utility diskette for example code When...

Page 13: ...t Value The lower 16 bits WDTRDL are insignificant and can be loaded with zero This fact allows the following simple method of calculating a Reload Constant assuming a 25MHz 386EX clock For example if...

Page 14: ...r is first supplied to the TS 3200 the board mounted LED is immediately turned on under hardware control Once the processor begins execution the LED is turned off then flashed on and off again briefly...

Page 15: ...alled With a jumper installed on JP4 the 386EX clock is throttled to half speed One advantage of this feature is that this will reduce the amount of power consumed Another benefit is for debugging thi...

Page 16: ...ew signals not supported We have found this allows the support of the vast majority of PC 104 boards including all of the above mentioned examples The one feature missing is DMA which few PC 104 board...

Page 17: ...menu To upload a file from the TS 3200 to your host PC execute UL BAT FILENAME at the DOS command line on the TS 3200 and start the transfer in your terminal emulator Many emulators HyperTerminal amon...

Page 18: ...00 video and keyboard 15 1 Integrated BIOS Debugger To provide simple direct access to the TS 3200 hardware the system BIOS has an integrated debugger that can perform standard low level debugger func...

Page 19: ...he serial port Any program that accesses the video or keyboard hardware directly will not work Keyboard redirection is limited simply because most of the extended keys on the keyboard function keys an...

Page 20: ...200 User s Manual Technologic Systems 05 21 2009 20 Appendix A Board Diagram and Dimensions Figure 6 Board Diagram Coming Soon Figure 7 Board Dimensions standard PC 104 8 bit module dimensions Coming...

Page 21: ...k 1M BIOS Shadow RAM F0000h 960k 64k DOS BIOS Extension Shadow RAM E0000h 896k 64k PC 104 Bus D8000h 864k 32k DiskOnChip or SRAM or PC 104 Bus D0000h 832k 32k PC 104 Bus C8000h 800k 32k PC 104 Bus Typ...

Page 22: ...8h 19Fh Used by TS 9300 and TS 9500 Daughter Boards 140h 15Fh User Chip Select Pin B19 on PC 104 Bus 80h FFh Internal 386EX peripherals 07Eh DIO2 byte wide port 07Dh Control Latch for DIO2 and LCD Por...

Page 23: ...0 AL SP_VERSION For standard versions of the BIOS this is 0 An SP number is assigned when custom modifications are made to the BIOS for a client and it is returned in this register Contact us for furt...

Page 24: ...keypad with a custom translation table CX Translation table segment if BH 11 DX Translation table offset if BH 11 EXIT CY 0 carry flag AH 00 Int 15h Function B042h Alpha Numeric LCD Support This routi...

Page 25: ...pers in register BX according to the list below ENTRY AX B020h EXIT CY 0 carry flag AX 0 BX Jumper Pin Status If Bit X 1 the jumper is installed BX Bit Jumper Description 0 JP1 Manufacturing Mode 1 JP...

Page 26: ...3CFG read write 0F820h 0F824h Port n Mode Configuration Each bit controls the mode of the associated pin 0 Selects I O mode 1 Selects peripheral mode P1DIR P3DIR read write 0F864h 0F874h Port n Direct...

Page 27: ...Appendix F Using A 12 5 MHz Baud Clock Each serial port baud rate generator clock can be independently switched between either the standard 1 85 MHz clock or a 12 5 MHz clock the internal processor cl...

Page 28: ...00 User s Manual Technologic Systems 05 21 2009 28 Appendix H Manual Revisions 11 01 01 New manual 11 29 01 Revised DIO section Meaning of Bit 4 IO loc 7Dh changed polarity 05 21 09 Updated mailing ad...

Reviews: