background image

5

µFlashTCP-EP 

 

User’s Manual

JK

 

microsystems

Hardware

Memory Configuration

The 386Ex processor is initially configured in real mode with a physical address space of 1
megabyte.  The SRAM 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 in the 386Ex or by entering protected
mode.

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 out of flash, the flash is removed from the memory map
with the exception of a small window near the 1 meg boundary. 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 B: is processed, the flash is mapped in, the drive read,
then mapped out again. If present, the DiskOnChip occupies a block of memory starting at
segment E000 hex.

I/O Configuration

The 386Ex is configured for enhanced DOS mode.  This mode provides access to the PC/AT
peripherals such as UARTs, counter/timers, and the interrupt controller at their traditional I/O
port addresses.  Other 386Ex peripherals are accessible in expanded I/O space.

For addressing and programming the peripherals specific to the 386Ex, please refer to the Intel
386Ex Embedded Microprocessor User’s Manual (Intel document number 272485-002).  The
manual is available in PDF format from our web site at http://www.jkmicro.com

Digital I/O Ports

The µFlashTCP-EP has 2 ports controlling a total of 10 bits of I/O.

386Ex Port 1

 bits 4,5,6 and 7, I/O Address F860 and F862 hex

These signals are available on J5.  The data on Port 1 can be read from I/O address F860 hex.
The default configuration is input.  Each bit of Port 1 can be individually configured as an input
or output. To configure a bit for output, write a zero in that bit position to I/O address F864 hex.
To output data on Port 1, write the data to I/O address F862 hex.

P1PIN:

F860h, Port Pin Status Register (read only), bits 4-7

P1LTC:

F862h, Port Latch Register, bits 4-7

P1DIR:

F864h, Port Direction Register, bits 4-7, 0 for output, 1 for input or open

drain output.

P1CFG:

F820h, Port Configuration Register, bits 4-7 low, route P1.4-P1.7 to chip
pins (BIOS Default)

Hardware

Содержание 89-0040

Страница 1: ...µFlashTCP EP User s Manual ...

Страница 2: ......

Страница 3: ...tems 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 t...

Страница 4: ...abnormal conditions of operation repairs will be billed at a nominal cost The foregoing warranty is 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 Importan...

Страница 5: ...1 RS485 Termination 10 JP2 3 COM1 Voltage Levels 11 JP5 RS 485 Transmit Enable Select 11 JP6 Socket Memory Type Boot Memory Location 11 Cables and Connectors 11 Table 2 Cable Specifications 11 Table 3a Power Connector Pinout 12 Table 3b Multi I O Pinout 12 Table 3c General I O Pinout 12 Applications 13 Supported PC BIOS Functions 13 Utilities 14 UP COM 14 DOWN COM 14 FORMAT COM 15 EDIT COM 15 DOS ...

Страница 6: ...JKmicrosystems µFlashTCP EP User s Manual iv ...

Страница 7: ...XE or COM form it is uploaded to the µFlashTCP EP s flash disk with your favorite telecommunications program using the X Modem protocol The application can then be tested and debugged through the console serial port 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 These features yield a q...

Страница 8: ... is reset the board goes through its initialization procedure and then starts DOS A simple 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...

Страница 9: ... be changed or reformatted After you have looked at the programs on the µFlashTCP EP the next step is to try to upload a file This is the procedure for getting a file from your PC to the µFlashTCP EP On the µFlashTCP EP type the command UP followed by the name of the file you wish to upload The µFlashTCP EP will begin sending characters to your PC polling it for the file On your PC start the trans...

Страница 10: ...te of the console 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 to run on drive B is not loaded This insures that a hung application or quiet console can always be interrupted Running QUIET will turn off both input and output on the console port allowing applications to use it as COM2 The QUIET flag is only read durring ini...

Страница 11: ... DOS mode This mode provides access to the PC AT peripherals such as UARTs counter timers and the interrupt controller at their traditional I O port addresses Other 386Ex peripherals are accessible in expanded I O space For addressing and programming the peripherals specific to the 386Ex please refer to the Intel 386Ex Embedded Microprocessor User s Manual Intel document number 272485 002 The manu...

Страница 12: ...rts REM LED TheµFlashTCP EP is equipped with an LED that can be controlled by user software This LED is tied to Port 3 bit 0 Writing a one to this bit will turn the LED on a zero will turn it off This port must be explicitly programmed as an output See the section on Port 3 for I O locations and programming of this port Programming the Ports The I O ports are mapped into the 386Ex I O space Using ...

Страница 13: ...tains the low byte and IER contains the high byte To determine the required divisor divide 115200 by the required baud rate Program the divisor with the nearest integer value When access to the divisor value is no longer required clear the DLA bit 7 6 5 4 3 2 1 0 Base Receive Transmit Holding Register Divisor Latch Low DATA Data In Data Out Base 1 Interrupt Enable Register IER 0 0 0 0 Modem Status...

Страница 14: ...X_MASK enable transmitter outportb TX_MASK_REG inportb TX_MASK_REG TX_MASK disable transmitter The RS 485 driver is internally looped back Characters transmitted will appear in the UART receiver Software will need to be written to handle this condition Two utility programs are available to aid RS 485 development 485RX accepts RS 485 data and displays it on the console 485TX accepts console data an...

Страница 15: ...d by setting bit zero of the WDTEN register at F4CAh Please refer to the Intel 386EX Embedded Microprocessor User s Manual for more information Ethernet The Ethernet port is a 16 bit design that supports direct connection to a 10BASE T network jumperless configuration and NE2000 software compatibility The controller has a default base address of 300 hex and IRQ9 using full duplex twisted pair wiri...

Страница 16: ... Flash File System technology allowing full read write disk emulation TrueFFS provides hard disk compatibility at both the sector and file level Drives with capacities from 8 to 144 Mbytes are available Drives larger than 32 Mbytes require partitioning to allow XDOS to access the entire drive Install the DiskOnChip module in the memory expansion socket U4 Note the location of pin 1 Set the Memory ...

Страница 17: ...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 Cables and Connectors Proper cabling is required for optimal performance of the µFlashTCP EP and for compliance with EMI and EMC regulations The following table summarizes the recomended cable type and length...

Страница 18: ...s are round This should be visible 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 whe...

Страница 19: ...ask Name Server address DNS and Gateway address This information will be required during the configuration process Other types of LANs require node names workgroup names etc Proceed cautiously networks can be easily disrupted when nodes are added without careful configuration Supported PC BIOS Functions The Flashlite BIOS supports the following functions software interrupts common to PC compatible...

Страница 20: ...e current drive Be sure that B is the current drive or a write protect error will occur when 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 CCCC B DOWN COM This utility facilitates downloading files from the µFlashTCP EP via the...

Страница 21: ...ation 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 The n...

Страница 22: ...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 the default dri...

Страница 23: ... include system and hidden files in output 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 PROMPT Function Sets the DOS system prompt Format PROMPT text Text Resulting Character s t The current time stored by DOS d ...

Страница 24: ... 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 VER Function Displays the DOS version number Format VER VOL Function Displays the volume label of specified drive Format VOL d DOS ...

Страница 25: ...an INPUT statement will not echo the data entered by the user To work around this problem we have added a feature which allows the application to enable a console echo function in the BIOS This feature is enabled by setting the byte at 40 8Ah to a one Likewise the local echo is disabled by setting 40 8Ah to a zero The following BASIC code demonstrates both of these workarounds start OPEN o 1 cons ...

Страница 26: ...facturer could result in violation of Part 15 of the Federal Communications Commissions rules The FCC has prepared the following booklet How to Identify and Resolve Radio TV Interference Problems It is available from the US Government Printing Office Washington DC 20402 Stock Number 004 00 00345 4 Notice for Canada This Class B digital apparatus complies with Canadian ICES 003 Cet appareil numériq...

Страница 27: ...densing I O Port Characteristics Symbol Parameter MIN MAX Units Condition VIL Input Low 0 3 0 8 V VIH Input High 2 0 Vcc 0 3 V VOL Output Low 0 45 V IOL 8mA VOH Output High Vcc 0 5 V IOH 8mA Mechanical Dimensions 3 6 x 4 3 x 1 75 without baseplate 91 4mm x 109 2mm x 44 5mm 4 6 x 4 3 x 1 8 with baseplate 116 8mm x 109 2mm x 45 7mm Weight 12oz 340gm Specifications ...

Страница 28: ...kOnChip 2000 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 1 4 30AUG01 EW Add change log Fix JP1 default location closed Fix JP5 pin definition was 1 2 RTS control 1 5 12SEP01 EW Supply Voltage was 9 34 VDC Operating Temperature was 40 to 70 C 1 6 1MAY02 EW JP4 not a user jumper fixed loca...

Отзывы: