Advertisement

Quick Links

User's Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for JK microsystems Flashlite

  • Page 1 User's Manual...
  • Page 3 Proprietary Notice and Disclaimer Unless otherwise noted, this document and the information herein disclosed are proprietary to JK Microsystems. Any person or entity to whom this document is furnished or having possession thereof, by acceptance, assumes custody thereof and agrees that the document is given in confidence and will not be copied or reproduced in whole or part except to meet the purposes for which it was delivered.
  • Page 4: Limited Warranty

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

    ......Appendix C: MICRO-BASIC Language Reference ... . Flashlite User's Manual...
  • Page 6 Flashlite User's Manual...
  • Page 7: Overview

    Programs are written on a PC compatible computer in the language of your choice. After your application has been compiled or assembled and linked into .EXE or .COM form, it is uploaded to the Flashlite's flash disk with your favorite telecommunications program using X-Modem protocol. The application can then be tested and debugged through the console serial port.
  • Page 8: Operation

    When an application is finished, either rename it to STARTUP, or create a batch file that calls the program. If the Flashlite is to be used as a stand- alone device without a console connection, avoid writing to the console.
  • Page 9: V-25 Internals - Ports/Registers/Interrupts

    Port (Px) register, the Port Mode (PMx) register, and the Port Mode Control (PMCx) register. These registers allow the port pins to be configured as inputs, outputs, or a special function. The following table shows the register addresses for each port. Flashlite User's Manual...
  • Page 10: Timer Unit

    The registers are all read/write, 16-bit (word) registers (except TMC0 and TMC1 which are 8-bit) and are located in memory as follows: TM0 - 0FF80h, MD0 - 0FF82h, TM1 - 0FF88h, MD1 - 0FF8A, TMC0 - 0FF90h, TMC1 - 0FF91h. Flashlite User's Manual...
  • Page 11: Interval Timer Mode

    SCLK Clock Timer Resolution Full Count SCLK/12 3.0 µS 196.608 µS SCLK/128 32.0 µS 2.097 S Timer Control Registers Setting the desired timer mode requires programming the timer control register. See below for the TMC register format. Flashlite User's Manual...
  • Page 12 Flashlite User's Manual...
  • Page 13 = input clock specification; value in SCCn register (0< n <8) SCLK = system clock frequency (Hz) For a desired baud rate of 19.2k baud, a MHz system clock (Flashlite), n would be 0 giving a BRGn value of 104. Flashlite User's Manual...
  • Page 14 Serial Interface Registers Flashlite User's Manual...
  • Page 15 These bits are reset automatically when either the baud rate generator or the serial control register contents are written. The AS bit is set when both the transmit buffer and transmit shift register are empty. Flashlite User's Manual...
  • Page 16: Interrupts

    The 17 sources are divided into groups for management by the interrupt controller. Using software, each of the groups can be assigned a priority from 0 (highest) to 7 (lowest). The priority of individual interrupts within a group is fixed in hardware. Flashlite User's Manual...
  • Page 17 NMI, INTP0-INTP1 are edge-sensitive inputs. By selecting the appropriate bits in the interrupt mode register, these inputs can be programmed to be either rising or falling edge triggered. Bits ES0-ES2 correspond to INTP0- INTP2, respectively, as shown below: Flashlite User's Manual...
  • Page 18: Processing

    FINT is not executed within the service routine, only future interrupts of higher priority will be accepted. In the vectored service mode, the CPU traps to a vector location. Flashlite User's Manual...
  • Page 19: Register Bank Switching

    This also allows hardware-based real-time task switching in high-speed environments. In addition to context switching, the task switch opcode (TSKSW) allows multiple independent processes to be internally resident. Flashlite User's Manual...
  • Page 20: Bios

    BIOS Supported Functions The Flashlite Basic Input Output System supports the following software interrupts: Console Output Equipment Check Memory Size Disk Services Keyboard Driver Bootstrap V-25 Resources and the BIOS The BIOS uses the following V-25 ports, registers and register banks. The user should exercise extreme caution when using or modifying these resources.
  • Page 21: Xdos

    XDOS General Information The Flashlite uses XDOS, 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 22 /h - display this Help screen (any invalid key) MD / MKDIR Function: Creates a subdirectory Format: MD or MKDIR [d:]path PATH Function: Specifies directories that DOS is to search when trying to locate executable files Format: PATH [[d:]path[;[d:]path ...]] Flashlite User's Manual...
  • Page 23 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] Function: Displays the DOS version number Format: Function: Displays the volume label of specified drive Format: VOL [d:] Flashlite User's Manual...
  • Page 24: Utilities

    Utilities The Flashlite comes preloaded with several utilities to aid system develop- ment. These utilities are located on the A: drive of the Flashlite. UP.COM This utility facilitates uploading files to the Flashlite via the console port using the X-MODEM transfer protocol. The utility requires the user to supply the name of the incoming file.
  • Page 25: Micro-Basic

    MICRO-BASIC is a compact, full featured, BASIC language interpreter that allows immediate development and testing of small programs on the Flashlite. Most of the examples in this document written in BASIC will run in MICRO-BASIC. Due to its size, the list of supported commands and functions is smaller than some other common BASIC languages, but it does provide some functions only found in large development packages.
  • Page 26: Programming Examples

    QuickBASIC I/O Some of the code produced by Microsoft QuickBASIC and QuickBASIC Professional compilers 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 controller.
  • Page 27: Stoplight In Micro-Basic

    330 POKE 65296,12 335 REM make lights red and green (bit 2 and bit 3 on) 340 RETURN 350 L=1:L1$="GREEN":L2$="RED" 360 POKE 65296,33 365 REM make lights green and red (bit 0 and bit 5 on) 370 RETURN Flashlite User's Manual...
  • Page 28: Stoplight In C

    "GREEN" ); strcpy( l2, "RED" ); poke( SEG, 0xFF10, 0x21 ); /* make lights green and red (bit 0 and bit 5 on) */ return(0); main(int argc, char *argv[]) /* see if delays specified on cmd Flashlite User's Manual...
  • Page 29 ( " % - 1 0 s % - 1 0 s \ n " , l 1 , l 2 i f ( ! ( p e e k ( S E G , 0 x F F 1 0 ) & 0x80) ) change(); /* see if time to change */ Flashlite User's Manual...
  • Page 30: Specifications

    110 mA, Typical Operating Temperature -4 to 185 °F (-20 to +85 °C) Dimensions 4.2" x 3.6" (106.7 mm x 91.4 mm) All holes on 0.100" centers, #6 mounting holes 0.250" from board edges Weight 2.5 Oz. (70 gm.) Flashlite User's Manual...
  • Page 31: Contact Information

    Microprocessor development tools P.O. Box 31044 Nepean, Ontario, Canada, K2B 8S8 Voice: (613) 256-5820 FAX: (613) 256-5821 BBS: (613) 256-6289 NEC Electronics Inc. - Literature V-25 Plus Data Sheet (80 pages) #50134-1 V-25/V-35 User's Manual #UUI-UP50069 Voice: (800) 632-3531 Flashlite User's Manual...
  • Page 32: Appendix A: Pin Descriptions

    A0-A19 Processor address line (0-19) D0-D7 Processor data lines (0-7) J2 - Power 5 Volt power supply for Flashlite RESET/ System ground RESET/ Active low processor reset pin (input) J3 - Port T and Port 0...
  • Page 33 Port 2 is a 8-bit bidirectional I/O port. It is also configurable for use with the DMA controller. P2.0, DMARQ0 - DMA request, channel 0 P2.1, DMAAK0/ - DMA acknowledge, channel 0 P2.2, TC0/ - Terminal count, channel 0 P2.3, DMARQ1 - DMA request, channel 1 Flashlite User's Manual...
  • Page 34: Appendix B: Application Hints

    Data Set Ready (output) CTS1 Clear to Send (input) No Connection Note: CTS is connected to +5 volts via a weak pullup resistor and may be left unconnected if not needed. Appendix B: Application Hints SET 87=N Flashlite User's Manual...
  • Page 35: Appendix C: Micro-Basic Language Reference

    Appendix C: MICRO-BASIC Language Reference different font Flashlite User's Manual...
  • Page 36 Flashlite User's Manual...
  • Page 37 Flashlite User's Manual...
  • Page 38 Flashlite User's Manual...
  • Page 39 Flashlite User's Manual...
  • Page 40 Flashlite User's Manual...

Table of Contents