Home

Flashlite 186 User`s Manual

image

Contents

1. a 12V m Ground memm 6 T NAnAnonAAnn A The Flashlite should respond with a welcome message and a B prompt Enter DIR to look at the directory of drive B If you do not get a welcome message or echo of the characters that you type you need to check your serial port setup To test everything but the Flashlite remove the serial cable from J6 and jumper pins 3 and 5 If characters typed on the keyboard are not echoed on the screen the problem is with your setup You must resolve the problem before you can continue If you were able to do a DIR take a few minutes to explore the contents of the Flashlite s file system You will find all of the essential utilities on drive A and some optional programs on drive B Drive A is write protected and cannot be altered Drive B is read write and can be changed or reformatted After you have looked at the programs on the Flashlite the next step is to try to upload a file This is the procedure for getting a file from your PC to the Flashlite On the Flashlite type the command UP followed by the name of the file you wish to upload The Flashlite will begin sending characters to your PC polling it for the file On your PC start the transfer usually by pressing the PgUp key The telecomm program should respond by requesting the file name and protocol Enter the file name and select X Modem for the protocol The transfer should start an
2. Functions 0 and 1 Int 19h Boot System Int 1Ch Hook Timer Tick Interrupt Driver Library Drivers for the hardware serial ports alphanumeric LCDs and matrix keypads are supplied on the utilities CD in the Drivers subdirectory For implementation details see the README TXT files and the driver source code for the respective drivers Utilities 13 JK microsystems Flashlite 186 User s Manual Utilities The Flashlite comes preloaded with several utilities to aid system development These utilities are located on drive A of the Flashlite and or the Utilities CD 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 Unless otherwise specified the file is placed in the active directory of the current drive A write protect error will occur if UP tries to write to the read only A drive B gt up Upload file with X MODEM Protocol Usage up file Version 2 0 for JK microsystems Flashlite V25 and 386Ex B gt up test exe Ready start X modem upload now Press CNTL C to abort CECE B gt DOWN COM This utility facilitates downloading files from the Flashlite via the console port using the X MODEM transfer protocol The utility requires the user to supply the name of the file to transmit B gt down Download file with X MODEM Protocol Usage down file Version 1 0 for
3. the default drive is used path the path DOS must take in traveling from one directory to another directory names are separated by a backslash filename up to 8 characters used to name a file ext a three character extension may be added to a filename an extension is separated from a filename by a period CD CHDIR Function Changes the current directory Format CD or CHDIR d path COPY Function Copies a file combines two or more files into one file Format COPY d path filename ext switches d path filename ext switches d path filename ext switches Switches V verify the contents of new file A copy file in ASCII format B copy file in binary format DATE Function Displays or changes the current DOS date Format DATE mm dd yyyy DEL ERASE Function Deletes erases one or more files from a disk Format DEL or ERASE d path filename ext 16 DOS Flashlite 186 User s Manual JK microsystems DIR Function Format Switches MD MKDIR Function Format PATH Function Format PROMPT Function Format Text Lists directory entries DIR d path filename ext l 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 n display entries in directory order do not sort s include system and hidden files in output p stop at end of each page w d
4. 2 gE O Ecol jo oF Ol ae 2 Ble JE 310 9 E HID esz ejo en 3 60 z Cy fee E Joa Oo ale 5 ale z oe 3 3 lo gt p3 mH la go g Slo m to e a 7 7 a men z e 7 5 a conanananana UUTTTTDDUTTT S e nsoooon cl 4 CPLD JTAG a O ho Oo Contact Information 0 52 TYP JK microsystems 21 JK microsystems Contact Information JK microsystems Inc 1403 Fifth Street Suite D had double negative Flashlite 186 User s Manual indicate Vcc on J10 8 p2 port load information pin 5 9 10 table 2j pg 11 p6 7 Remove text implying PC compatibility of UART Timer PIC p4 p9 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 Newark CA 94560 Telephone 510 413 5950 Fax 510 413 5980 Email info m sys com Web http www m sys com Rev Date Author Changes Pr a 8 eo 1 4 17NOV03 EW Add Flash write warning 1 3 04NOVO3 EW Change J11 pin names 1 2 11JUL03 EW Fix note for JP2 1 1 3FEBO3 EW Revise TOC Table 2 references 1 0 30Jan03 EW First Issue
5. Port E Port D Port C Port B Port A vee Used Used DIR DIR DIR DIR DIR DIR Bae as a Mo tft a AAA 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 6 Hardware Flashlite 186 User s Manual JK microsystems 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 In milder cases they can cause program failures and flash memory corruption In the case of high current high inductance devices the spike need not even be directly connected to the controller to cause damage or program failure Controllers damaged by inductive spikes are considered to be abused and are not eligible for warranty repair A detailed study of dealing with inductive spikes is beyond the scope of this manual For more information a good starting point is The Art Of Electronics 2nd Ed Horwitz and Hill 198
6. x186 Compatible 7 34 Volt unregulated DC or 5V regulated DC power 512k Bytes DRAM Memory 16 bit data path 512k Bytes Flash Memory High Speed Serial Ports 1 RS 232 Port with Handshake TxD RxD DCD RTS CTS GND 1 Jumper Configurable as RS 232 TTL RS 232 or RS 485 Console Debug Serial Port 3 wire RS 232 software UART 44 Digital I O Lines 2 reserved for console debug serial port 3 16 bit timer channels Watchdog timer generates internal processor reset 32Pin Dip Socket to accept M Systems DiskOnChip Compact Size 4 20 x 3 60 106 7mm x 91 4mm 2 10z 59gm Driver Library C and Basic Serial ports PIO alphanumeric LCD and keypad Overview 1 JK microsystems 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 The serial console port for the Flashlite has been implemented using bit I O to keep the processor serial ports free for user applications The port is configured for 9600 baud 8 data bits 1 stop bit and no parity This is the primary mode of communicating with the Flashlite DOS and the BIOS treat this port as the logical devices STDIN and STDOUT in place of a keyboard and monitor The console serial port is intende
7. 0 000 write 2 Operation Flashlite 186 User s Manual JK microsystems 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 Apply power to the Flashlite using our A C adapter PN 88 0006 or a source of unregulated DC between 7 and 34 Volts capable of supplying 2 Watts Observe the polarity indicated on the board silkscreen 485 TTL D O A An eJP2 o JS o D Fe are a G Oe a aT L A annnannnnnannn ana WOT TITUUUUUTTTUUT a OOO000 000000 ADODOAN OONN MNI j I Console na ooo000000 e7 eo ei mo mo mo Sna 0d OO000000 ger laoa A 139 Ladd Dooon 4 3 Ladd mars Bea UTUUDTTUUTTUTT a ote a o 4 CPLD JTAG um O feccooa a
8. 9 pages 52 53 The following items should be considered when driving inductive loads A When driving a DC inductive load place a diode in parallel with the load In most cases the diode can be a general purpose power diode such as a IN4002 The cathode banded end of the diode should connect to the positive side of the load Locate the diode as physically close to the load as possible This applies to a small relay driven by a port pin as well as a larger inductive load connected to the contacts of a relay B If you are using a relay to switch an AC powered inductive load put a varistor in parallel with the load The varistor voltage rating should be about 1 5 times the peak to peak steady state voltage of the load C Relays switching an inductive load may require a capacitor placed across their contacts 0 1uF to 1 0pF is a good starting point If the relays are switching an AC load place a 100 ohm resistor in series with the capacitor D Do not use the controller s ground or power conductors to carry current from switched inductive loads Isolate these signals and route then directly to and from the power supply and as far away from the controller as possible A separate power source for large inductive loads is strongly recommended In the case of very large inductive loads a separate enclosure for the controller may be required Programming the Ports The VO ports are located in the processor I O space Using the ports requ
9. 981 H4SEIS Flashlite 186 User s Manual JK microsystems Unless otherwise noted this document and the information herein disclosed are proprietary to JK microsystems Inc 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 in part to meet the purposes for which it was delivered The information in this document is subject to change without notice and should not be construed as a commitment by 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 JK microsystems Inc recognizes our customer s need for a consistent product and will make every effort to provide one In order to provide the best possible product for all of our customers we reserve the right to make incremental improvements in our product designs Flashlite is a trademark of JK microsystems Inc MS DOS is a registered trademark of Microsoft Corporation XDOS is a copyright of HBS Corporation All other brand and product names are trademarks or registered trademarks of their respective companies Flashlite 186 User s Manual Version 1 5 C
10. JK microsystems SBC products B gt down test exe Ready start X modem download now B gt 14 Utilities Flashlite 186 User s Manual FORMAT COM JK microsystems If 1t 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 gt format Flashlite FLASH Drive Format Program Version 3 0 System will reboot after successful format Press 1 to initialize Drive B as 418 KB disk Press ESC to exit with no changes gt 1 Flash Drive is now formatted Rebooting system EDIT COM A simple line editor is included to allow quick creation and modification of batch files or other text files EDIT is similar to Microsoft s EDLIN provided in earlier versions of MS DOS It allows list insert delete and modify Upon exit a backup of the original file is created filename BAK and the edits are saved If a backup file with the same name already exists it is overwritten A list of commands and their usage is available by entering h at the edit prompt gt gt The name of the file to edit must be supplied following the command EDIT on the command line B gt edit test bat FlashLite Line Editor v1 0 Enter h for help New File test bat gt gt 1 0 echo Batch file being processed 1 mytsr 2 myapp 3 Z gt 1 0 echo Batch file being processed 1 mytsr 2 myapp gt gt q Save befor
11. PIOO PIO1 PIO10 PIO11 Characteristics Symbol Parameter MIN MAX Units Condition Ve Input Low 0 5 0 8 V Vi Input High 2 0 Vec 0 5 V Vo Output Low 0 4 V 1 6MA Vou Output High 2 4 V Ion 6mA Port A B C D E F Symbol Parameter MIN MAX Units Condition Vi Input Low 0 0 8 V Va Input High 2 0 5 5 V Vo Output Low 0 4 V 1 8mA Vou Output High 2 4 V 1 4mA Mating Connectors Connector Mfg MFG P N JK micro P N 2x5 Housing J6 J7 J8 J10 Molex 22 55 2101 28 0030 Oupiin 4072 2X05H 2x13 Housing J9 J11 Molex 22 55 2261 28 0031 Oupiin 4072 2X13H Pins Molex 16 02 0096 28 0033 Oupiin 404 PIN 10K 1x3 Hou sing Friction Lock J3 Molex 22 01 2031 28 0012 Oupiin 4071 03H 1x5 Housing Friction Lock J5 Molex 22 01 2051 28 0036 Oupiin 4071 05H Pins Friction Lock Housings Molex 08 50 0114 28 0013 Oupiin 4071 PIN T Mechanical Dimensions 4 20 x 3 60 x 0 52 106 7mm x 91 4mm x 13 2mm Weight 2 10z 59gm 20 Specifications Flashlite 186 User s Manual A 20 o A85 TTL A Om a gje eee feos uoooo a oP Ol om oper 8 O J3 5V I OPE ys 1 a Nouo o o a aa eji O co annm 3 E ao O E a E m o p a A um A o e e e m o O SJ 8 oO lu ofa o a loa of o of oO O E Im Mla a o ne a
12. al I O port addresses For addressing and programming the peripherals specific to the R8822 please refer to the RDC R8822 Microcontroller User s Manual The manual is available in PDF format on the Development Kit CD or from our web site at http www jkmicro com Digital I O Ports The Flashlite has a total of 44 bits of I O 40 bits are generated by a CPLD and the remainder are from the R8822 processor PIOO 1 2 bits of I O are controlled by the R8822 processor These bits are individually configurable as inputs or outputs PIO10 11 2 bits of I O are controlled by the R8822 processor PIO10 is used as the software serial receive line and PIO11 is used as the software serial transmit line The PIO bits 1 and 2 are defined as inputs upon powerup To read their states you must perform a 16 bit input from the R8822 PDATAO register and look at bits O and 1 The base address for all R8822 internal registers is OFFxxh with PDATAO at OFF74h To change the I O s to outputs you must clear the respective bit s in the R8822 PDIRO register l When changing any bit value in the R8822 PIO registers it is essential that all of the other bit values be preserved You must read the 16 bit register modify the desired bit s and write the new value to the register Hardware 5 JK microsystems Flashlite 186 User s Manual After the bit s are cleared in the PDIRO register you can change their state by reading the PDATAO register modifying the
13. bit s and writhing out the new value to PDATAO See the section Programming the Ports for more information LED the LED at location DS1 is controlled by bit 10 of the PDATA 1 register at OFF7Ah Set the bit 1 to turn the LED off clear the bit 0 to turn the LED on Ports A F 40 bits of 1 0 are controlled by a CPLD The VO from the CPLD is grouped into two 4 bit ports A amp B and four 8 bit ports C thru F Each of the six ports may be configured as either inputs or outputs The following tables show the port registers addresses and configuration bits Register Address Port A 0x600 Port B 0x601 Port C 0x602 Port D 0x603 Port E 0x604 Port F 0x605 IOConf 0x606 Ports A through F have a single data register that is read write Data read from the port represents the current state of the port data written to the port will be present on the port pins if the port is configured as an output Each port may be configured as either an input or an output Write a O to the appropriate bit in the direction register to configure the port as an input write a 1 to configure it as an output All ports default to inputs tollerant care must be taken to avoid exceeding the current specifications for the device e Shorting an input to 5V will damage the CPLD l The CPLD is a low power device that operates from 3 3 Volts Although the inputs are 5V IO Configuration Register I O Port 606 hex Es EI EAI Esas Functi Not Not Port F
14. cific hardware and software not present on the Flashlite JK microsystems There are two problems with console I O The first is that a PRINT statement will not send output to the console port To output text to the console open cons as a file and print to it The second problem is that an INPUT statement will not echo the data entered by the user Workarounds for both of these problems can be found in the program BAS_INP BAS on the utilities CD Example subdirectory and shown here start OPEN o 1 cons PRINT 1 PRINT 1 Quickbasic PowerBasic Input Program PRINT 1 Enter a string gt M5 GOSUB linein InputString lineins PRINT 1 InputString PRINT 1 Enter a numeric value gt GOSUB linein InputNumber VAL linein PRINT 1 InputNumber CLOSE 1 END linein lineins linemore a INKEYS IF aS THEN GOTO linemore IF a CHR 13 THEN GOTO linedone IF a lt gt CHR 8 THEN GOTO getchar PRINT 1 CHRS 8 CHRS 32 CHRS 8 linein left lineins len lineins 1 GOTO linemore getchar PRINT 1 a lineins lineins a GOTO linemore linedone PRINT 1 RETURN Specifications 19 JK microsystems Flashlite 186 User s Manual Specifications Supply Voltage 7 34 VDC or 5 VDC 5 regulated Supply Power 2W nominal Operating Temperature 20 to 85 C Humidity 5 90 non condensing Processor I O Pin
15. d only for use as a development tool While it is in use 1t disables interrupts for a significant period of time This may cause disruptions with the supplied serial port drivers and other devices and functions requiring interrupt support When power is applied to the Flashlite or when it is reset the board goes through its initialization procedure and then starts DOS A simple read only AUTOEXEC BAT file is executed and then the board is ready to use The batch file performs several functions before the user is given control The DOS search path is set the DOS prompt is set the CTRL C flag discussed later in this manual is checked and finally an attempt is made to execute a file named STARTUP on the B drive This provides a convenient way for custom applications to execute immediately after initialization of the Flashlite If you wish to have your application start automatically create a batch file named STARTUP BAT that invokes the program Renaming your application STARTUP EXE Or STARTUP COM is not recommended If this is done and the program locks up typing CNTL C at bootup may not break the program and exit to the DOS prompt cycles it is possible for an application to quickly wear them out The flash memory is intended to store programs and setup data which is normally not changed Avoid storing O data or frequently changed information on the flash disk l Although the flash memory devices used have a guaranteed lifetime of over 1
16. d when it is complete you should get a new B prompt on the screen If the transfer does not work the problem is most likely the Carrier Detect signal pin 1 on the DB 9 connector into the PC being sensed as low or false Make sure that the signal is at least 3 volts into your PC if you are not able to transfer files Getting Started 3 JK microsystems 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 The Flashlite does not have a hardware clock calendar The time and date will be maintained by DOS until the power is cycled If the correct time and date are required after a power cycle they must be set either from the command prompt or via user software The time and date can be set with the following commands B gt TIME 13 30 00 Sets the time to 1 30 pm B gt DATE 10 29 2002 Sets the date to October 29 2002 When power is applied to the Flashlite one of the first things the BIOS initialization code does is check for a CNTL C character typed at the console If this character is typed as soon as the board is powered up or reset a flag is set which overrides some of the initialization process When DOS runs its AUTOEXEC BAT file on drive A the state of the CNTL C flag is also checked and any user application set
17. e exit Y n y File Saved B gt DOS 15 JK microsystems Flashlite 186 User s Manual DOS 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 lt and gt but does support pipes None of the external DOS commands are available due to size constraints XDOS does not support installable file system functions XDOS Command Reference In the list below XDOS commands are followed by a function description and their format including available parameters and switches Items in boldface type must be entered Capitals or lowercase letters may be used Items in italics are parameters Those in boldface italics must be entered those in are optional All switches are optional They are shown as X Spaces and punctuation are to be included An ellipsis following items means that you may repeat the items as often as needed Do not enter the ellipsis or the square brackets Most XDOS commands allow the use of wildcards in filenames and extensions When wildcards one character any character or characters are used the command is executed once for each matching file Common parameters are d drive specification a letter followed by a colon e g A if no drive is specified
18. ires the use of functions unique to the x86 family of processors Creating a pointer to the location may seem logical but that reference would be in memory space not I O space The Borland C functions inport port and outport port value are 16 bit word instructions inportb port and outportb port value are 8 bit byte instructions These functions are part of the dos h header file Similar functions and header files are available for other C compilers and languages Hardware 7 JK microsystems Flashlite 186 User s Manual The following code illustrates the use of inportb and 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 read amp print port value Asynchronous Serial Ports The Flashlite has 2 serial ports Serial O and Serial 1 Both ports are internal to the R8822 These UARTs are not compatible with the 16450 UARTs on a PC The maximum data rate is 115k Baud at RS 232 levels Serial O is wired as Data Terminal Equipment DTE for connection to a peripheral such as a modem This port is jumper configurable to be either RS 232 TTL level RS 232 2 wire or half duplex RS 485 When configured to use RS 232 levels this is port implements the handshaking RTS CTS and DCD control lines Serial 1 is wired as Data Communica
19. isible on the bottom of the PCB Pin one will also be identified on the board silkscreen with a 1 and or a dot Dual row headers have ODD numbered pins on one side and EVEN numbered pins on the other The dual row header numbering scheme follows the numbering for an IDC style ribbon cable This numbering may not be identical to connectors with discrete wires Use caution when connecting cables to the Flashlite 10 Hardware Flashlite 186 User s Manual JK microsystems art gt gt 7 E E 5 N 33 34 A13 37 38 4 RTS out E E DE 21 23 25 27 29 E 35 37 39 PULLUP o Table 2c Power Pinout Table 2g 485 TTL Pinout Hardware 11 JK microsystems 12 Table 2h Port A amp B Pinout CEC EN cuca ler roo fofofo pee ofaj peo asjasee Table 21 Port C amp D Pinout Software Flashlite 186 User s Manual nm spe hav exe fsb iis ofen Table 2j Port E amp F Pinout Flashlite 186 User s Manual JK microsystems 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 OEh Int 11h Get Equipment Configuration Int 12h Get Memory Size Int 13h Disk Driver Functions 0 4 Int 14h Serial Port Driver Functions 0 3 Int 16h Keyboard Driver
20. isplay only the file name h display Help screen any invalid key Creates a subdirectory MD or MKDIR d path Specifies directories DOS will search when trying to locate executable files PATH d path d path Sets the DOS system prompt PROMPT text Resulting Character s t The current time stored by DOS d The current date stored by DOS p The current directory v The version of DOS being used n The default drive g The character gt 1 The character lt b The character q The character The character _ Carriage return plus line feed DOS 17 JK microsystems Flashlite 186 User s Manual REN Function Format RD RMDIR Function Format TIME Function Format TYPE Function Format VER Function Format VOL Function Format 18 Renames a file REN d path filenamel ext filename ext Deletes a subdirectory RD or RMDIR d path Displays or changes the current DOS time TIME hh mm ss xx Display the contents of a file TYPE a path filename exr Displays the DOS version number VER Displays the volume label of specified drive VOL d 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 spe
21. n 0 2 C Copyright 1992 1996 M Systems Ltd TrueFFS BIOS Version 3 3 9 for DiskOnChip 2000 V4 2 Copyright C M Systems 1992 2000 DOS Version 3 3c for JK microsystems Flashlite C HBS Corp and JK microsystems 1991 1999 B gt If after the installation of a DiskOnChip DOS fails to return a prompt the DiskOnChip probably has incompatible firmware and must be reformatted and it s firmware reloaded Remove the DiskOnChip reboot the board and upload the file DOC EXE from the utilities CD Power down the board reinstall the DiskOnChip and apply power while holding CNTL C down Find the file DOC EXE and execute it It will extract 3 files Execute the batch file 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 9 JK microsystems 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 Jumper pins 1 2 and 3 4 for SRAM or pins 1 3 and 2 4 for Flash This jumper also allows the board to boot from the expansion socket This is usef
22. nvironments requiring fail safe performance such as in the operation of nuclear facilities aircraft navigation or communication systems air traffic control direct life support machines or weapons systems in which the failure of our hardware or software could lead directly to death personal injury or severe physical or environmental damage 11 Limited Warranty Flashlite 186 User s Manual JK microsystems Table of Contents Limited WA a 11 Table OL COMES A A ar A A RE 111 IE 2 ee ee Rai sea 1 EEES a see een A A IAS 1 O A is 2 GellineStarled Bis ian Taek i ee see 3 Hardware see aerate dod Deas sated 5 Memory Conn curation a el 5 VO Confeuraton cette lead ea 5 DieitalVO Poris rear sa A en ee 5 Driving Loads withthe Ports na ee a 6 Programming the PIS her 7 Asynchronous Seral Pos ii uehe 8 RS ASI COnheurali n A ee ee BES 8 Watchdog mty A A ada 9 WTS OG a si is aS E VR Gasp eden 9 UPS A aie ties A esta eds olds a a ede A ele etl o a a 10 JP1 Socket Memory Type Boot Memory Location oooocccnononocononcnononononcnonccnnncnnnccnn conos 10 JP2 Serial Port O Seleets u aaa 10 Cables and Comneelors un an Ehe 10 Softwa E nase Neid Eee 13 supported PE BIOS FUESE een 13 Driver Library aussen Reis 13 O 14 A leslekustniedeiln 14 DOWN CM EE Eo 14 FORMAT COM ee en ee ea 15 EDIECOM ae a e a 15 DOSE a sei cea tad ba O el AE 16 XDOS Command Reference 2 2 16 QuickBASIC PowerBASIC Console TO a 19 Specificato ae age nae es 20 Con
23. opyright O JK microsystems Inc All rights reserved Printed in U S A Document Part No 94 0025 Published October 2004 JK microsystems Flashlite 186 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 JK microsystems obligation under this warranty is limited to repairing or replacing at JK microsystems option any unit returned to the factory within 90 days of the date of purchase provided that JK microsystems determines that the unit is defective and has been used in compliance with the terms of this warranty If the failure has been caused by misuse neglect accident or abnormal conditions of operation repairs will be billed at a nominal cost The foregoing warranty 1s exclusive and in lieu of all other warranties expressed or implied including but not limited to any warranty of merchantability or fitness for any particular purpose JK microsystems shall not be liable for any special incidental or consequential damages whether in contract tort or otherwise Important Notice Life Support Mission Critical Applications This product is not fault tolerant and is not designed manufactured or intended for use or resale as on line control equipment in hazardous e
24. tact Information nim eredo A A aed ae 22 Table of Contents 111 JK microsystems Flashlite 186 User s Manual Flashlite 186 User s Manual JK microsystems Overview The Flashlite 186 single board computer is based on the RDC R8822 microcomputer The R8822 1s 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 High endurance flash memory eliminates EPROM programming without worry of damaging the onboard non volatile memory with repeated program cycles Applications are uploaded directly into the flash disk Expansion options provide high capacity flash storage eliminating the size and reliability problems associated with electro mechanical storage devices Software development for the Flashlite 186 is remarkably simple and quick 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 the X Modem protocol The application can then be tested and debugged through the serial console When the application is running to your satisfaction the startup batch file can be modified so that the application will load and execute upon reset or powerup Features 33MHz RDC 8822 Processor
25. timer The watchdog is configurable to generate either a NMI or a processor reset When enabled software must keep the watchdog timer from timing out indicating proper operation If the watchdog timer expires the configured action will be taken The watchdog signal is not available external to the R8822 so a full board reset is not possible DiskOnChip M Systems DiskOnChip is a high performance single chip Flash Disk The DiskOnChip has become the standard Flash Disk module for Embedded Single Board Computers The DiskOnChip is a Flash Disk in a standard 32 pin DIP package that has built in TrueFFS True Flash File System technology allowing full read write disk emulation TrueFFS provides hard disk compatibility at both the sector and file level The Flashlite currently supports the 8Meg Millennium DiskOnChip MD2800 D08 with version 4 2 or earlier firmware Other DiskOnChip capacities will function if they are loaded with the correct firmware however M Systems will not guarantee that the older firmware will continue to be supported on parts other than the MD2800 Install the DiskOnChip module in the memory expansion socket U6 Note the location of pin 1 Set the Memory Type jumpers JP1 for Flash memory If the DiskOnChip is installed and functioning there will be an installation message that is displayed during the boot process and a C drive will be available to DOS Bios Version 2 0 for Flashlite 186 DOC Socket Services Versio
26. tions Equipment DCE for direct connection to a computer or terminal This port is configured as a 3 wire RS 232 port implementing RxD and TxD The Serial Debug Console port does not make use of a hardware UART It is intended for console and debugging purposes only and should not be used in a design requiring high data throughput Its design generates an interrupt for each bit of serial data and puts a large load on the processor when data is being received Driver functions for Serial O and Serial 1 are available in the cspp com TSR and related LIB and H files located in the Flashlite186 drivers subdirectory on the utilities CD Please refer to the RDC R8822 User s Manual for specific information on the serial ports and their configuration RS 485 Configuration The Serial O port of the Flashlite can be configured and used for RS 485 communications To configure Serial 0 as RS 485 move the jumper on JP2 to the 1 2 location RS 485 signals are present on pins 1 and 2 of J5 The RTS line on Serial O is used to control the RS 485 transmitter Library functions are available for use with RS 485 in the supplied driver The RS 485 driver is internally looped back Characters transmitted will appear in the UART receiver This condition is inherit with the RS 485 implementation and may present user applications implications 8 Hardware Flashlite 186 User s Manual JK microsystems Watchdog Timer The R8822 is equipped with a watchdog
27. to run on drive B is not loaded This insures that a hung application or quiet console can always be interrupted If the CNTL C flag is not set the AUTOEXEC file will attempt to transfer control to a file named STARTUP on drive B DOS also looks for and if present loads CONFIG sSYS from drive B 4 Getting Started Flashlite 186 User s Manual JK microsystems 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 This memory can be accessed by reprogramming the chip select unit During the boot process the BIOS is copied from flash into the top of RAM The BIOS executes out of RAM After the BIOS is copied the flash is removed from the memory map with the exception of a 64k window starting at segment F000 This allows the reset procedures to work properly while maintaining user access to peripherals mapped in the higher portion of memory When a request for data on drive A or B is processed the flash is mapped in to the top 512k of memory the drive read then mapped out again If present the DiskOnChip occupies an 64k block of memory starting at segment E000 hex I O Configuration The R8822 internal peripherals UARTSs counter timers and interrupt controller are not PC compatible or located at their tradition
28. ul when performing field updates of the on board Flash memory or when using an operating system other than DOS Jumper pins 5 7 and 6 8 to boot from the on board memory or jumper pins 7 9 and 8 10 to boot from the expansion socket Default position 1 3 and 2 4 Flash memory expansion 5 7 and 6 8 Boot from on board flash JP2 Serial Port 0 Select This jumper selects the drivers and header that will be used for the Serial O signals Serial O can be jumpered as half duplex RS 485 TTL RS 232 Rx and Tx or RS 232 Rx Tx RTS CTS DCD Install the jumper at location 1 2 for RS 485 signals on J5 3 4 for TTL RS 232 signals on J5 or 5 6 for RS 232 signals on J10 Default position 5 6 RS 232 Levels on J10 NOTE Only 1 jumper may be installed on JP2 Cables and Connectors The following tables show the signal name direction for each connector pin NOTE N C indicates no connection and PULLUP indicates a 1k ohm pullup resistor to Vcc Outputs are driven by the board and received by a peripheral Inputs are driven by a peripheral and received by the board Serial O is configured as a DTE port and is generally used to communicate with a peripheral device Serial 1 is configured as a DCE port generally being used to connect the Flashlite to another computer Serial Debug is configured as a DCE port generally being used to connect the Flashlite to another computer Pin one has a square PCB pad and the others are round This should be v

Download Pdf Manuals

image

Related Search

Related Contents

Visualizza versione stampabile in PDF  ANC-6085 RS232/RS485/RS422 AutoXmit Adapter  30" Wide-Format LCD-TV  Type D9 - Ellermeyer  View / the Complete Manual  k213 vision turret  

Copyright © All rights reserved.
Failed to retrieve file