background image

Memory Map After Power-up/Reset

After reset the upper chip select UCS is enabled with the entire

64MB memory address space as its address block. This allows the

boot monitor program to run from the top of  memory. By default

the monitor program will run in real mode, the UCS register is then

programmed by the monitor software to assert the Flash ROM chip

select at addresses from 80000h to FFFFFh (512KB).

The state of LK19 tells the monitor whether to run itself or the user’s

application code. Application code must always start running from

address 80000h (bottom of Flash ROM). Having the Flash ROM

occupy this much of the memory map may obscure areas of the

memory map required by PC/104 or STEbus peripheral boards. If

this is the case then the application code can be written to re-

program the start address of  UCS, while it is running to effectively

limit the size of the Flash ROM. Code should be written to jump into

the reduced Flash ROM area and then to re-program UCS for the

new size. 

Memory space between the bottom of ROM and the top of main

RAM (location selected by CS0) will be automatically mapped to the

default expansion bus (STEbus or PC/104 depending on bit 2 of

General Control Register 1). CS3-6 can be programmed to direct

accesses to the non-default bus.  CS1 decodes the on-board address

of the 16/32KB Dual Port RAM, this is fully re-locatable.

Note: when running the monitor software on 512KB RAM variants

of  board the extra 256KB of RAM is not accessible until chip select

CS0 is re-programmed because in order to gain access to STEbus or

PC/104 bus or the on-board DPR located by CS1, either the bottom

of the Flash ROM area must be moved up the memory map by

programming UCS or the top of the on-board main RAM must be

moved down by programming CS0. 

2192-08270-000-000

Section 4. Using the TARGET386EX

J539 TARGET386EX

Page 19

All manuals and user guides at all-guides.com

Summary of Contents for TARGET386EX

Page 1: ...nstallation Monitor Startup 9 Section 3 Links and Options 11 Default Link Positions 11 User Configuration Record 15 Section 4 Using the TARGET386EX 17 Programmable Memory and I O Map 17 Memory Map After Power up Reset 19 I O Map After Power up Reset 20 On Board Control Registers 21 User Links and LEDs 22 Interrupt Assignments 23 2192 08270 000 000 J539 TARGET386EX Page 1 TARGET386EX User Manual Al...

Page 2: ...A Specification 29 Appendix B Connections 31 Appendix C Reference 35 The STEbus and the TARGET386EX 35 The PC 104 and the TARGET386EX 36 STEbus and PC 104 interaction on the TARGET386EX 36 Appendix D Bibliography 39 Appendix E Product Issue Changes 41 Appendix F Circuit Diagrams 43 J539 TARGET386EX 2192 08270 000 000 Page 2 All manuals and user guides at all guides com ...

Page 3: ...he manual Manual Issue Comments Copyright Arcom Control Systems Ltd 1996 The choice of boards and systems is the responsibility of the buyer and the use to which they are put cannot be the liability of Arcom Control Systems Ltd However Arcom s sales team is always available to assist you in making your decision All manuals and user guides at all guides com ...

Page 4: ...J539 TARGET386EX 2192 08270 000 000 Revision History Page 4 All manuals and user guides at all guides com ...

Page 5: ...he engineers are busy please leave a message or alternatively send a facsimile message Please state Your name telephone and facsimile numbers The time and date The product name The problem Arcom Customer Support Tel 01223 412428 Fax 01223 410457 For US callers Tel 816 941 7025 For US callers Fax 816 941 0343 Internet support arcom co uk sales arcom co uk Arcom Main Switchboard Tel 01223 411200 Fax...

Page 6: ...GET386EX Anti Static Handling This board contains CMOS devices which could be damaged in the event of static electricity being discharged through them At all times please observe anti static precautions when handling the board and always unpack and install it in an anti static working area Electromagnetic Compatibility EMC The TARGET386EX is classified as a component with regard to the European Co...

Page 7: ...power LED JTAG port supporting Flash ROM programming The TARGET386EX is available as four variants This manual covers all four variants and indicates where a feature does not apply to the Single Board Computer SBC variants The TARGET386EX is shipped with a software monitor blown into the on board Flash ROM to allow simple exercising of the board and downloading of application code The remote targe...

Page 8: ...J539 TARGET386EX 2192 08270 000 000 Section 1 Introduction Page 8 All manuals and user guides at all guides com ...

Page 9: ...6EX Development Kit take the CAB SVIF1 cable and plug the 10 pin ribbon cable connector into the SVIF1 PL2 header 3 Plug PL1 of the SVIF1 into PL3 software development download port on the TARGET386EX The body of the SVIF1 should lie over the TARGET386EX 4 Ensure that Link 19 is fitted so monitor EPROM is activated 5 For STEbus variants slide the TARGET386EX into the STEbus rack until it mates wit...

Page 10: ... used to exercise many areas of the board The monitor also supports code download from a terminal emulator and Flash ROM programming Press the H key to display a command list A full manual for operating the monitor is shipped with the TARGET386EX Section 4 Using the TARGET386EX describes the operation of the board in more detail and describes the tools available to develop applications code to run...

Page 11: ...Note A next to a link position indicates the default shipping position LK1 STEbus timeout to TFRERR STEbus VARIANTS ONLY If an STEbus transfer initiated by the TARGET386EX is not completed within a set time see LK8 then a bus timeout will occur to terminate the cycle This may be used to generate an interrupt see LK15 and LK1 allows a timeout to assert the STEbus TFRERR signal to notify other board...

Page 12: ...et to define the size of the DPR device for on board accesses See LK7 for DPR STEbus base address selection LK6 STEbus interrupt out NOT SBC VARIANTS See General Control Register 0 and Interrupt Assignments for details J539 TARGET386EX Section 3 Links and Options Page 12 LK4 LK5 Function Not valid configuration 32KB DPR 16KB DPR Not valid configuration Omit Omit Omit Fit Fit Fit Omit Fit LK6 Funct...

Page 13: ...nterrupt source selection LK12 INT2 interrupt source selection LK13 INT3 interrupt source selection 2192 08270 000 000 Section 3 Links and Options J539 TARGET386EX Page 13 LK7 Function Decode STEbus A19 Decode STEbus A18 Decode STEbus A17 Decode STEbus A16 Decode STEbus A15 Decode STEbus A14 for 32KB DPR size OMIT THIS LINK F E D C B A LK8 Function 4us bus timeout 8us bus timeout A B LK10 Function...

Page 14: ...0 Battery back up from PL2 FACTORY FIT LINK default position depends on board variant J539 TARGET386EX 2192 08270 000 000 Section 3 Links and Options Page 14 LK18 Function CPU port P1 bit 6 reads as 1 CPU port P1 bit 6 reads as 0 Omit Fit LK19 Function Run application starting at memory address 80000H Run monitor software Omit Fit LK20 Function STEbus variant VSTBY from PL1 SBC variant VSTBY from ...

Page 15: ...if an Intel 28F400 Flash device is fitted to the board The default device is a Fujitsu 29F400TA 2192 08270 000 000 Section 3 Links and Options J539 TARGET386EX Page 15 LK21 Function STEbus variant SBC variant Omit Fit LK22 Function CPU runs at 33MHz CPU runs at 25MHz Omit Fit LK23 LK24 Function Fujitsu device fitted Intel device fitted Omit Omit Fit Fit User Configuration Record A B LK18 LK16 LK12...

Page 16: ...2192 08270 000 000 J539 TARGET386EX Section 3 Links and Options Page 16 All manuals and user guides at all guides com a l l g u i d e s c o m ...

Page 17: ...cts CS3 CS4 CS5 and CS6 can be used to direct CPU accesses that would normally go to the default expansion bus to access the non default expansion bus instead This example illustrates the use of CS3 to CS6 The monitor software sets the TARGET386EX up so that the memory area from 48000h to 7FFFFh is directed to the PC 104 bus by default The user has an STEbus memory board that exists in the memory ...

Page 18: ...ibrary supplied with the Development Kit fully supports programming all the 386EX chip selects Note On SBC board variants PC 104 is the only available expansion bus Programming the chip selects that control accesses to on board Flash ROM memory and I O can also be used to move these on board peripherals around in the address map see Appendix B Reference for more details Memory Map J539 TARGET386EX...

Page 19: ...ctively limit the size of the Flash ROM Code should be written to jump into the reduced Flash ROM area and then to re program UCS for the new size Memory space between the bottom of ROM and the top of main RAM location selected by CS0 will be automatically mapped to the default expansion bus STEbus or PC 104 depending on bit 2 of General Control Register 1 CS3 6 can be programmed to direct accesse...

Page 20: ...the location of this on board peripheral control register block may be relocated to any convenient location In order to allow the maximum space for I O expansion on STEbus or PC 104 the monitor program sets this register block location up to start at FC00h PC 104 is the only expansion bus available on SBC variants J539 TARGET386EX 2192 08270 000 000 Section 4 Using the TARGET386EX Page 20 PC 104 d...

Page 21: ...ng the TARGET386EX J539 TARGET386EX Page 21 A1 1 1 0 1 0 Channel A Data Channel B Data Channel A Control Channel B Control 1 0 0 A0 Function Bit 7 Unused bits 6 5 4 3 S_INT3 2 S_INT2 1 S_INT1 0 S_INT0 Bit 7 Unused bits 6 5 4 3 Unused 2 INTOUT 1 BTOCLR 0 MBXCLR Signal S_INT3 S_INT2 S_INT1 S_INT0 Reset State 0 0 0 0 R W R W R W R W R W Description Enables 0 and disables 1 ATNRQ3 see interrupts throu...

Page 22: ...ence LK17 LK18 LK19 386EX Parallel Port Connection Port P1 bit 6 Port P1 bit 7 Port P3 bit 6 this link is used for run mode selection by the monitor Bit 7 Unused bits 6 5 4 3 INTCOM 2 DEFSTE 1 SARB1 0 SARB0 Signal INTCOM DEFSTE SARB1 SARB0 Reset State 0 0 0 0 R W R W R W R W R W Description Interrupt compatibility If set EN3 0 see interrupt Assignments are permanently low Off board cycles routed t...

Page 23: ...ne was asserted On entering the interrupt handler the software writes a 1 to bit 2 of the STEbus Control Register to disable the NOR gate associated with ATNRQ2 This causes the INT line to go low The interrupt handler then acts to clear the source of ATNRQ2 At the end of the interrupt handler the software writes a 0 to bit 2 of the STEbus Control Register 0 and re enables the NOR gate If there was...

Page 24: ...Register 0 bit 2 The ATNRQ level that is asserted is set up on link LK6 If the board is in STEbus slave mode then this interrupt out is cleared by a write access to the mailbox area of DPR from an STEbus master Note that the STEbus board variants can only drive or receive interrupts on STEbus ATNRQ0 ATNRQ1 ATNRQ2 or ATNRQ3 ATNRQ4 7 are not connected to the board The diagram over the page shows how...

Page 25: ... PC 104 peripheral boards It does not support DMA or other PC 104 masters in the same module stack Battery Back up The TARGET386EX supports battery backup of its main system SRAM via the VSTBY line on the STEbus or via pin 1 of the power connector PL2 on the SBC variant On STEbus variants a 5V source should be connected between VSTBY ve terminal and GND ve terminal on the STEbus backplane On SBC v...

Page 26: ...h the TARGET386EX Development Kit The board is shipped with the remote target portion of the system blown in the Flash ROM at board address 80000H This runs if LK19 jumper is removed before power on reset With the host portion of the SourceVIEW system running on a PC AT compatible a complete source level debugging environment can quickly be constructed Arcom can supply a range of other tools for s...

Page 27: ...l master mode If in potential master mode check that there is an STEbus default master in the system to do the bus arbitration Check that SYSRST is being driven on power up by one board only in the system Check that SYSCLK is being driven by only one board in the system Check that STEbus address range being accessed is available off board is it covered by one of the on board memory or peripheral c...

Page 28: ...2192 08270 000 000 J539 TARGET386EX Section 5 Troubleshooting Page 28 All manuals and user guides at all guides com ...

Page 29: ...timers max counter interval 1s Each counter can generate an interrupt Two user LEDs Two user links plus run monitor run application link Power monitor generates CPU reset if 5V supply drops below 4 62V 0 12V Reset button connector Expansion STEbus IEEE1000 compatible default master and bus arbiter potential master and slave modes PC 104 version 2 3 compatible 16 and 8 bit DMA and MASTER modes not ...

Page 30: ...2192 08270 000 000 J539 TARGET386EX Appendix A Specification Page 30 All manuals and user guides at all guides com ...

Page 31: ...Connector 20 way header with pinout as PL4 ispLSI Programming Connector DO NOT USE 2mm grid 10 way connector with pinout as 2192 08270 000 000 Appendix B Connections J539 TARGET386EX Page 31 nc VSTBY 5V 12V 12V GND GND 1 2 3 4 5 6 GND RD D0 D2 D4 D6 A0 CS nc 5V 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 GND WR D1 D3 D5 D7 A1 SVINT CLK 5V GND ISPEN ISPSDI nc 5V 1 2 3 4 5 6 7 8 9 10 ISPSDO I...

Page 32: ... D17 C17 D18 C18 D19 C19 D20 C20 GND SBHE A23 A22 A21 A20 A19 A18 A17 MEMRD MEMWR D8 D9 D10 D11 D12 D13 D14 D15 nc nc D7 D6 D5 D4 D3 D2 D1 D0 IOCHRDY AEN GND A19 A18 A17 A16 A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 GND A1 B1 A2 B2 A3 B3 A4 B4 A5 B5 A6 B6 A7 B7 A8 B8 A9 B9 A10 B10 A11 B11 A12 B12 A13 B13 A14 B14 A15 B15 A16 B16 A17 B17 A18 B18 A19 B19 A20 B20 A21 B21 A22 B22 A23 B23 A2...

Page 33: ...cable header for use with CAB SVIF1 in development system 2192 08270 000 000 Appendix B Connections J539 TARGET386EX Page 33 GND RST_IN 1 2 Channel A TX Channel A RTS GND Channel B CTS Channel B RX 1 2 3 4 5 6 7 8 9 10 Channel A RX Channel A CTS GND Channel B RTS Channel B TX 5 4 3 2 1 9 8 7 6 DCD RXD TXD DTR GND DSR RTS CTS RI All manuals and user guides at all guides com ...

Page 34: ...2192 08270 000 000 J539 TARGET386EX Appendix B Connections Page 34 All manuals and user guides at all guides com ...

Page 35: ... act as either an STEbus master or slave It may also be used in multi master systems The STEbus mode is controlled by on board General Control Register 1 In default master mode the board has an on board bus arbiter enabled Bus arbitration is entirely transparent to any software running on any of the masters In bus requester mode the on board arbiter is disabled and another board must contain the a...

Page 36: ...ng 16 bit transfers to 8 bit boards are automatically split into two 8 bit transfers for both memory and I O PC 104 peripherals The TARGET386EX PC 104 interface allows PC 104 expansion boards to extend bus transfers using the IOCHRDY signal and to shorten the default cycle length using ENDXFR The TARGET386EX PC 104 interface supports a subset of the PC AT interrupts These are edge triggered The TA...

Page 37: ... means that if the default on board area of any on board device conflicts with a device on the STEbus or the PC 104 bus then the chip select that controls that device can be re programmed to move the Flash ROM in the memory map For example the default size of the Flash ROM is 512KB If a PC 104 peripheral needs to exist in the address range A0000H to C7FFFH then the start address of the Flash ROM c...

Page 38: ...2192 08270 000 000 J539 TARGET386EX Appendix C Reference Page 38 All manuals and user guides at all guides com ...

Page 39: ...93 421777 France tel 81 0 120 47 88 32 Japan fax only IEEE Standard for an 8 bit Backplane Interface STEbus ANSI IEEE 1000 1987 The Institute of Electrical and Electronic Engineers Inc 345 East 47th Street New York NY 10017 USA ISBN 1 55937 002 5 PC 104 Specification Version 2 3 PC 104 Consortium P O Box 4303 Mountain View CA 94040 USA tel 415 903 8304 fax 415 967 0995 IEEE P996 Draft Standard IEE...

Page 40: ...2192 08270 000 000 J539 TARGET386EX Appendix D Bibliography Page 40 All manuals and user guides at all guides com ...

Page 41: ...Appendix E Product Issue Changes 2192 08270 000 000 Appendix E Product Issue Changes J539 TARGET386EX Page 41 All manuals and user guides at all guides com a l l g u i d e s c o m ...

Page 42: ...2192 08270 000 000 J539 TARGET386EX Appendix E Product Issue Changes Page 42 All manuals and user guides at all guides com ...

Page 43: ...Appendix F Circuit Diagrams 2192 08270 000 000 Appendix F Circuit Diagrams J539 TARGET386EX Page 43 All manuals and user guides at all guides com ...

Page 44: ...2192 08270 000 000 J539 TARGET386EX Appendix F Circuit Diagrams Page 44 All manuals and user guides at all guides com ...

Page 45: ...2192 08270 000 000 Appendix F Circuit Diagrams J539 TARGET386EX Page 45 All manuals and user guides at all guides com ...

Page 46: ...2192 08270 000 000 J539 TARGET386EX Appendix F Circuit Diagrams Page 46 All manuals and user guides at all guides com a l l g u i d e s c o m ...

Page 47: ...2192 08270 000 000 Appendix F Circuit Diagrams J539 TARGET386EX Page 47 All manuals and user guides at all guides com ...

Page 48: ...2192 08270 000 000 J539 TARGET386EX Appendix F Circuit Diagrams Page 48 All manuals and user guides at all guides com ...

Page 49: ...2192 08270 000 000 Appendix F Circuit Diagrams J539 TARGET386EX Page 49 All manuals and user guides at all guides com ...

Page 50: ...2192 08270 000 000 J539 TARGET386EX Appendix F Circuit Diagrams Page 50 All manuals and user guides at all guides com ...

Page 51: ...2192 08270 000 000 Appendix F Circuit Diagrams J539 TARGET386EX Page 51 All manuals and user guides at all guides com a l l g u i d e s c o m ...

Page 52: ...2192 08270 000 000 J539 TARGET386EX Appendix F Circuit Diagrams Page 52 All manuals and user guides at all guides com ...

Reviews: