background image

TS-3200 User’s Manual 

Technologic Systems 

05/21/2009 

13

1)  Write to the upper 16 bits (WDTRLDH at 0F4C0h) of the reload value (the number of clock cycles 

before the watchdog timer times out) followed by a write to the lower 16 bits (WDTRLDL at 

0F4C2h) of the reload value.  

2)  Perform a 

Watch Dog Feed

. Write 2 sequential words: 0F01Eh followed by 0FE1h to the watchdog 

timer clear register (WDTCLR). The WDTCLR is located at 0F4C8h.  

3)  Software must periodically perform step two (the Watch Dog Feed) before the watchdog timer 

times out to prevent a system reset.  

 
 
 
Each increment in the value of the upper 16-bits (WDTRDH) of 32-bit Reload Register adds 2.62 mS to 

the Watch Dog Timeout 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 a 2 second time-out is desired, then  

 

So WDTRLDH = 02FBh and WDTRLDL = 0000 
 
When the WDT times out, it causes a complete hardware reset to the entire TS-3200 and also asserts 

RESETDRV on the PC/104 Bus. 
 
The following code illustrates using the WDT to implement a software reset routine. The WDT is 

initialized with a very low “Reload Constant”. 

Void main () 

{

 

const int WDTCLR = 0xF4C8; 

const int WDTRLDH = 0xF4C0; 

const int WDTRLDL = 0xF4C2; 

int n = 0; 

outport(WDTRLDH, 0x0001); // Reload Constant = 2.6 mS 

outport(WDTRLDL, 0x0000); //   

outport(WDTCLR, 0xF01E); // Watch Dog Feed word 1 

outport(WDTCLR, 0x0FE1); // Watch Dog Feed word 2 

for (n =0; n = 1; ) 

 { //endless loop…system will  

    //be reset in about 2.62 milliseconds anyway 

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: