Home
- Technologic Systems
Contents
1. 28 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com 17 Debugging There are two main methods for debugging on the TS 5700 using the integrated BIOS debugger INT3 and or using your development tool s debugger this usually requires the TS 9500 video and keyboard 17 1 Integrated BIOS Debugger To provide simple direct access to the TS 5700 hardware the system BIOS has an integrated debugger that can perform standard low level debugger functions The debugger allows you to perform operations such as disassemble code display and alter the contents of memory write to and read from I O ports and single step through or breakpoint code The debugger is not intended for use as the only debugging tool for applications but it can be a real lifesaver when you need interactive direct access to hardware The BIOS debugger can be entered by any of several methods e The debugger hooks the CPU exception vectors in case a divide by zero occurs an invalid opcode is executed or an INT 3 instruction is executed for example By placing an INT 3 instruction in your application code the debugger will automatically be invoked To resume type the G command to GO or continue on with the rest of initialization e From DOS ROM by typing INT3 at the command prompt If the full command com interpreter is running this is an internal command If only mini command com is running this will execute a small utility that
2. and feed the WDT We also provide a Linux sample application program with full source 22 Table 13b WatchDog Timer Timeout Values 10h 20h 40h 80h 1 2 4 8 0 E seconds 0 0 0 32 seconds Table 13c WatchDog Timer Memory Map WDT Counter Bits 0 15 Read Only pFcB2h 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com If using DOS the following sample of Turbo C code real mode DOS will enable the WDT with a 4 second timeout period int main Unsigned ratte ter wolrecil g vereer mmsignmes int ter Miz re CDI OOCHO p wdtctrl 0x3333 ereta Ox CCCC wdtctrl 0xD010 0xDO Enable WDT to Reset Mode 0x10 4 second timeout printf System will reset in 4 seconds repre 012 23 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com 14 LED Jumpers and External Reset Table 14 Jumper Listing ESA fo Function SE FE E Sere Conte Coin SCONE oes PS SS Ias detected and configured in the BIOS SETE menu Console Console is set to 115K baud defaults to 9600 baud EEN TRE ER The TS 5700 has an LED available for user software The user LED may be used for diagnostics status messages and simple output When power is first supplied to the TS 5700 the user LED is immediately turned on under hardware control Once the processor begins execution the LED is turned off
3. hard reset to the TS 5700 same as a power cycle It is possible change the DIO_11 output so that it is driven by the Timer2 signal The Timer2 signal has historically been used to drive the speaker in a PC The DIO_11 output has 100 mA source and sink drive capability so it could be used to directly drive a small 8 ohm speaker if a series capacitor is used to block the DC component and a series resistor is added to reduce the power out A 47 uF capacitor and a 27 ohm resistor is a good starting point adjust the resistor for volume If bit 2 at I O location Hex 79 is set Timer2 will drive the DIO 11 output instead of bit 3 at I O location Hex 7F 11 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com 6 2 Using LCD Port as Digital I O The LCD Port can be used as 11 additional digital I O lines or it can be used to interface Table 6 2 Pinout for LCD to a standard alphanumeric LCD display At system reset the port defaults to DIO header when used as DIO mode If using an LCD display this port can be switched to LCD mode by writing a 1 into bit 4 at I O location Hex 7D or the BIOS call to enable the LCD also sets bit 4 at I O location Hex 7D See Section 8 for LCD mode When the LCD port is in DIO mode pins LCD RS and LCD WR are digital inputs co 2 rolo Lcd LCD_EN is a digital output and LCD O thru LCD 7 are programmable as either inputs LCD O ER LCD 1 ie CEDARE LCD RS and LCD_WR can be read at I
4. 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 4 2 Flash 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 mak
5. Changing to the 10x rate allows baud rates higher than 115 2 kbaud such as 230 4 kbaud or 1152 kbaud as well as non standard lower baud rates such as 24 kbaud The baud rate clock for each COM port is controlled by bit 2 in the UART Control Register UART1CTL and UART2CTL UART1CTL DFCCOh UART2CTL DFCC4h Clearing bit 2 to a O will change the clock to the 10X rate NOTE You must not modify the other bits of this register You must use a read modify write procedure to change these bits The following code written in Turbo C provides an example for changing COM1 to run at a 10X Baud rate Hine malin d unsigned char far comreg unsigned char comvalue comreg unsigned char far 5 MRTEE OO 0xcc0o comvalue comreg Load Register comvalue comvalue amp OxFB Modify it comreg comvalue Write it out return 0 45 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com Appendix G Further References Technologic Systems Web Site http Awww embeddedARM com AMD Elan SC520 user s manual may be found at ftp ftp embeddedarm com old downloads Components 520_user pdf Crystal CS8900A Ethernet Controller Overview may be found at ftp ftp embeddedarm com old downloads Components 8900a pdf Dallas Semiconductor DS12887 Data Sheet ftp ftp embeddedarm com old downloads Components 12887 pdf Intel 386EX User s Guide http developer intel com Max
6. E uso Ide 1 Not EXT installed TUE Ide 28 NOT i installed Ide 33 Not ims caead HLOREY DRIVE TYPES Floppy O Not installed Floppy 1 Not installed E x lt tab gt to select or to modify lt Esc gt to return to main menu 32 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com The factory defaults shown will first attempt to boot from Compact Flash as Drive C If no CF is installed the BIOS will then boot from Drive A If a CF is installed but it is not desired to boot from this drive change the Boot 1st setting to Drive A In order for the Compact Flash to function properly as an IDE hard drive the IDE DRIVE GEOMETRY must be set to AUTOCONFIG PHYSICAL and the DRIVE ASSIGNMENT ORDER must be set to Ide 0 Pri Master or Ide 2 Sec Master In this example the Compact Flash socket on the TS 5700 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 1st boot device 19 3 Adding a TS 9500 with Compact Flash A TS 9500 may be added to the system this board has its own Compact Flash socket which may be set to Primary Master or Secondary Master using the DIP switches If the TS 9500 CF is set to Primary Master DIP switch 5 on then no CF card may be installed in the TS 5700 CF socket and the CMOS settings should be exactly as shown above The
7. Micro M48T86PC1 module for the real time clock function This module contains the lithium battery 32 768 kHz crystal and a RTC chip with 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 Both the internal RTC and the TS 5620 RTC are totally compatible with the Motorola 146818 chip used in the original PC It is located at the standard PC I O addresses of Hex 070 and 071 The top 48 bytes index 50h through 7Fh are not used by the BIOS and are available for user applications However since the TS 5700 uses an EEPROM to make this data non volatile a special method must be used to make any user data non volatile If you wish to use this area for non volatile storage contact Technologic Systems for details The CMOS RAM that is located inside the RTC chip is used to hold all of the BIOS set up parameters This RAM is always non volatile even when using the internal RTC All of the set up parameters are stored in a non volatile EEPROM chip The data stored in the EEPROM is copied into the CMOS RAM during every boot cycle This is all totally transparent and appears to operate as a standard CMOS set up RAM The schematic for the TS 5620 is posted on our website The TS 5620 design only uses two chips This circuitry can be freely used on any customer peripheral board design if the battery backed RTC feature is necessary The TS 5700 internal RTC is capable of ge
8. RxD l n in DSR 6 1 DCD liin NOTE The serial port headers use a non standard 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 http embeddedARM com Table 5 2b COM1Serial Port Header Pin Out 5V Power 10 5 GND Rx 9 4 Ret DTR out On CTS 8 l3 Tx data out lou RTS 7 2 Rxdata jin Tx 6 1 Tx in A 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 la 3 TxD Tiout out RTS 7 2 RXD
9. TS 9500 CF card will be mapped as Drive C and will be the boot drive If the TS 9500 CF card is set to Secondary Master Ide 2 then the TS 5700 CF socket may have a CF installed as Primary Master Ide 0 To configure the TS 9500 as Secondary Master DIP switch 5 off change the IDE DRIVE GEOMETRY for Ide 2 to AUTOCONFIG PHYSICAL and change the DRIVE ASSIGNMENT for Drive D to Ide 2 Sec Master 33 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com 19 4 Custom CMOS Configuration System BIOS Setup Custom Configuration C 2000 General Software Inc All rights reserved Write Buffer gt Disabled Cache Mode Write Through CPU speed E 233 MHz C8000 CFFFF maps to PC 104 Bus GP Bus Timings Normal PNP IO Port 0A79h i EC TERUS Eee eee eee eee eee eee eee Seer eee eee eee eee eee eee eee eee reece ee eer eee ee eee reece ree ree eee ere Serer eee eee eee ee eee eee eee eee eee Tee eee eee eee eee eee E X lt Tab gt to select or to modify lt Esc gt to return to main menu Write Buffer When write buffering is Enabled the internal 16K byte L1 cache is used to allow zero wait state writes to SDRAM This setting defaults to Disabled and may be Enabled by the user to optimize performance Download the AMD Elan SC520 user s manual and refer to section 11 for more information on write buffering Cache Mode When set to Write Through all writes to SDRAM
10. both a LINK ACTIVITY LED and a 10 100 speed LED built into each RJ 45 connector that indicates the current Ethernet status The LINK LED left side of connector green is active when a valid Ethernet link is detected This LED should be ON whenever the TS 5700 is powered on and properly connected to a 10 100BaseT Ethernet network The LINK ACTIVITY LED will blink to indicate network activity either inbound or outbound The SPEED LED right side of connector amber will be on when a 100 Mbit network is detected and off for a 10 Mbit network Both of these LEDs are controlled by the DM9102A and do not require initialization by the processor 15 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com 9 1 LINUX TCP IP configuration When using the TS 5700 with TS Linux the DM9102A driver can be included in the kernel or loaded as a kernel module If the Technologic Systems kernel is used the DM9102A driver is built into the kernel The settings stored in EEPROM on the TS 5700 are used to configure the DM9102A The TCP IP settings for the TS Linux are configured in the file etc sysconfig ifcfg ethO here is a listing DEVICE eth0 Name of Ethernet Interfac IPADDR 192 168 0 50 IP address of this Ethernet interfac NEEMAS E 2552 5 2 RO Used with NETWORK to determine local IP s NETWORK 192 168 0 0 Used with NETWORK to determine local IP s BROADEAST io Zee or O moo Broadcas
11. driven This is an important consideration since in a typical RS 485 installation the drivers are frequently tri stated If fail safe bias resistors are not present the 485 bus may be floating and very small amounts of noise can cause spurious characters at the receivers 4 7KW resistors are used to pull the TX and RX signals to 5V and also to bias the TX and RX signals to ground Termination resistors may be required for reliable operation when running long distances at high baud rates Termination resistors should only be installed at each end of an RS 485 transmission line In a multi drop application where there are several drivers and or receivers attached only the devices at each end of the transmission line pair should have termination resistors A read at I O location 75h bit 1 will return a 1 when the RS 485 option is installed 9 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com 5 4 Automatic RS 485 TX Enable TS 5700 boards support fully automatic TX enable control This simplifies the design of half duplex systems since turning off the transmitter via the RTS signal is typically difficult to implement The COM1 UART transmit holding register and the transmit shift register both must be polled until empty before deasserting RTS when using the RTS mode The design gets more difficult when using the TX FIFO or when using a multi tasking OS such as Linux In Automatic mode Timer2 and a Xilinx PLD keep t
12. error else clear if success carry flag ING 00 No Breon DOD doiecializeci Ox BH 00 LCD currently disabled Not present BH 01 LCD currently enabled and running Int 15h Function B040h Matrix Keypad Support This function is used to enable and disable support for the matrix keypad When enabled the RTC periodic interrupt IRQ8 INT70h is enabled at 256 Hz and hooked to the keypad scanning routine Disabling the keypad reverses this process IRQ8 is turned off and INT70h is returned to the original standard BIOS function The default translation table consists of the following 0 9 A D and returns the scan code for Carriage Return A custom translation table is 16 words long where each word is a scan code ASCII pair for a key Information on scan codes can be found in books on IBM PC hardware Example programs are included on the utility disk See Section 8 for further details ENTRY AX B040h BH 00 Disable matrix keypad BH 01 Enable matrix keypad BH 11 Enable matrix keypad with a custom translation table CX Translation table segment if BH 11 DX Translation table offset if BH 11 IL IS CY 0 carry flag AH 00 43 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com Int 15h Function A1h Console I O Redirection This function specifies the device that will be used by the BIOS to direct console input IN
13. l n NC le l1 ped Tin NOTE The serial port headers use a non standard 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 E ND NC 9 E DTR touy fim CTS ERES TX data out out RTS 7 2 Rx data tn DSR er DCD in UE A NOTE The serial port headers use a non standard 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 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com 5 3 RS 485 Support a RS 485 Quick Start Procedure 1 The RS 485 option must be installed 2 Install FD jumper for full duplex or HD for half duplex RS 485 operation 3 Attach the RS 485 cable to the 10 pin Header Adaptor cables to Sub DB9 connector are available from Technologic Systems 4 Setthe COM1 UART serial parameters baud rate data parity and stop bits interrupts etc Run Auto485 exe utility configures bits 6 and 7 at I O 75h and initializes Timer2 6 For Half Duplex RTS mode To transmit data assert RTS and write the data to the UART To receive data deassert RTS and read the data from the UART 7 For Half Duplex Automatic mode just read or write data to the
14. location Hex 7D is a control port for Bv its is DIO_ DIO The direction of DIO lines DIO O thru DIO 3 is controlled by bit 0 of I O location Hex IRQ6 7D and the direction of DIO_4 thru DIO 7 is controlled by bit 1 of I O location Hex 7D The Reset 12 m pio 5 99 thru DIO_11 lines are always outputs In all casos when a control bit is a 1 it is DIO 11 fio _ DIO 4 setting the corresponding DIO lines to be Outputs while a 0 sets them to be Inputs All control bits at I O location Hex 7D are initialized at reset to be 0 DIO_10 DIO_3 The DIO_0 thru DIO_7 digital outputs on this port can source 4 mA or sink 8 mA and have ee Ie E pio 2 logic swings between 3 3V and ground The digital inputs have standard TTL level DIO_8 DIO_1 thresholds and must not be driven below O Volts or above 5 0 Volts DIO lines DIO O thru GND DIO 5 have 4 7KW pull up resistors to 5V biasing these signals to a logic 1 DIO 6 and DIO_7 are not biased and may float to either state when configured as Inputs if not being actively driven DIO_10 and DIO_11 outputs have very high current drivers and can source or sink 100 mA each DIO 8 and DIO_9 outputs can source or sink 25 mA DIO_8 thru DIO 11 all swing between 0 and 5V Pin 14 on the DIO header is connected directly to IRQ6 also available on the PC 104 bus Pin 12 is an active low reset signal It has a 4 7K pull up resistor to 5V A logic low on this signal will cause a
15. simply contains an INT 3 instruction e From the BIOS Setup main menu started by typing ctrl C during the BIOS POST the ENTER SYSTEM BIOS DEBUGGER selection will enter the debugger After use typing the G go command will return to the SETUP screens e Asa boot action as a last ditch effort if the operating system cannot be booted from the appropriate drives or out of ROM A complete discussion of debugger commands is available in the Integrated BIOS Debugger Reference Manual included on the TS 5700 Utility Disk and also available from the Technologic Systems web site Entering will list all available commands and a g go will return execution to the point where the debugger was called 17 2 Using other debuggers The Turbo C debugger can be used on the target board using the TS 9500 video and keyboard interfaces Any other standard PC software debugger of your choice should work just as well 29 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com 18 Video Keyboard and Console Redirection The TS 5700 has no video controller or keyboard interface This was done to keep the board size small and the cost low For applications that require it a PC 104 video board can be added to the system easily Technologic Systems recommends the TS 9500 a PC 104 peripheral board with video keyboard mouse and Compact Flash This is extremely useful in speeding up the development phase an
16. then flashed on and off again briefly After boot this LED can be used for user applications The state of the LED is complemented by any activity to the Compact Flash card accesses to the CF causes the LED to flicker The status of all jumpers except JP3 can be read at I O location 77 See Table 12 BIOS interrupt functions can be used to interface software with the user LED and option jumpers Please see Appendix E for further details and the utility CD for example code The LED can be also accessed at I O location 77h bit 0 A Logic 1 is LED on condition The CF activity signal is exclusive ORed with the control bit at I O location 77h This causes the LED to always flicker when there is access to the CF card The DIO pin 12 is connected in parallel with the on board power reset chip See Section 6 for details Pulling DIO pin 12 low will perform a cold boot 24 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com 15 PC 104 Bus Expansion The PC 104 is a compact implementation of the PC AT ISA bus ideal for embedded applications Designers benefit from using an already developed standard rather than creating their own Further the presence of a compact form factor PC compatible standard has encouraged the development of a broad array of off the shelf products allowing a very quick time to market for new products The electrical specification for the PC 104 expansion bus is identical t
17. will be updated in the internal cache as well as the SDRAM When set to Write Back only the internal cache is updated the cache controller will determine when to flush cache to SDRAM This setting defaults to Write Through and may be set to Write Back by the user to optimize performance Download the AMD Elan SC520 user s manual and refer to section 8 4 2 2 for more information on cache mode CPU Speed This will set the clock speed for the CPU core This can be set to 100 MHz or 133 Mhz The default speed for commercial temperature products is 133 MHz the default for industrial temperature products is 100 MHz Changing this setting will not affect industrial temperature products because they are specified by AMD with a maximum clock speed of 100 MHz C8000 CFFFF maps to This setting allows a block of memory space to be mapped to either the PC 104 bus or the onboard SDRAM This setting defaults to PC 104 bus GP Bus Timings This setting allows the PC 104 bus timing to be stretched to allow slower devices to operate If Plug N Play boards are installed or in the case of older PC 104 peripheral boards setting this entry to Slow may be desired This setting defaults to Normal which has been tested and found to work with the vast majority of boards PNP IO Port 0xA79 This setting allows the Plug N Play configuration address to be mapped to the PC 104 bus The I O space above 0x400 is mapped to the PCI bus by defa
18. 0K baud or 576K baud as well as non standard lower baud rates such as 24 Kbaud See Appendix F for further information COM1 amp 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 7 5 2009 TS 5700 User s Manual Technologic Systems Table 5 2a COM2Serial Port Header Pin Out 5V Power 10 5 GND NC 9 4 DTR out in CTS 8 3 TXD fout out RTS 7 2
19. 104 bus See section 19 4 on configuring the Custom CMOS settings 25 5 2009 TS 5700 User s Manual Table 15a Unsupported PC 104 Signals Pin signa Name 12V B9 H2 B26 DACK2 Table 15c Supported signals on the optional 16 bit PC 104 KHE c1 SBHE p2 lote RQ14 D9 DRQO Technologic Systems 26 http embeddedARM com Table 15b Supported PC 104 Signals on the 8 bit Bus Signal Name EEE E A2 A9 D7 DO A11 JAEN a32 GND B1 GND E B3 5V E B12 SMEMR B19 juser chip select B20 SYSCLK 8 25 MHz B22 IRO6 B25 NC B29 SV Bso Osc 14 3MHz B31 GND B32 CND 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com 16 Loading or Transferring Files Two methods are available for transferring files between a desktop PC and your TS 5700 Compact Flash and Zmodem downloads Full descriptions of each are detailed below Other programs that use serial ports to transfer should work as well for example FastLynx 16 1 Developing with the Technologic Systems TS 9500 The TS 9500 peripheral 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 5700 is using a Compact Flash card as well You can transfer your development tools e g Turbo C ont
20. DE Compact Flash 198h 19Fh Registers on TS 9500 95h 197h Reserved for A D Converter 170h 177h Secondary IDE TS 9500 140h 15Fh 080h OFFh 074h 071h User Chip Select PC 104 Bus Internal Elan520 Peripherals DIO and Control Registers 072h 073h LCD Port 070h 071h RTC and CMOS Memory 60h 064h Keyboard Controller TS 9500 000h 05Fh Internal Elan520 Peripherals 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com Appendix E BIOS Interrupt Functions We have extended the standard BIOS interrupts with several functions that simplify interfacing with the TS 5700 hardware Many books are available with detailed information on using interrupts with just about any language Example code is also available on the utility disk You can download the complete User s Manual with BIOS Interrupt Reference from the Technologic 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 5700 ENTRY AX B000h EXIT Cv 0 carry Elac AH 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 c
21. LCD_D2 LCD D5 LCD D4 LCD D7 LCD D6 co The LCD Write signal is an active low write enable line LCD Enable is an active high signal raised whenever the LCD addresses are being read or written BERRE DO D7 are bi directional buffered copies of the data bus and carry all data and commands to the LCD Table 7b 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 LCD code is available at ftp ftp embeddedarm com ts x86 sbc old downloads UTIL ZIP 13 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com 8 Matrix Keypad Support The DIO2 port signals DIO O through DIO 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 The key is returned as an ASCII Carriage Return character Hex OD 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 Matrix keypad support is enabled or disabled using INT15h Function B040h see Appendix E
22. O location 73h bits 7 and 6 respectively The state of LCD_EN is controlled by writing to I O location 73h bit 0 GND I i v LCD Othru LCD 7 can be read or written at I O location 72h The direction of this byte wide port pins 7 14 is determined by bits 2 and 3 at I O location 7Dh If bit 2 is a zero then the lower 4 bits pins 7 10 are inputs If bit 2 is logic 1 then pins 7 10 are outputs Bit 3 at location 7Dh controls the upper 4 bits pins 11 14 in a like manner All digital outputs on this port can source 4 mA or sink 8 mA and have logic swings between 3 3V and ground The digital inputs have standard TTL level thresholds and must not be driven below 0 Volts or above 5 0 Volts The 5V power has a 750 mA Poly Fuse to limit the current 12 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com 7 LCD Interface A 14 pin LCD connector is provided on the TS 5700 for interfacing with standard Table 7a LCD Header alphanumeric LCD displays These displays use a common controller the Hitachi HD44780 Pinout 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 For most displays a straight ele Je Je io 2 4 through type ribbon cable can be used The connector on the LCD display is typically IE E F IE i 13 mounted on the backside of the display Warning Using an
23. 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 Section 18 for an explanation of console I O and redirection See the Technologic Systems download page for example code ftp ftp embeddedarm com ts x86 sbc old downloads When using a matrix keypad the DIO signals DIO_0 through DIO_7 are not available as general I O A Linux driver has been written for the Matrix Keypad the Linux driver with full C source code can be found on our website Refer to the Linux Developers Manual on the Technologic Systems website 14 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com 9 The 10 100 Base T Ethernet Port The TS 5700 has a full function IEEE 802 3 10 100 Mbit sec Ethernet port provided by Davicom DM9102A Ethernet controllers The DM9102A is a single chip 32 bit PCI Ethernet controller that includes such features as full duplex operation power saving shutdown modes LED indicators for link status activity Green and auto sense network speed detection Amber The physical interface is 10 100Base T RJ45 connector The TS 5700 has
24. T 16h and console output INT 10h If the LCD or Matrix keypad is to be used as the console you must also call the LCD and or Matrix keypad BIOS function to enable them ENTRY AX Alh BH 00 Console is directed to Standard I O VGA keyboard or LCD Matrix BH 01 Console is redirected to COM1 BH 02 Console is redirected to COM2 BH 03 Console is redirected to COM3 BH 04 Console is redirected to COM4 joy Gilles CY 0 if success set if failure carry flag AH 00 if no error 86h if no supported by BIOS Int 15h Function B020h Jumper Pin Status This function returns the status of the option jumpers in register BX according to the list below ENTRY AX B020h EX g CY carry ilag AXO BX Jumper Pin Status If Bit X 1 the jumper is installed Table E Int15h Function B020h register BX return values BX Bit Description Auto CMOS configuration JP1 WP2 Console Redirected to COM port JP3 JP ESEC E ie Soe ME ee eee E LS ee Write enable Flash A 4 Console set to 115K baud wo User definable Console to COM1 JP5 JP6 44 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com 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
25. TS 5700 User s Manual AA i Aa Technologic a Techn nologic SYST Technologic Systems Inc 16525 East Laser Drive Fountain Hills AZ 85268 TEL 480 837 5200 FAX 480 837 5300 info embeddedARM com http Awww embeddedARM com This revision of the TS 5700 manual is dated May 2009 All modifications from previous versions are listed in Appendix H A PDF version of this manual is included on the CD that shipped with your unit s The PDF version includes many active links that may be useful to you Copyright 2009 by Technologic Systems Inc All rights reserved TS 5700 User s Manual Technologic Systems http embeddedARM com Table Of Contents Limited Warranty 1 Introduction 2 PC Compatibility 2 1 Operating Systems 3 Power 4 Memory 4 1 SDRAM 4 2 Flash 4 3 Compact Flash Cards 4 4 Using the SanDisk USB Compact Flash Card Reader 5 Serial Ports 5 1 Serial Port Configuration Registers 5 2 Serial Port Hardware 5 3 RS 485 Support 5 4 Automatic RS 485 TX Enable 5 5 Adding Serial Ports 5 6 COM3 and COM4 Interrupt Configuration Register 6 Digital I O 6 1 DIO Header 6 2 Using LCD Port as Digital I O 7 LCD Interface 8 Matrix Keypad Support 9 The 10 100 Base T Ethernet Port 9 1 LINUX TCP IP configuration 9 2 DOS TCP IP configuration Packet Driver and WATTCP 9 3 WATTCP CFG configuration file 9 4 DOS TCP IP configuration MS Client for DOS 10 PCMCIA Bridge 10 1 Hardware 10 2 Software Linux support only 10 3 Suppor
26. UART q An option is available to add support to COM for half duplex or full duplex RS 485 RS 485 drivers allow communications between multiple nodes up to 4000 feet 1200 meters via twisted pair cable Half duplex RS 485 requires one twisted pair plus a Ground connection while full duplex requires two twisted pair plus a Ground For half duplex operation a single twisted pair is used for transmitting and receiving Table 5 3 COM1Receiver Bit 6 at I O location 75h must be set to enable RTS mode or bit 7 can be set to enable Source Automatic mode In RTS mode the serial port RTS signal controls the RS 485 transmitter receiver See Automatic RS 485 TX Enable below When RTS is asserted true the RS 485 transmitter is enabled and the receiver disabled When RTS is de Full Duplex RS 422 asserted the transmitter is tri stated disabled and the receiver is enabled Since the Half Duplex RS 485 transmitter and receiver are never both enabled the serial port UART does not receive RS 232 the data transmitted For full duplex operation two twisted pairs are used and the transmitter can typically be left on all the time Simply use RTS mode and set RTS true See Table 5 2b above for connector pin outs Note the correct jumper FD or HD must be installed See Table 5 3 for details Fail safe RS 4 bias resistors are used to bias the TX TX and RX RX lines to the correct state when these lines are not being actively
27. clear this bit Bits 8 11 Must always be 0 Bits 0 7 Timeout Value See Table 4 counter at any time by writing a clear count key sequence to the WDTMRCTL If this counter reaches the timeout period then an interrupt is generated or a system reset occurs If programmed to cause an interrupt the WDT must be fed within the next timeout period or else a system reset occurs as an additional failsafe feature In order to load the WDTMRCTL register a specific sequence of three word writes is required A 3333h followed by CCCCh followed by the value to be loaded into the WDTMRCTL register must be written to the WOTMRCTL register In order to clear the WDT counter feeding the watchdog a clear count key sequence must be written to the WDTMRCTL register This is a specific two word write sequence with a write of AAAAN followed by a write of 5555h Writing this clear count key sequence has no effect on the contents of the WDTMRCTL register Typically a system reset at timeout is the preferred method for using the WDT if you wish to have an interrupt occur before the system reset occurs bit 14 0 in the WOTMRCTL Register additional programming is required to attach a specific IRQ to the WDT An interrupt service routine must also be written to handle this IRQ Please download the AMD_ Elan SC520 user s manual or contact Technologic Systems When using the Linux OS we provide a driver to initialize
28. d shortening the time to market With the TS 9500 installed developers can develop right on the target board with any compiler or debugger of their choice such as the Turbo C compiler or debugger Without a video board in the system the TS 5700 can redirect all console activity to the COM2 serial port Simply connect an ANSI terminal or emulator to COM2 with a null modem cable using serial parameters of 9600 baud 8 data bits no parity 1 stop bit and make sure jumper JP2 is installed JP4 will change the console to 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 5700 is seen as standard keyboard input by programs Please note that the console redirection support is limited by the fact that there is no actual video or keyboard hardware on the TS 5700 Programs must use the standard BIOS routines for display and keyboard input which are rerouted to the serial port Any program that accesses the video or key board hardware directly will not work Keyboard redirection is limited simply because most of the extended keys on the keyboard function keys and Alt key in particular are not sent by the terminal emulator For these reasons the console redirection feature is meant more for system development testing and field repair rather than as the primary user interface for a finished product If your application uses COM2 removing
29. d to allow reprogramming of the BIOS while the BIOS is executing out of SDRAM Other regions can be shadowed as required by specific applications 35 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com 20 Feedback and Updates to the Manual To help our customers make the most of our products we are continually making additional and updated resources available on the Technologic Systems web site www embeddedARM com These include manuals application notes programming examples and updated software and firmware Check in periodically to see what s new When we are prioritizing work on these updated resources feedback from customers and prospective customers is the number one influence If you have questions comments or concerns about your TS 5700 Embedded PC please let us know 36 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com Appendix A Board Diagram and Dimensions Sous 100M 150s eee een Ethernet Center PCUCIA Center E 4300 E 38ih E Sus H E E 250s E E suds 1225uily 225a 25s To view a larger version click on the above image or download the PDF 37 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com Appendix B Operating Conditions Oto 70 C Operating Temperature Extended temperature range is optional Operating Humidity 0 to 90 relative humidity non condensing 38 5 2009 TS 5700 U
30. er 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
31. es 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 5 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com 4 4 Using the SanDisk USB Compact Flash Card Reader This device allows for a very fa
32. etwork i e ping www embeddedARM com Other WATTCP examples include serial to telnet redirector http file download telnet server and finger web server with I O control Many more can be downloaded from the internet as freeware 9 4 DOS TCP IP configuration MS Client for DOS The Davicom Ethernet adapter has the MS Client for DOS driver available This has been tested and found to work on Windows workgroups as well as Samba workgroups Contact Technologic Systems with questions 17 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com 10 PCMCIA Bridge 10 1 Hardware The TS 5700 uses a Texas Instruments PCI1510 single slot CardBus controller designed to meet the PCI Interface Specification for PCI to CardBus Bridges The PCl to CardBus controller supports a single PC card socket compliant with the PC Card Standard rev 7 2 The PC Card Standard retains the 16 bit PC Card specification defined in the PCI Local Bus Specification and defines the 32 bit PC Card CardBus capable of full 32 bit data transfers at 33 MHz The TS 5700 supports both 16 bit and CardBus PC Cards powered at 5 V or 3 3 V as required The PCI1510 is compliant with the PCI Local Bus Specification and its PCI interface can act as either a PCI master device or a PCI slave device The PCI bus mastering is initiated during CardBus PC Card bridging transactions All card signals are internally buffered to allow hot insertion and
33. f IRQ7 for the PCMCIA device which the PCMCIA Bridge chip has been programmed for in the BIOS during power up See etc pcmcia directory and the documentation on the sourceforge project page link below The home page for PCMCIA Card Services for Linux can be found http sourceforge net projects pcmcia cs 18 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com 10 3 Supported Devices There is a very large list of devices supported by the Linux Card Services package available on the sourceforge page Here is a list of devices tested at Technologic Systems and known to work with the TS 5700 802 11b Wireless Ethernet adapters Belkin F5D6020 16 bit version not CardBus version Netgear MA401 Orinoco Gold PC24E H FC Phoebe WLCO1O INT Cellular Modem Novatel Merlin C201 Sprint PCS Connection Card Hard Drives Toshiba MK5002MPL 5GB Hard Disk Drive Sandisk Compact Flash w PCMCIA to Compact Flash Adapter Modem Actiontec DataLink Fax Modem Ethernet adapters SoHoware ND5120 E 16 bit 10 Mbps adapter Netgear FA511 32 bit CardBus 10 100 adapter Hawking Technology 32 bit CardBus 10 100 adapter 19 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com 11 SPI Bus 11 1 Hardware The SPI bus is a three wire interface that allows high speed serial Table 11 1a SPI Bus communications using low pin count peripherals The SPI bus is a Header byte oriented bus so 16 bit transfers need t
34. for TS 5700 Read Bit O Always set Read Bit 1 RS 485 Option Read Bit 2 Always zero R W Bit 6 Enable RTS for RS 485 RW Bit 7 Enable Automatic RS 485 76h Read Bit O External Reset Option Read Bit 1 Industrial Temp Range Option 77h RW Bit 0 LED 1 ON Read Bit 1 JP1 Read Bit 2 JP2 Bit3 Reserved Read Bit4 JP4 Read Bit5 JP5 00 i Ss 79h R W COM3 4 IRQ Control Register Bit 1 0 00 No IRQ Bit 1 0 01 Com3 IRQ5 COM4 IRQ6 Bit 1 0 10 COM3 amp COM4 share IRQ5 Bit 1 0 10 COM3 amp COMA share IRQ6 Bit 2 set Timer2 drives DIO_11 0 E Reserved A oo RW Control Register for DIO and LCD Bit 0 Direction of DIO 0 DIO 3 Bit 1 Direction of DIO_4 DIO 7 Bit 2 Direction of LCD_0 LCD 3 Bit 3 Direction of LCD 4 LCD 7 Bit4 Enable LCD Mode Bit 5 Always Logic 1 Bit 6 Always Logic 0 Bit 7 Always Logic Rw DIO 0 DIO 7 Bits 0 7 Rw DIO_8 DIO_11 Bits 0 3 EE 7Eh 7Fh 41 Technologic Systems http embeddedARM com Table D2 TS 5700 I O Map 400h FFFFh 3F8h 3FFh 3F6h 3F7h PC 104 Bus not recommended for use COM1 Primary IDE Compact Flash 3E8h 3EFh 3B4h 3DFh Reserved for COM3 Video TS 9500 376h 377h Secondary IDE TS 9500 2F8h 2FFh 2E8h 2EFH 278h 27Ah COM2 Reserved for COM4 Reserved for LTP1 FOh 1F7h Primary I
35. his 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 e Contact Technologic Systems and obtain a Return Material Authorization RMA number and a copy of the RMA form e Fill out the RMA form completely and include it and dated proof of purchase with the defective unit being returned Clearly print 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 alter or modify the function of the product This warranty is limited to the repair or replacement of the defective unit In no event shall Technologic Systems be liable or responsible for any loss or damages including but not limited to any lost profits incidental or consequential damages loss of business or anticipatory profits arising from the use or inability to use this product Repairs made after the expiration of the warranty period are subject to a flat rate repair charge and the cost of return shipping Please contact Technologic Systems to arrange for any repair service 1 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com 1 Introduction The model TS 5700 is a compact full featured PC compatible Single Board Comput
36. im Integrated Products http Awww maxim ic com Omen Technologies http Awww omen com PC 104 Consortium Web Site http Awww pc104 org Waterloo TCP IP Software WATTCP http Awww wattcp com 46 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com Appendix H Manual Revisions 04 22 04 Initial release 11 15 04 Overall clean up 9 23 05 1 2 Minor error revision Fixed broken web links Updated Mailing Addr 47 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com Contact Information Technologic Systems http AWwww embeddedARM com 16525 East Laser Drive Fountain Hills AZ 85268 TEL 480 837 5200 FAX 480 837 5300 email support embeddedARM com 48 5 2009
37. incorrect cable or mounting the LCD connector on the front side can result in a reverse power polarity and can damage the LCD display Please refer to your LCD data sheets for in depth information The TS 5700 BIOS incorporates a fairly complete set of INT10h Table 7b LCD Header Signals video routines that work with the LCD Once the LCD has been Function OO Comments enabled INT15h Func B042h see Appendix E below LCD 5V LCD GND LCD RS Register Select Buffered AO Bias 680 Ohm to GND LCD EN Active high Enable LCD_WR Active low Write LCD D1 DO D7 Buffered LCD DO bidirectional data bus The LCD can be written to as the standard I O device This means that software can be developed and debugged using standard I O calls and the executable will work with LCD VGA video or redirected COM port See the Section 18 for more information TULE I O addresses 72h and 73h are used to access the LCD Table 7a shows the header pin out while Table 7b lists the LCD signals The section below will briefly describe the LCD interface signals The LCD can be controlled directly by software at these addresses O Ki The register select signal is simply the buffered AO address line Thus reads and writes to 72h cause register select to be low and those to 73h cause it to be high Generally the LCD uses this line to separate data bytes from command bytes See your LCD data sheet for details LCD_D3
38. ires a 16MB or larger Compact Flash or an M System s DiskOnChip 3 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com 3 Power 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 4 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com 4 Memory 4 1 SDRAM The TS 5700 has a total of 32 Megabytes MB of high speed SDRAM providing 640 Kilobytes KB of base
39. is documenting where the TS 5700 differs from a standard PC 2 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com 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 e TNT Embedded Toolsuite Phar Lap Software e UCos Il e RTKernel On Time Software e RTEMS On Line Applications Research Corporation e DOS with WATTCP public domain TCP IP source code for DOS e Linux 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 requ
40. last known values Reset CMOS to factory defaults Write to CMOS and Exit Exit without changing CMOS lt Esc gt to continue no save www gensw com 31 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com 19 2 Basic CMOS Configuration The Basic CMOS Configuration screen allows setup of the Compact Flash or IDE drives Drive Assignment mapping and Boot Order as well as Time Date and misc keyboard and memory test settings The default settings for the TS 5700 are show below System Bios Setup Basic CMOS Configuration C 2000 General Software Inc All rights reserved Typematic Delay DRIVE ASSIGNMENT E Date gt Dec 14 2001 E 250 ms ORDER E times Of 56 g 21 E Typematic Rate 30 Drive A 5300 E NumLock Disabled E cps plasm Ag E E Seek at BOOR None Drive B 5300 i E Show Hit Del Flash B i E Enabled Drive C Ide 0 i E Config Box Enabled Pri Master E E Fl Error Wait i 2 Enabled o q oe ee a Parity Checking seine P Mona Boot 1st Drive C MR sen Nome E BOOE nd Davies epee meee ek arive fie Monel E Boot 3rd DOS ROM o e e as Boot 4th None m sa RS Js onei Boot 5th None meiga Boot 6th None E Drive K None i ES Debug Breakpoints Boot Method E E Enabled Boot Sector i E Splash Screen Unused DE EOMETRY Sect Hds Memory UTOCONF IG Base HYSICAL
41. lient and it is returned in this register Contact us for further information 00h for standard products BH BIOS Version Major Number E g If the current BIOS version is 2 40 the register will contain 02h BL BIOS Version Minor Number E g If the current BIOS version is 2 40 the register willl contain 28h 28h 40 decimal CH Base Flash Memory Size 512kB The TS 5700 is available with 1024kB of base Flash memory standard but this can be increased to 2048 KB for custom orders These would be returned as 02h or 04h respectively CL 50h This is the hardware model number 50h 80 decimal DX Always returns TS 5453h 42 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com Int 15h Function B010h LED Control This function is used to turn the board LED on and off You can also invert the LED i e if the LED is off it will be turned on and if it is on it will be turned off ENTRY AX B010h Bel 00 ID oti Bis Oi LED om Biel GL LAD Lavetta joy Gilles Cv cerry ilac dal O0 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 ENTRY AX B042h BH 00 Disable LCD BH 01 Enable LCD el 02 Rerura CWicizeinte LOD gratus FC CY Set if
42. mmand line on the TS 5700 while using console redirection from within your terminal emulator and begin the transfer with your terminal emulator In HyperTerminal this is Send File from the Transfer menu To upload a file from the TS 5700 to your host PC execute UL BAT lt FILENAME gt at the DOS command line on the TS 5700 and start the transfer in your terminal emulator Many emulators HyperTerminal among them will automatically begin the transfer themselves Occasionally there may be errors in transmission due to background solid state disk operations This is not a problem Zmodem uses very accurate CRC checks to detect errors and simply resends bad data Once the file transfer is complete the file is completely error free For best results when using HyperTerminal the hardware handshaking must be enabled in HyperTerminal To increase the download speed you could also use a ram disk on the TS 5700 to receive the download file and then copy to the Flash drive To declare a ram disk insert this line into the config sys file device dos vdisk sys kbtouse 1024 Please note that the utility used to perform Zmodem file transfers on the TS 5700 side is called DSZ produced by Omen Technologies DSZ is shareware it is not free If you decide to use it you are legally obligated to pay Omen Technologies Currently the cost is 20 Further info is available in the DSZ zip file located on the utility disk or contact Omen Technologies
43. nerating a square wave output function with a period of 500 mSec to 122 uSec The TS 5620 RTC does not have access to IRQ8 and can not implement this function The internal RTC square wave output pin is connected to IRQ8 on the processor and can be used to generate periodic interrupts The keypad example code uses this function to generate interrupts at a 256 Hz rate http Awww embeddedARM com old downloads KEYPAD ZIP 21 5 2009 TS 5700 User s Manual 13 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 be programmed to cause an interrupt or a full system reset when the WDT times out allowing a guaranteed recovery time from a software error To prevent a WDT timeout the application must periodically feed the WDT by writing a clear count key sequence to the Watchdog Timer Control WDTMRCTL register The WDT must be initialized with the timeout period desired This may be as short as 0 5 mS or may be as high as 32 seconds After the WDT has been enabled the 32 bit watchdog counter starts counting from zero The application software can reset this Technologic Systems http embeddedARM com Table 13a WDTMRCTL Register Bit 15 1 Enable WDT Bit 14 1 Generate Reset at Timeout 0 Generate Interrupt at Timeout Bit 13 Must always be 0 Bit 12 1 WDT Interrupt has occurred Interrupt reoutine must
44. o the PC ISA bus The mechanical specification allows for the very compact implementation of the ISA bus tailor made for embedded systems The full PC 104 specification is available from the IEEE Standards Office under IEEE P996 1 Basically this bus allows multiple peripheral boards in a 3 6 inch by 3 8 inch form factor to be added in a self stacking bus Since the electrical specs are identical except for drive levels to a standard PC ISA bus standard peripherals such as COM ports Ethernet video LCD drivers and Flash drives may be easily added using standard drivers The TS 5700 implements a sub set of the 8 bit or optionally the 16 bit version of the PC 104 bus We have found this allows the support of the vast majority of PC 104 boards including all of the above mentioned examples IRQ3 and IRQ4 are typically used by COM2 and COM1 and are not available on the PC 104 bus If a peripheral board must use either IRQ3 or IRQ4 it is possible to reconfigure the Elan520 registers and reassign IRQ lines Contact Technologic Systems for details Pin B19 normally not used has been reassigned to be a User Chip Select This active low signal decodes the O address range 140h through 15Fh to allow for simple low cost peripheral board designs All Technologic Systems 3000 and 5000 series products will support the User Chip Select feature Memory range C8000 CFFFF is available for custom peripheral boards to map into the memory space on the PC
45. o the TS 9500 Compact Flash card Now you can compile debug and execute right on the TS 5700 target 16 2 Transferring files with Compact Flash The TS 5700 removable Compact Flash card can be used to easily move files from a host system We suggest using a low cost SanDisk USB Compact Flash card interface for your host system This is included in the TS 5700 Developer s Kit For best results we have noticed that it is best to boot the host PC with a Compact Flash card installed in the SanDisk USB Reader The Compact Flash card can then be hot swapped inserted or removed without rebooting the host PC There are two other options for connecting a Compact Flash to your host computer A Compact Flash to PCMCIA adapter which can map a Compact Flash as a hard drive on your laptop host computer Or a Compact Flash to IDE adapter which connects to the 40 pin IDE interface on you host computer The IDE adapter will allow you can boot to CF run fdisk format etc 27 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com 16 3 Zmodem Downloads Using the Zmodem protocol to send files to and from the TS 5700 is simple and straightforward The only requirement is a terminal emulation program that supports Zmodem and virtually all do If you are using Windows 95 or later for your development work the HyperTerminal accessory works well To download a file to the TS 5700 from your host PC execute DL BAT at the DOS co
46. o use two back to back byte Ee o transfer cycles SPI Data out 2 Ev Power SPI CLK out 5 E Data in e e Poc chipset The SPI bus is available on a 10 pin header Tables 11 1a and 11 1b document the Header pin outs Additional off board chips may be added to the SPI bus Warning The TS 5700 has an eeprom using the SPI bus running at 3 3V and is not 5V tolerant This means that any devices that are added to the SPI bus must not drive the SPI data input pin 5 any higher than 3 3V Alternatively a 5V device can be added if a series resistor 470 ohm is added to the SPI Data input line to limit the current There are 5 registers that control the Table 11 1b Elan520 SPI bus SPI Bus Control Register Address DFCDOh Header Pinout TX data Register Address DFCD1h RX data Register Address DFCD4h Command Register Address DFCD2h Status Register Address DFCD3h 20 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com 12 Real Time Clock The TS 5700 has a standard PC compatible real time clock RTC that is built into the Elan520 CPU This clock has no battery backup which means it is volatile and must be initialized after power is applied If a non volatile battery backed RTC is required the TS 5620 peripheral board can be added to provide this capability The TS 5620 is a very low cost option that is only 1 1 x 3 5 inches 2 8 x 9 0 cm and uses an ST
47. rack of the bits shifting out the COM1 UART This circuit automatically turns on off the RS 485 transceiver at the correct times This only requires the TIMER2 to be initialized once based on baud rate and data format and bit 7 at I O location 75 must be set The utility called AUTO485 exe is included in the util directory 5 5 Adding Serial Ports If your project requires more than four serial ports additional ports may be added via the PC 104 expansion bus Technologic Systems offers three different peripheral boards TS SER1 TS SER2 and TS SER4 that add 1 2 or 4 extra COM ports respectively Typically these would be configured as COMS or be assigned other higher COM I O locations Because DOS only directly supports four serial ports any additional ports beyond four will require software drivers if using DOS The TS 5700 PC 104 bus has IRQ 7 9 12 or 15 available for additional serial ports Note IRQ7 is used by many PCMCIA cards Typically each serial port has a dedicated interrupt but the TS SER4 allows all four extra serial ports to share a single interrupt This is very helpful in systems with a large number of serial ports since there are a limited number of IRQ lines available 5 6 COM3 and COM4 Interrupt Configuration Register To configure COM3 and COM4 interrupts write to the Interrupt Configuration bits in I O space at address 79h The reset condition has no interrupt configured for COM3 or COM4 See the table below for detail
48. removal The PCI1510 is register compatible with the Intel 82365SL DF and 82365SL ExCA controllers The PCI1510 internal data path logic allows the host to access 8 16 and 32 bit cards using full 32 bit PCI cycles for maximum performance The PCMCIA Bridge uses IRQ10 to monitor card plug events and IRQ7 is used for the PC Card interrupt 10 2 Software Linux support only Card Services for Linux is a complete PCMCIA support package It includes a set of loadable kernel modules that implement a version of the PCMCIA 2 1 Card Services applications program interface a set of client drivers for specific cards and a card manager daemon that can respond to card insertion and removal events loading and unloading drivers on demand It supports hot swapping of PCMCIA cards so cards can be inserted and ejected at any time The current package supports many ethernet cards modems and serial cards several SCSI adapters most ATA IDE devices and some SRAM and FLASH memory cards All the common PCMCIA controllers are supported so it should run just about all Linux capable devices The PCMCIA CS drivers are a standard install with the following changes to etc pcmcia config opts REMOVED INeGlTeaeEpoR HMOs 00 0 0x04tiypomamsS00 0x8 exclude irq7 ADDED exclude irqg3 exclude irg4 exclude irg5 These changes will avoid trying to allocate the x100 x4ff region which is unavailable to PCI devices in the TS 5700 And will force the use o
49. s Table 5 6 COM3 and COM4 Interrupt Configuration Register at I O 79h No IRQ driven by COMS or COMA default at reset coms and COM4 share IRQ6 10 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com 6 Digital I O There are 23 Digital Input Output DIO lines available on the TS 5700 These are available on two headers labeled DIO and LCD In addition to the DIO signals each header also has 5 Volt power and Ground available while the DIO header has an external reset available on pin 12 and IRQ6 in available on pin 13 The header labeled LCD can be used as 11 DIO lines or as an alphanumeric LCD interface See Section 6 2 Most of the DIO lines are arranged as byte wide ports that can be programmed as either inputs or outputs in groups of 4 bits Four of the DIO lines are dedicated 0 5V swing outputs with high current drive capability Two of these outputs can sink or source 25 mA while the other two can sink or source 100 mA The 5V power output pins on these headers have a 750 mA Poly Fuse to prevent excessive current 6 1 DIO Header The DIO port provides 5V GND and 12 digital I O lines that may be used to interface the Table 6 1 DIO Header TS 5700 with a wide range of external devices DIO lines DIO_0 thru DIO 7 are a byte wide Pinout port accessed at I O location Hex 7E while the 4 other DIO lines DIO_8 thru DIO 11 are accessed in the lower 4 bits of I O location Hex 7F I O
50. ser s Manual Technologic Systems http embeddedARM com Appendix C System Memory Map Table C TS 5700 Memory Map Resource Starting Address Starting Address hex decimal Linear Flash Linear Flash Chip 0 9400000h MasM o e EE E Extended Memory CSS 100000h E BIOS E0000h PF i 128k Shadow RAM Elan520 Elan520 Configuration Registers Registers DF000h 892k o oil Enea cotonete nease oo Bus 864k NV NVSRAM ss Doooon 832k O o exo o o o a Bus or SDRAM E 800k user configurable in CMOS setup see sec 17 4 PC 104 C0000h 768k typically video BIOS PC 104 A0000h 640k 128k typically video memory Lower Memory 00000h 00000 640k RAM 39 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com Appendix D System I O Map The following table lists the I O addresses used by the system This is all a very standard PC compatible I O map All other I O locations from 100h through 3FFh are available on the PC 104 expansion bus The I O ranges of 100h 13Fh and 200h 26Fh are excellent choices for PC 104 peripheral board I O usage When designing a custom PC 104 peripheral board a User Chip Select is available on PC 104 Bus pin B19 that decodes the I O range 140h 15Fh This can make for a simpler and more cost effective design 40 5 2009 TS 5700 User s Manual Table D1 700 DIO anTS 5d Control Registers 74h Read Product Code 20h Product Code
51. st 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 6 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com 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 COMB 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 23
52. t IP for system wide messages ENABLE yes Initialize on startup The TCP IP network settings are configured in the file etc sysconfig network_cfg here is a listing Technologic Systems General Network Configuration File FEH NETWORKING yes GATEWAY 192 168 0 1 Gateway for internet access GW_DEV eth0 Gateway device to use Hostname miniepc embeddedARM com Host name for this computer BOOT PROTO no DEFRAG IPV4 no FORWARD IPV4 no The TCP IP name resolution server is configured in the file etc resolv conf here is a listing Nameserver 192 168 0 1 Name server for domain name lookups To access the web server open a web browser and enter 192 168 0 50 as the address This should display the sample web page which demonstrates some of the functionality of Apache with PHP Use the ifconfig command at the bash prompt to display the status of the Ethernet ports See the Technologic Systems Linux support page 16 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com 9 2 DOS TCP IP configuration Packet Driver and WATTCP A standard packet driver for DOS is installed on the board as shipped along with sample network applications written with the public domain Waterloo TCP IP software WATTCP WATTCP is a freely available package including source code that provides TCP IP connectivity for programs written for the DOS environment See the Technologic Sys
53. ted Devices 11 SPI Bus 11 1 Hardware 12 Real Time Clock 13 Watchdog Timer 14 LED Jumpers and External Reset 15 PC 104 Bus Expansion 16 Loading or Transferring Files 16 1 Developing with the Technologic Systems TS 9500 16 2 Transferring Files with Compact Flash 16 3 Zmodem Downloads 17 Debugging 17 1 Integrated BIOS Debugger 17 2 Using other Debuggers 18 Video Keyboard and Console Redirection i 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com 19 System BIOS Setup Screens 19 1 Main CMOS Configuration Screen 19 2 Basic CMOS Configuration 19 3 Adding a TS 9400 or TS 9500 with Compact Flash 19 4 Custom CMOS Configuration 19 5 Shadow Configuration 20 Feedback and Updates to the Manual Appendix A Board Diagram and Dimensions Appendix B Operating Conditions Appendix C System Memory Map Appendix D System I O Map Appendix E BIOS Interrupt Functions Int 15h Function BOOOh Technologic Systems BIOS information Int 15h Function BO10h LED Control Int 15h Function BO42h Alphanumeric LCD Support Int 15h Function BO40h Matrix Keypad Support Int 15h Function Ath Console I O Redirection Int 15h Function BO20h Jumper Pin Status Appendix F Using a Higher Rate 10x Baud Clock Appendix G Further References Appendix H Manual Revisions Contact Information ii 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com Limited Warranty Technologic Systems warrants t
54. tegrated Flash disks To enter the BIOS Setup screen hit Ctrl C during the memory test If you have a TS 9500 installed with video keyboard enabled hit the Delete key during the memory test When navigating the BIOS setup screen with the console on COM2 the arrow keys do not work Use the Ctrl X Ctrl E and Tab keys to navigate use the Space bar and keys to change fields Use ESC to back out of a menu NOTE Jumper JP1 will force a reset of the CMOS memory on every boot any changes will be lost Basic CMOS Configuration Setup disk drives drive mapping boot order misc Custom Configuration Setup custom features for Technologic Systems boards Shadow Configuration Setup ROM BIOS shadowing in RAM Start System BIOS Debugger Enter debugger see section 15 Start RS232 Manufacturing Link Enter manufacturing mode to link with host PC Format Integrated Flash Disk 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 System Bios Setup Utility v4 3 C 2000 General Software Inc All rights reserved gt Basic CMOS Configuration Custom Configuration Shadow Configuration Start System BIOS Debugger Start RS232 Manufacturing Link Format Integrated Flash Disk Reset CMOS to
55. tems DOS Ethernet page or click the following link to download the WATTCP source code http Awww embeddedARM com old downloads wat2001t zip In addition we have written a simple DOS HTTP web server using WATTCP that is included on the TS 5700 utility disk The simple web server uses CGI calls to control a DIO pin from a web browser Full source code is included and you are free to modify and extend the code for your own use on Technologic Systems Single Board Computers The DOS packet driver DM9PCIPD COM is loaded by AUTOEXEC BAT once DOS starts Hardware settings are read from the EEPROM chips and used by the packet driver to initialize each DM9102A Below is an example of the DOS command line to load a packet driver for the Ethernet interface DM9PCIPD 0X60 The TCP IP settings for the WATTCP code are stored in the WATTCP CFG configuration file in the A ETHERNET directory this file must be modified for the network environment where the TS 5700 will be installed 9 3 WATTCP CFG configuration file my ip 192 168 0 20 IP address of this Ethernet interface hostname epc embeddedARM 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 100 base T cable connected you should be able to ping other nodes on the n
56. the jumper JP2 easily disables console redirection If you wish to use a different serial port and or baud rate for the console the CONSOLE EXE utility allows these modifications to be made Please see the appropriate application notes for further details available on the utility CD ftp ftp embeddedarm com old old software pages Manuals ap 100 pdf If a video board is installed on the PC 104 bus the video BIOS on the graphics card will automatically replace the standard video routines INT10h disabling both the LCD display and the console redirection to COM2 regardless of the state of jumper JP2 If a video board is present all console input is disabled and the TS 5700 will only accept input from a standard PC keyboard If LCD and or Matrix keypad is enabled the console must be directed to standard I O If a TS 9500 is present with video keyboard enabled the standard output will be directed to video even if the LCD is enabled if the Matrix keypad is enabled the PC keyboard and the Matrix keypad will work at the same time 30 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com 19 System BIOS Setup Screens 19 1 Main CMOS Configuration Screen The BIOS setup screen allows the user to configure the BIOS settings which are then stored in battery backed CMOS memory in the Real Time Clock The BIOS setup screen also allows entry into the system debugger manufacturing mode and formatting of the in
57. ult If a Plug N Play device is connected to the PC 104 bus change this setting to GP Bus 34 5 2009 TS 5700 User s Manual Technologic Systems http embeddedARM com 19 5 Shadow Configuration System BIOS Setup Shadow Cache Configuration C 2000 General Software Inc All rights reserved Shadowing gt Chipset i Shadow 16KB ROM at C000 E Enabled i Shadow 16KB ROM at C400 E Enabled Shadow 16KB ROM at C800 E Disabled Shadow 16KB ROM at CC00 i Disabled Shadow 16KB ROM at D000 ii Disabled i Shadow 16KB ROM at D400 E Disabled E Shadow 16KB ROM at D800 E Disabled E Shadow 16KB ROM at DCO00 E Disabled i Shadow 16KB ROM at E000 Enabled Shadow 16KB ROM at E400 E Enabled E Shadow 16KB ROM at E800 j Enabled Shadow 16KB ROM at EC0O0 E Enabled ii Shadow 16KB ROM at F000 E Enabled DE ello to select or romeo chet lt Esc gt to return to main menu The Shadow Configuration menu allows BIOS extension ROMs to be copied to SDRAM in upper memory regions to reduce access times Execution directly from ROM is significantly slower than executing from SDRAM The region from C000 C7FF is usually reserved for the video BIOS extension in a 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 5700 This region is shadowed to optimize BIOS code execution an
Download Pdf Manuals
Related Search
Related Contents
Silhouette DBC031D1BSSPR Use and Care Manual KP-53HS10 Bedienungsanleitung 施工説明書 電波時計(掛時計) 取扱説明書 USER Manual User Manual Conferences.tscpa.org 1. Get the link for the specific Décret N° 92-473Portant réglementation des produits Copyright © All rights reserved.
Failed to retrieve file