background image

Connectors and Jumpers

Hardware

1-7 

 FIGURE 1.6

JP9: User-Definable Input Jumper/Switch (I/O address 38Eh)

1.5.9 RS-485 Option Jumper (JP10)

JP10 is a jumper which configures COM1 as RS-232 (J5) or RS-485 (J1). NOTE: The RS-485 option is not
available on all revisions of the CA386-N1, including revision B. JP10 is not present on revision B, and
COM1 is available on both J5 and J1 as RS-232.

 FIGURE 1.7

JP10: RS-485 Option Jumper

1.5.10 Asynchronous Serial Communications: COM1, COM2 (J1, J2, J5)

The CA386-N1 has two serial ports: 1 RS232 and 1 RS232 or RS485. One is connected to a female DB9 connec-
tor (J5). Both are accessible via header connectors (J1, J2). J1 and J2 are designed to connect directly via a 10-
pin ribbon-cable to a DB9 connector. Figure 1.8 shows the pin-outs for these connectors with COM1 configured
for RS232.

1

JP9

DI0

DI1

DI2

DI3

DI4

DI5

DI6

DI7

GND

GND

GND

GND

GND

GND

GND

GND

1

1

JP10

JP10

RS-232

RS-485

(Default)

Summary of Contents for CA386-N1

Page 1: ...CA386 N1 Networked Embedded PC REFERENCE MANUAL AESTHETICS INC VERSION 1 0 ...

Page 2: ......

Page 3: ......

Page 4: ...e availability and suitability of its product or products for use intended Use duplication or disclosure by the United States Government is subject to restrictions as set forth in subparagraph c 1 ii of the Rights in Technical Data and Computer Software clause at CFR 52 227 7013 Coactive Aesthetics Inc 4000 Bridgeway Suite 303 Sausalito CA 94965 Trademarks Motorola is a registered trademark of Mot...

Page 5: ...4 Covers CA386 N1 Hardware Revision C Programming the CA386 N1 Version 1 0 Coactive Aesthetics 4000 Bridgeway Suite 303 Sausalito CA 94965 415 289 1722 415 289 1320 FAX info coactive com Email http www coactive com WWW ...

Page 6: ......

Page 7: ...ble Input Jumper Switch JP9 6 1 5 9 RS 485 Option Jumper JP10 7 1 5 10 Asynchronous Serial Communications COM1 COM2 J1 J2 J5 7 1 5 11 PC 104 Bus J3 J4 9 1 5 12 I O Ports J6 9 1 5 13 Power Connectors J7 J10 11 1 5 14 Serial Peripheral Interface SPI J8 11 1 5 15 SIMM Memory Socket U9 12 1 6 Parts Listing 12 1 7 Mechanical Information 15 Chapter 2 DOS Programming 2 1 Introduction 1 2 1 1 Related Docu...

Page 8: ... A2 Address Window 11 2 6 9 e A L Erase Sectors 12 2 6 10 d A L Display Memory 12 2 6 11 j A Set Jump Address 12 2 6 12 b n Set Baud Rate 12 2 6 13 a n Auto Erase 12 2 6 14 v n Verify Mode 12 2 6 15 s Show Status 13 2 6 16 r Reboot 13 2 7 Flash Disk Organization and Programming 13 2 7 1 ROM Disks 14 2 8 Peripherals 14 2 8 1 Serial Ports 15 2 9 Troubleshooting 15 2 9 1 Communicating with the CA386 ...

Page 9: ...t are also included at the end of the chapter Figure 1 1 is a simplified block diagram of the CA386 N1 FIGURE 1 1 CA386 N1 Block Diagram STATUS LEDs NETWORK SERVICE PUSHBUTTON RS 232 COM1 RS 232 COM2 512K FLASH EPROM 256K to 4MB RAM INTERNAL PWR 78kB or 1 2MB TWISTED PAIR TRANSCEIVER NEURON 3120 PROCESSOR SPI INTERFACE 3 0V CLOCK BATTERY OPTIONAL REAL TIME CLOCK i386EX MICROCONTROLLER I O CONNECTO...

Page 10: ...umption nominal 500mA 5VDC Power Connector 5 wire 5 08mm removable plug screw terminal Network Connector 2 wire 5 08mm removable plug screw terminal or dual RJ45 jacks Dimensions 4 10 2mm x6 25 15 9mm x approximately 1 2 Operating Temperature 0 70 C 1 3 Related Documentation The following documents are useful for a full understanding of the CA386 N1 system Intel386EX Embedded Microprocessor Hardwa...

Page 11: ... providing an internal power supply or converter in an enclosure 1 5 Connectors and Jumpers 1 5 1 Overview Figure 1 2 shows the locations of all the connectors and jumpers on the CA386 N1 The following sections describe each jumper and connector in detail Note that each connector or jumper shown below is oriented such that the power and network connectors J7 J9 are at the top of the board Also not...

Page 12: ...Connectors and Jumpers 1 4 CA386 N1 REFERENCE MANUAL FIGURE 1 2 CA386 N1 Parts Locations C JP10 ...

Page 13: ... Signal Generation Jumper JP4 Shorting JP4 produces the NMI signal for the i386EX CPU The default position of this jumper is open 1 5 6 DMA Channel Selection for PC 104 Bus JP5 JP6 The PC 104 Bus supports 8 DMA channels but the CA386 N1 can only support one of these eight The JP5 and JP6 jumper blocks determine which of the eight DMA channels on the PC 104 bus is selected Jumper Run Flash Loader R...

Page 14: ... 1MB and 4MB FIGURE 1 5 JP7 JP8 Memory Size Configuration Jumpers 1 5 8 User Definable Input Jumper Switch JP9 JP9 is an optional jumper switch which may be used as an application specific configuration input for example JP9 may be used to define a hardware level network address By default this jumper is unconnected and not used o o o o DACK1 DACK7 DACK0 DRQ7 JP6 o o o o DRQ0 1 JP5 default positio...

Page 15: ...oth J5 and J1 as RS 232 FIGURE 1 7 JP10 RS 485 Option Jumper 1 5 10 Asynchronous Serial Communications COM1 COM2 J1 J2 J5 The CA386 N1 has two serial ports 1 RS232 and 1 RS232 or RS485 One is connected to a female DB9 connec tor J5 Both are accessible via header connectors J1 J2 J1 and J2 are designed to connect directly via a 10 pin ribbon cable to a DB9 connector Figure 1 8 shows the pin outs fo...

Page 16: ... 8 shows the pin out for COM1 J1 when configured as RS 485 FIGURE 1 9 J1 J2 J5 RS 232 and RS 485 Communications 1 1 1 J5 J1 J2 Female DB9 GND Tx Rx COM2 COM1 COM1 DB9 Connections 2 Tx 3 Rx 5 GND Connector UNUSED 1 1 1 J5 J1 J2 Female DB9 Tx_high Rx_high COM2 COM1 Connector Tx_low Rx_low GND Tx Rx UNUSED ...

Page 17: ...onnector compatible with many industry standard I 0 racks The I O signals from this connector are all TTL level Figure 1 10 shows the signals on connector J6 Sample I O racks that can be interfaced to J6 include Dataforth 1 800 444 7644 Part SCMD PB8 IOMation 617 255 8100 617 255 8181 FAX Part DB 16 OPTO 22 909 695 9299 909 695 2712 FAX Part PB8H PB16H CA386 1 Rev C PC 104 CA386 N1 Rev B PC 104 IR...

Page 18: ...D GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND 5V DC N C N C N C N C N C N C Timer Gate 2 Timer Clk 2 Timer Out 2 Timer Gate 1 Timer Clk 1 Timer Out 1 N C Timer Clk 0 Timer Out 0 DIO7 Port 1 Pin 7 DIO6 Port 1 Pin 6 DIO5 Port 1 Pin 5 DIO4 Port 1 Pin 4 DIO3 Port 1 Pin 3 DIO2 Port 1 Pin 2 DIO1 Port 1 Pin 1 DIO0 Port 1 Pin 0 5V DC ...

Page 19: ... pin header connector See Section 1 4 Power for a description of the use of these sig nals FIGURE 1 11 J7 J10 Power Connectors 1 5 14 Serial Peripheral Interface SPI J8 The SPI port of the i386EX is available through connector J8 FIGURE 1 12 J8 SPI Port J10 1 J7 5 08mm removable screw terminal 5V Gnd 12V 12V Vin 1 Vin Gnd 5V 12V 12V 1 J8 SPI Pin 1 STXCLK Pin 2 SRXCLK Pin 3 SSIOTX PIN 4 SSIORX ...

Page 20: ...7 C38 18 pF 100V monolithic C31 220 pF cap C44 C45 1000 pF cap C46 1000 pF 2KV U16 Option Only C1 10 C12 18 C25 30 C32 36 C39 43 C47 0 1uF Bypass Caps C11 10uF Electrolytic 16V C19 24 C48 C49 22 uF Electrolytic 35V R1 R2 R11 33 Ohm resistor R23 270 Ohm resistor R8 R9 R12 330 Ohm resistor R3 R7 R10 R13 14 R19 R21 R24 30 R32 10K Ohm resistor R31 47K Ohm resistor Y1 10 MHz XTAL X2 14 318 MHz XTAL X1 ...

Page 21: ...JP6 7x2 1 jumper header JP9 8x2 1 jumper header JP10 1x3 1 jumper header S2 Momentary push button S1 16 pin address DIP switch S1 ALT 8x2 1 jumper header J3 8 bit PC 104 Connector 2x32 1 Female Socket J4 16 bit PC 104 Connector 2x20 1 Female Socket J6 25x2 1 header J1 J2 4x2 1 header J8 4x1 1 header J7 5 08mm Wiedmuller Screw Terminal J7 Mate Mate for J7 connector J10 1x5 15 header J5 Female DB9 S...

Page 22: ... MHz U11 Fox RTC 72423 TRANSCEIVERS U14 TPT XF 78 78K TP LonTalk Transceiver or TP XF 1250 1 25M TP LonTalk Transceiver U16 FTT 10 78K Free Topology LONTalk Trans ceiver U10 MAX233 MEMORY U9 HB56A48A 8 Hitachi SIMM memory or equivalent U8 AM29F400 T120 LOGIC U13 MC34064D 5 U2 MACH120 U12 74ACT244 U4 74ACT16245 U5 U6 U7 74ACT157 U3 74ACT14 Reference Designation Description TABLE 1 5 CA386 N1 Parts ...

Page 23: ...chanical Information Hardware 1 15 1 7 Mechanical Information Figure 1 13 below shows the mechanical specifications for the CA386 N1 NOTE LED parts may vary FIGURE 1 13 CA386 N1 Mechanical Specifications ...

Page 24: ...Mechanical Information 1 16 CA386 N1 REFERENCE MANUAL ...

Page 25: ...opics related to programming the CA386 N1 the reader is referred to the following docu ments For PC 104 IEEE P996 Specification and P996 1 Standard for Compact Embedded PC Modules Hosted Node SDK HN SDK Reference Manual Coactive Aesthetics Inc 2 2 Quick Start This section provides a brief overview of programming the CA386 N1 Following the steps in this section the reader will be able to install th...

Page 26: ...s for WorkGroups Microsoft C compiler version 8 00c or later installed on the PC Serial cable DB9 Male to your PC for connecting CA386 N1 COM1 with the PC 5V DC 1 0A power supply for the CA386 N1 2 2 3 QuickStart Steps 2 2 3 1 STEP 1 Install Companion Diskette The CA386 N1 Companion Diskette contains example programs HEX files and utilities for programming the CA386 N1 Install this disk onto your ...

Page 27: ...d see the DOS prompt of the CA386 N1 If not see Section 2 9 Troubleshooting On the CA386 N1 run the TRANSFER EXE program with the following arguments c transfer r E hello exe Hit the PgUp key This will cause COMM EXE to prompt for the filename on the desktop PC to be downloaded to the CA386 N1 F1 will bring up the help screen of all commands Enter the file name hello exe Upload which file ca386 ex...

Page 28: ...all read and write functions available However since it is RAM based information is not maintained between power cycles of the controller A convenient use of the RAM disk is during development Applications and other files can be copied down loaded to the RAM Disk and executed directly Once an application is developed and tested it can be copied from the RAM Disk to Flash for persistent storage see...

Page 29: ...CA386 N1 target the serial disk will be available You can access it just as any drive Note that since the DIR command computes the size of the drive it can be slow over the serial disk The utility LS for listing directories is supplied with the CA386 N1 as a faster alternative to DIR when using remote serial disks 2 3 4 Development under DOS For DOS developers or those who only have a single seria...

Page 30: ...rovided on the CA386 N1 Companion Diskette as well as pre installed on the C drive of the CA386 N1 This program can be used to upload and download files between the CA386 N1 and the desktop PC For the full set of commands and options run TRANSFER EXE with no arguments to see a help screen ...

Page 31: ...FFFFF 100000 0FFFFF DOS Application RAM DOS Application RAM 000000 03FFFF 256K 09FFFF 640K 0BFFFF 0A0000 0C0000 Unused RAM 0EFFFF 0F0000 C ROM Disk 192K available with all SIMM options available with 1M and 4M SIMMS available with 1M and 4M SIMMS present with all SIMM options BIOS system boot present with all SIMM options 3FC0000 3FFBFFF 3FFC000 3FFFFFF D ROM Disk 240K available with all SIMM opti...

Page 32: ...the user as I O lines DIO0 DIO7 on J6 This port has three configuration registers and one status register associated with it The status register can be set as follows P1CFG 0xf820 This should always be set to 0x00 to use PORT1 as a digital I O port P1DIR 0xf864 This selects the direction and function of a bit Setting a bit in this register to 1 sets the corresponding I O to either an input or an o...

Page 33: ...f jumper JP1 is shorted The console port for the Flash loader is COM1 On start up the Flash loader will display the following banner via COM1 ABC Flash loader Copyright 1995 Coactive Aesthetics Inc BFC4FC 230929 FL 2 6 1 General The Flash loader processes one line at a time Either backspace or delete will delete the last character typed and esc will discard the entire line Initial spaces or tabs o...

Page 34: ... HEX file to the CA386 N1 Flash memory Short jumper JP1 during power up Start the Windows program TERMINAL EXE or equivalent with the following settings Set the port to be the one connected to COM1 on the CA386 N1 Set baud 9600 8 bits no parity Text downloads in Line By Line mode Wait for FL Boot the system The Flash loader should start up optional Type b 19200 to the loader Execute Settings Commu...

Page 35: ...is dis played Note that the error count is not incremented in this case 2 6 7 m A1 A2 Address Remapping The m command takes two addresses A1 and A2 Writes to the first address are mapped to the second address A1 may be greater than or less than A2 For example m C0000 80000 will map writes to C000 0 the DOS ROM disk to 8000 0 Since the Flash will be shifted in memory when ROM DOS is run location 80...

Page 36: ...rd If this has been encountered in the HEX file this value can been seen in the status display as the hex load start address NOTE This value may be incorrect Many HEX files contain an invalid start address For ROM DOS the value B000 0 should be used For iRMX the value 8000 100 should be used This command is not present in some versions of the Flash loader program i e hardware locked 2 6 12 b n Set...

Page 37: ...nabled Note that the error count is reset to 0 after an s command 2 6 16 r Reboot The r command will reboot the processor If JP1 is shorted the Flash loader will be re initialized and re started If JP1 is not shorted the application program will be executed 2 7 Flash Disk Organization and Programming There are two methods provided for writing data to the CA386 N1 s Flash file system 1 copying regu...

Page 38: ... drives to the C_DISK and D_DISK directo ries respectively under ca386 rdos or wherever you installed the Companion Diskette Run the DISK_IMG BAT script in the ca386 rdos directory This will create various HEX files which can be downloaded to create new ROM Disks and O S s See the readme file in ca386 rdos for a description of all the options for the DISK_IMG BAT script Follow the instructions for...

Page 39: ...the COM port of the desktop PC you are using with your terminal program Is the CA386 N1 powered Is the COM port you are using from the desktop PC s terminal program connected to COM2 of the CA386 N1 DOS console port with a straight through cable Is the COM port you are using in use by another application The COMM EXE program will NOT com plain in this case it will just not work Make sure other app...

Page 40: ...3 After Downloading a new ROM Disk I power cycle and do not get the DOS prompt The DOS console on the CA386 N1 is COM2 header J2 Make sure this is what you are connected to Make sure JP1 is not shorted If shorted only the Flash loader will run using COM1 ...

Reviews: