Getting StartedBIOS Manual and UtilitiesDOS Manual and System FilesFlashup and Binary ImagesEthernet Programs and SourceExample CodeHardware Test CodeApplication NotesSample SchematicsComponent Data SheetsBuffer Products UtilitiesLinux Downloads

 

x86 SBC-Test Code for DOS

Description of SBC-test, hardware/BIOS test routine

The Single Board Computer test program includes comprehensive hardware and BIOS diagnostic tests and provides a good starting point for programmers needing to access hardware or make BIOS calls. The sbc-test program is used at Technologic Systems prior to shipping each board to ensure functional hardware.

Download SBC-test

SBC-test.zip (40 KB) C source and DOS executable.

Hardware and BIOS features of SBC-test

  • Real Time Clock - Displays date/time and CMOS memory I/O test.
  • SRAM socket - read/write of SRAM in memory space.
  • COM ports - Tx/Rx and handshake test using loopback plug.
  • Digital I/O - special test harnesses are used to test I/O pins.
  • Ethernet - Pings external test box at 192.168.0.200
  • Analog Input - Uses BIOS calls to convert A/D.
  • RS-485 - Half duplex requires external ping box, full duplex uses loopback.
  • LCD - BIOS calls and direct I/O access to alphanumeric LCD are tested.
  • BIOS calls - memory size, jumpers, BIOS version, LCD, LED.
  • PC/104 bus - address, data and control lines tested using TS-9400.

Note:

SBC-test is written in C for DOS using the Turbo C++ 3.0 libraries. Many of the tests require special hardware, loopback plugs, test harnesses and external computers running special code. If possible the external hardware required is documented in the code.

DOS utilities directory for TS SBC's

The DOS utilities come pre-installed on our computers under the \util directory. These are DOS programs and batch files useful for working with our embedded systems. The C and assembler source code is included for all programs (except the Z modem downloader, which isn't ours). All of the C code available here is written for Borland Turbo C++ 3.1, no makefiles are used, to compile simply use the command line compiler and pass the file name: "tcc console.c"

DOS utilities download

util.zip (267 KB)

These files are contained in util.zip, along with some batch files to make using the programs easier.

  • flashup.exe - Flash save/restore program for upgrading BIOS, A: drive, see flashup above.
  • console.exe - Controls console redirection to COM port, see App Note (C source).
  • int3.com - Starts BIOS debugger. Download BIOS manual for debugger instructions (ASM source).
  • led_xxx.com - Uses BIOS calls to control LED connected to processor pin (ASM source).
  • io-lcd.exe - Uses I/O access to LCD port to run 2x20 alphanumeric LCD display (C source).
  • bios-lcd.exe - Uses BIOS calls to redirect console I/O to LCD & 4x4 matrix keypad (C source).
  • dsz.exe - Z modem transfer files to/from an EPC using terminal emulator (no source avail.).