Advertisement

Quick Links

User’s Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Flashlite 186 and is the answer not in the manual?

Questions and answers

Summary of Contents for JK microsystems Flashlite 186

  • Page 1 User’s Manual...
  • Page 3 JK microsystems, Inc. JK microsystems, Inc. will make every effort to inform users of substantive errors. JK microsystems, Inc. disclaims all liability for any loss or damage resulting from the use of this manual or any software described herein, including without limitation contingent, special, or incidental liability.
  • Page 4: Limited Warranty

    User’s Manual Limited Warranty JK microsystems, Inc. warrants each Flashlite 186 to be free from defects in material and workmanship for a period of 90 days from the date of purchase. This warranty shall not apply to any unit which has been subject to misuse, neglect, accident, or abnormal conditions of operation.
  • Page 5: Table Of Contents

    Flashlite 186 User’s Manual Table of Contents Limited Warranty ..........................ii Table of Contents ........................... iii Overview ............................1 Features ............................1 Operation ............................2 Getting Started ..........................3 Hardware ............................5 Memory Configuration ......................5 I/O Configuration........................5 Digital I/O Ports ........................
  • Page 6 Flashlite 186 User’s Manual...
  • Page 7: Overview

    User’s Manual Overview The Flashlite 186 single board computer is based on the RDC R8822 microcomputer. The R8822 is a high performance, 16-bit, single-chip microcomputer that is software compatible with the 80C186 family of microprocessors. DOS compatibility allows development in a familiar environment with a wide range of tools.
  • Page 8: Operation

    Flashlite 186 User’s Manual Operation The Flashlite is configured with two ‘disk drives’ A: and B:. Drive A: contains DOS, the BIOS, and utility programs essential to the operation of the Flashlite. Drive A: is read-only. Drive B: is read/write and contains optional utility programs and is available for user files and applications.
  • Page 9: Getting Started

    Flashlite 186 User’s Manual Getting Started To begin development with the Flashlite, you will need a PC compatible computer with a telecommunications program and a free serial port. Connect the Flashlite’s Debug/Console Port to the PC’s serial port with a 9-pin serial cable (straight through wiring). Run the telecommunications program and configure the serial port for 9600 baud, 8 data bits, 1 stop bit and no parity.
  • Page 10 Flashlite 186 User’s Manual If the transfer terminated without problems, you have a working development environment for the Flashlite controller. To transfer files from the Flashlite to the development PC, use the DOWN command described in the Utilities section of this manual.
  • Page 11: Hardware

    Flashlite 186 User’s Manual Hardware Memory Configuration The R8822 processor is configured in real mode with a physical address space of 1 megabyte. The DRAM is located between 00000h and 7FFFFh, the flash is between 80000h and FFFFFh. A 32-pin DIP socket is provided for additional flash, RAM, or EPROM.
  • Page 12: Driving Loads With The Ports

    Default Driving Loads with the Ports The ports on the Flashlite 186 are capable of driving small loads or interfacing to TTL logic devices. These ports can only source/sink a few milliamps. In order to interface with many loads, additional circuitry, such as a transistor or relay, will be required. Designing the interface between an output pin and a higher current load can present a challenge, especially if high speed is required or the load is inductive in nature.
  • Page 13: Programming The Ports

    Flashlite 186 User’s Manual Switching inductive loads such as relays, solenoids and motors can generate transient voltages many times larger than the steady-state operating voltage of the load. For example, turning off a 12 volt solenoid can easily create a negative spike of 200 volts. Worst case, these transients can destroy your controller.
  • Page 14: Asynchronous Serial Ports

    Flashlite 186 User’s Manual The following code illustrates the use of inportb() outportb() unsigned char port; port = inportb(PORT_DIR); /* get value of dir. reg */ port |= PORT_DIR_MASK; /* set dir. bit for input */ outportb(PORT_DIR, port); /* write value to dir. reg */ printf("PORT: 0x%X\n", (int)inportb(PORT));...
  • Page 15: Watchdog Timer

    FMT_DOC.BAT and answer the prompts. This will format your DiskOnChip and load compatible firmware. You may delete the 3 files after the operation is complete. If your application requires the Flashlite to boot from a DiskOnChip, please contact JK microsystems for more information and the configuration procedure. Hardware...
  • Page 16: Jumpers

    Flashlite 186 User’s Manual Jumpers JP1 - Socket Memory Type / Boot Memory Location This jumper selects the type of memory in the expansion socket. Available choices are SRAM or Flash. Other memory types may be supported if their pinout is compatible with standard SRAM or Flash chips.
  • Page 18 Flashlite 186 User’s Manual Port A & B Port E & F 2 Vcc 2 Vcc PA.3 4 PB.3 4 Vcc PA.2 6 PB.2 INT3 6 3.3V PA.1 8 PB.1 CLKB 8 3.3V PA.0 10 PB.0 INT5 10 INT6 Table 2h: Port A&B Pinout...
  • Page 19: Software

    Flashlite 186 User’s Manual Software Supported PC BIOS Functions The Flashlite BIOS supports the following functions (software interrupts) common to PC compatible computers. Please refer to a DOS/PC reference for more information on DOS and BIOS software interrupts. Int 10h, Video Driver, functions 9 and 0Eh...
  • Page 20: Utilities

    UP tries to write to the read-only A: drive. B:\>up Upload file with X-MODEM Protocol Usage: up file... Version 2.0 for JK microsystems Flashlite V25 and 386Ex B:\>up test.exe Ready, start X-modem upload now, Press CNTL-C to abort...
  • Page 21: Format.com

    Flashlite 186 User’s Manual FORMAT.COM If it becomes necessary to reformat the B: drive, FORMAT provides this function. CAUTION, all information on the drive will be lost during the formatting process. B:\>format Flashlite FLASH Drive Format Program -Version 3.0 System will reboot after successful format...
  • Page 22: Dos

    Flashlite 186 User’s Manual JK microsystems’ controllers use XDOS, a compact operating system for embedded applications. The XDOS command structure is nearly identical to MS/PC DOS version 3.3. The switches for the DIR command have been changed and expanded. XDOS does not support redirected input or output with the use of <...
  • Page 23 Flashlite 186 User’s Manual Function: Lists directory entries Format: DIR [d:][path][filename[.ext]][switches] Switches: /a - display file attributes /b - sort by file size (in bytes) /d - sort entries by date and time /f - display entries by alphabetic file name order...
  • Page 24 Flashlite 186 User’s Manual Function: Renames a file Format: REN [d:][path]filename[.ext] filename[.ext] RD / RMDIR Function: Deletes a subdirectory Format: RD or RMDIR [d:]path TIME Function: Displays or changes the current DOS time Format: TIME [hh:mm:ss.xx] TYPE Function: Display the contents of a file Format: TYPE [d:][path]filename[.ext]...
  • Page 25: Quickbasic/Powerbasic Console I/O

    Flashlite 186 User’s Manual QuickBASIC/PowerBASIC Console I/O Some of the code produced by Microsoft QuickBASIC compiler does not execute properly on the Flashlite. In the case of console I/O, we believe that QuickBASIC is generating code for specific hardware and software not present on the Flashlite.
  • Page 26: Specifications

    Flashlite 186 User’s Manual Specifications Supply Voltage: 7-34 VDC or 5 VDC +/- 5% regulated Supply Power: 2W (nominal) -20 to +85 °C Operating Temperature: Humidity: 5 - 90 % non-condensing Processor I/O Pin (PIO0, PIO1, PIO10, PIO11) Characteristics:...
  • Page 27 Flashlite 186 User’s Manual Contact Information...
  • Page 28: Contact Information

    Flashlite 186 User’s Manual Contact Information JK microsystems, Inc. 1403 Fifth Street, Suite D Davis, CA 95616 Telephone: (530) 297-6073 Fax: (530) 297-6074 Email: sales@jkmicro.com (sales inquiries) support@jkmicro.com (technical support) Web: http://www.jkmicro.com M-Systems DiskOnChip 39899 Balentine Drive, Suite 335...

Table of Contents