MEN Mikro Elektronik B5 - 3U User Manual

B5 – 3u vmebus highspeed communication controller
Table of Contents

Advertisement

Quick Links

20B005-00 E2 - 2003-01-15
B5 – 3U VMEbus High-
Speed Communication
Controller
User Manual
Board-Level Computers
for Industrial Applications
®

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the B5 - 3U and is the answer not in the manual?

Questions and answers

Summary of Contents for MEN Mikro Elektronik B5 - 3U

  • Page 1 20B005-00 E2 - 2003-01-15 B5 – 3U VMEbus High- Speed Communication Controller User Manual Board-Level Computers for Industrial Applications ®...
  • Page 2 • 3U VMEbus form factor • VMEbus master/slave interface - VIC068 - Interrupter/interrupt handler - A16, A24, D16 - VMEbus slot-1 functionality Memory • Up to 512KB boot Flash - 16-bit data bus - Dual-ported MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 3 • 1 M-Module slot (requires additional VMEbus slot and front panel) • Characteristics: A08, A24, D16, INTA, INTC, TRIGA, TRIGB, DMA • D32, DMA, TRIGA, TRIGB access is supported only for local CPU • Dual-ported MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 4 • PCB manufactured with a flammability rating of 94V-0 by UL recognized manu- facturers • Tested according to EN 55022 / 1999-05 (radio disturbance) and EN 55024 / 1999-05 (immunity) with regard to CE conformity Software Support • VxWorks • OS-9 • MENMON MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 5 Flash 4MB Flash 4MB (option) DRAM 4MB DRAM SIMM on board 32MB CAN Bus ISO High-Speed Interface CAN Bus ISO High-Speed Interface SRAM 1MB Real-Time Clock GoldCap Boot Flash M-Module VMEbus Controller VMEbus MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 6 • Store the board only in its original ESD-protected packaging. Retain the original packaging in case you need to return the board to MEN for repair. MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 7 "in" meaning "to the board or component", "out" meaning "coming from it". Vertical lines on the outer margin signal technical changes to the previous edition of the document. MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 8 MEN will not be liable for any consequential or incidental damages arising from reliance on the accuracy of this document. The information contained herein is subject to change without notice. Copyright © 2003 MEN Mikro Elektronik GmbH. All rights reserved. Please recycle Germany...
  • Page 9: Table Of Contents

    VMEbus Slave Interface ......39 2.9.4 VMEbus Interrupt Handler ......40 MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 10 5.3 Component Plans......... 66 MEN Mikro Elektronik GmbH...
  • Page 11 Figure 11. Component Plan of B5 Hardware Revision 04 — top side ..66 Figure 12. Component Plan of B5 Hardware Revision 04 — bottom side ..66 MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 12 Table 29. Table of Hardware Revisions ....... . 65 MEN Mikro Elektronik GmbH...
  • Page 13: Getting Started

    DRAM SIMM Module Reset Button Abort Button 1 2 3 4 User LEDs MC68360 10Base-T A B C ISO 9141-2 RS232 SA Adapter Interfaces Boot Flash MC68040/60 Socket CAN A CAN B MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 14: Configuring The Hardware

    M-Module and SA adapters Refer to Chapter 1.4 Installing an M-Module and SA Adapter on page 16 for a detailed installation description. Also, observe the installation recommendations given in the M-Module’s user manual. MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 15: Integrating The Board Into A System

    Press <CTRL> <A> to enter MENMON. Now you can use the MENMON debugger (see detailed description in Chapter 3 The MENMON Debugger on page 43). Observe the installation instructions for the respective software. MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 16: Installing An M-Module And Sa Adapter

    Screw the M-Module to the mounting board using two countersink-head screws and two flat-headed screws from the accessory kit (see figure below). Figure 3. Screws for Fastening of M-Module Countersink-head Flat-headed Screws Screws MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 17: Figure 4. Alignment Of Mounting Board And B5

    Press the contacts and M-Module connector carefully but firmly together. Now insert the two boards into the enclosure. Figure 4. Alignment of Mounting Board and B5 M-Module Mounting board Ribbon cable from SA Adapter Contact strip 10-pin SA-Adapter connectors MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 18: Installing Operating System Software

    By standard, no operating system is installed on the board. Please refer to MEN’s OS-9 installation manual on how to install the software! You can find any driver software available on MEN’s website. MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 19: Functional Description

    Switching from mains to battery power is performed automatically with no loss of data. Battery voltage is applied to the +5VSTDBY line of the VMEbus connector. MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 20: Bus Structure

    VMEbus and from the local bus. When the CPU and the VMEbus want to access one of the units simultaneously, access is granted alternatively. Read-modify-write accesses cannot be halted. MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 21: Processor Core

    Note: MEN gives no warranty on functionality and reliability of the B5 if you use any other processor than that supplied by MEN. Please contact either MEN directly or your local MEN sales office! MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 22: Memory

    59). The local CPU can be set to reset state during programming. This is defined by a bit in Global Control Register 0 (see Chapter 4.3.2 Global Control Registers on page 59). MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 23: Static Ram (Global Bus)

    You can update Flash on the B5 through a MENMON utility via a serial interface from a PC or via the VMEbus (description see Chapter 3.5 Updating Flash/Serial EEPROM on page 46). MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 24: Dynamic Ram (Local Bus)

    Figure 6. DRAM Installation Hex Switch DRAM SIMM Module utton MC68360 A B C SA Adapter Interfaces Boot Flash MC68040/60 Socket SIMM Module Plastic Guide Safety Tab Metal Clip Notch Mounting SIMM Socket Hole MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 25: Serial Eeprom

    Chapter 3.6.3.2 Serial EEPROM Commands (EE-xxx) on page 49). The remaining 3kbit are user-programmable. MEN provides a MENMON utility to write user data into the serial EEPROM. Chapter 3.5 Updating Flash/Serial EEPROM on page 46 gives a detailed description. MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 26: Ethernet Interface

    A classic Ethernet system consists of a backbone cable and connecting hardware (e.g. transceivers), which links the controllers of the individual stations via transceiver (transmitter-receiver) cables to this backbone cable and thus permits communication between the stations. MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 27: 10Base-T

    Cables in the 10Base-T system connect with RJ45 connectors. A star topology is common with 12 or more computers connected directly to a hub or concentrator. The 10Base-T system operates at 10Mbps and uses baseband transmission methods. MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 28: Can Bus Interfaces (Local Bus)

    1,000m. However, it is allowed to use bridge devices or repeaters to increase the allowed distance between ISO 11898 compliant nodes to more than 1,000m. MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 29: Basic Can, Full Can And Extended Can

    32..24 23..16 15..8 7..0 Not used Not used The MC68360 supports an interrupt for each of the CAN controllers. The two interfaces are optically isolated from each other and from the system. MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 30: Connection

    CAN_L_RES CAN_L with termination resistor CAN_x_H in/out Non-inverted data CAN_x_L in/out Inverted data GND_x Ground You can provide the CAN bus with the necessary termination resistors by connecting pins CAN_L_RES and CAN_H_RES. MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 31: Serial Interfaces

    MEN’s website). This cable leads the 9-pin micro D-Sub receptacle connec- tor to a standard 9-pin D-Sub plug connector. Pin assignment stays the same. You may need, however, an additional "null modem" cable for connection of a terminal or PC. MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 32: Iso 9141-2/Rs232 Interface

    Table 13. Signal Mnemonics of the ISO 9141-2 Interface Name Direction Function Ground K-line in/out Bidirectional data L-line Output RxD3 Alternative UART 3 receive data TxD3 Alternative UART 3 transmit data External supply voltage MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 33: Optional Serial Interfaces

    10-pin receptacle, available with or without tension relief for ribbon-cable con- nection, 1.27mm pitch Figure 8. Position of P9 and P10 Hex Switch DRAM SIMM Module MC68360 A B C SA Adapter Interfaces Boot Flash MC68040/60 Socket MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 34: Table 14. Pin Assignment Of The 10-Pin Plug Connector P9

    Chapter 1.4 Installing an M-Module and SA Adapter on page 16 how to install one SA adapter. If you want to install a second SA adapter, contact MEN’s technical support at support@men.de. MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 35: M-Module Slot (Global Bus)

    A B C -12V /DREQ /DACK D08/A16 D00/A08 TRIGA D09/A17 D01/A09 TRIGB D10/A18 D02/A10 D11/A19 D03/A11 D12/A20 D04/A12 D13/A21 D05/A13 D14/A22 D06/A14 D15/A23 D07/A15 /DS1 /DS0 /DTACK /WRITE /IACK /IRQ /RESET SYSCLK /DS2 MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 36: Addressing The M-Module

    The DMA lines are handled by the MC68360. The M-Module timing in DMA mode does not comply with the M-Module Specification. Note: If you want to use DMA mode, please contact MEN’s technical support at support@men.de. MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 37: Interrupts

    When the interrupt was initiated at the VMEbus, it is disabled and must be re- enabled in the interrupt service routine by the user through Global Control Register 3 (M-Module IRQ Mask, read/write, offset 0x07 MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 38: Vmebus Interface

    The B5 supports the A16 and A24 address ranges of the VMEbus. D08(E/O), D16 and D16BLK data transfers as well as read-modify-write (RMW) accesses can be performed . Block transfers use only global SRAM. RMW access is not supported with MC68060. MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 39: Vmebus Slave Interface

    Chapter 3.6.3.3 Commands for VMEbus Interface Parameters on page 50). Note: Because of their 32-bit structure Local Control Registers 0 and 1 cannot and must not be written to by another VMEbus master. MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 40: Vmebus Interrupt Handler

    ACFAIL#, BR3#, BR2#, BR1#, BR0#, IRQ7#, IRQ6#, IRQ5#, IRQ4#, IRQ3#, IRQ2#, SYSFAIL#, BERR#, SYSRESET#, AS#, IACK#. See also Chapter 4.2 Interrupt Handling on page See also Chapter 4.4 Implementation of MC68360 on page MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 41: Connection

    DTACK# IACK# IACKIN# Remote2 IACKOUT# IRQ7# IRQ6# IRQ5# IRQ4# IRQ3# IRQ2# IRQ1# -12V +5VSTDBY +12V SERCLK is used as Remote2 on the B5. Please refer to Chapter 2.9.7 Remote2 Line on page MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 42: Real-Time Clock

    Accesses of B5 to the VMEbus and slave accesses to B5 by other VMEbus masters are terminated externally through the VMEbus slot-1 function (see Chapter 2.9.1 Slot-1 Function on page 38). MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 43: The Menmon Debugger

    MENMON supports the following members of Motorola’s 68k family: • 68000 core (e.g. 68000, 68008, 68302) • 68020 core (e.g. 68020, 68030) • CPU32/CPU32+ core (e.g. 68331, 68332, 68360) • 68040, 68060 MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 44: Console

    0x 00FF E400..00FF E56B 68360 RAM Globals The memory areas occupied by MENMON can be used for other purposes if MENMON is no longer forked up, otherwise these areas must remain intact. MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 45: Menmon Start-Up

    • 60 or 70ns The chip-select registers of the MC68360 are programmed with reference to the detected values. The setup of OR1, OR2 and OR6 reflects the DRAM configuration, OR3 the SRAM configuration. MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 46: Updating Flash/Serial Eeprom

    DRAM of the B5 must therefore be large enough for the entire download file. Download itself will require another 68KB, i.e. with 4MB of DRAM on the board, the update file may be max. 4032KB. MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 47: Update Via A Serial Interface

    Programming file file.F00 to local Flash of B5, offset 0: $ b5_load -a=8c007000 -b=88000000 file.F00 0x200000 Programming file file to local Flash of B5, offset $ b5_load -a=8c007000 -b=88000000 -d=F -s=200000 file MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 48: Menmon User Interface

    Some of the addresses used in our examples may not be suitable for your board’s address mapping. If you want to try out MENMON’s functions, please compare the example addresses with your mapping first! MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 49: Commands

    Hex dump of entire EEPROM EE-AUTOBOOT [<0/1>] Enable/disable automatic jump to OS bootstrap loader SERDL Flash update using YModem protocol via serial line (see Chapter 3.5 Updating Flash/Serial EEPROM on page 46). MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 50 010 = 32µs 011 = 64µs 100 = 128µs 101 = 256µs 110 = 512µs 111 = Infinite (timeout disabled) IVA: Include VMEbus acqusition time in local bus timer (see VIC068A manual for details). MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 51 RelMode defines the VMEbus release mode: 00 = ROR: Release on Request 01 = RWD: Release when done 10 = ROC: Release on BLCR# assertion 11 = BCAP: VMEbus capture and hold MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 52 These bits are compared with VMEbus lines A23..A20. Do not enter odd numbers! Slave access cannot be disabled! Note: When the EEPROM contents are modified, the new parameters will have no effect until the system is restarted. MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 53: Exception Handling

    EEPROM with caller’s data. index and len must be even, since the EEPROM is 16 bits wide. Returns: 0 = O.K. 1 = write error 2 = verify error 3 = erase error MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 54 First parameter: d0, second parameter: d1, further parameters: on stack. Return value in d0. For printf, this is different. In this case <fmt> is passed in d0, all other parameters on stack. MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 55: Organization Of The Board

    16MB VMEbus A24/D16 BLK Transfer 0x 8800 0000..88FF FFFF 16MB VMEbus A24/D16 0x 8400 0000..8400 FFFF 64KB VMEbus A16/D16 BLK Transfer 0x 8C00 0000..8C00 FFFF 64KB VMEbus A16/D16 Physically identical Physically identical MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 56: Global Bus Access By Another Vmebus Master

    When programming the boot Flash, Flash is mapped to the SRAM area. The mode can be selected in Global Control Register 1 (see Chapter 4.3.2 Global Control Registers on page 59). Minus 64KB boot sector. MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 57: Interrupt Handling

    Parity Error MC68360 abort button SIM360: PIT VMEbus level 6 VMEbus level 5 CPM360: SCC1 SCC2 SCC3 SCC4 SMC1 SMC2 CAN A CAN B VMEbus level 4 VMEbus level 3 M-Module Autovector 2 Reserved MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 58: B5 Control Registers

    The hex switch can be interrogated in this register. Bits 7..4 of this register reflect the switch position. The bits are read as an inverted value: hex switch position 0 corresponds to register value ’F’, position 1 corresponds to ’E’ etc. MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 59: Global Control Registers

    • Access by VMEbus: A16 base address + 0x01 Global Control Register 0 (Reset Local CPU, read/write, offset 15..1 CPURes CPURes 0 = Local CPU running (default) 1 = Reset local CPU MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 60 LED4 LED3 LED2 LED1 LED4..1 0 = LED off 1 = LED on 0x0F Global Control Register 5 (PLD Revision, read only, offset 15..4 PLD Revision Bits 3..0 contain the PLD revision number of B5-41. MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 61: Implementation Of Mc68360

    UART5 at RS232 (with handshake) SMC2 UART6 at RS232 (without handshake) IDMA1 Unused IDMA2 M-Module SDMA1..14 SCC1..4, SMC1..2, SPI GPT1 Unused GPT2 Unused GPT3 TRIGA M-Module GPT4 Baud rate generator for UART3 MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 62: Table 28. Port Pin Assignment Of The Mc68360 Cpm

    UART6 (receive data) PB12 TENA1 Ethernet 1 transmit enable PB13 TENA2/RTS2 Ethernet 2 transmit enable/UART2 request to send PB14 RTS3 ISO 9141-2 L-Line PB15 RTS4 UART4 request to send PB16 EE_CLK Clock to EEPROM MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 63 IPL[2..0] Interrupt lines to CPU in companion mode CONFIG0 BCLR0 Unused IPIPE1 BCLRI Unused A[31..28] A[31..28] Address lines, cache control AMUX Unused CAS2,3 CAS2,3 DRAM CAS0,1 CAS0,1 DRAM AVEC AVEC Read-modify-write signaling MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 64: Appendix

    Connectivity Knowledge Platform at Made IT technology information service, with lots of general information on Ethernet 5.1.3 CAN Bus • www.can-cia.de/ CAN in Automation e. V. • 141.44.61.248/NT/CAN/Welcome.html CAN Home Page, University of Magdeburg • www.hitex.co.uk/CAN/canarticle.html MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 65: Vmebus

    Table 29. Table of Hardware Revisions Revision Comment Restrictions 00.xx Prototype None known 01.xx First revision None known 02.xx Second revision None known 03.xx Third revision None known 04.xx Fourth revision None known MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 66: Component Plans

    Appendix Component Plans Figure 11. Component Plan of B5 Hardware Revision 04 — top side Figure 12. Component Plan of B5 Hardware Revision 04 — bottom side MEN Mikro Elektronik GmbH 20B005-00 E2 - 2003-01-15...
  • Page 67 MEN reserves the right to refuse sending of confidential information for any reason that MEN may consi- der substantial. Non-Disclosure Agreement for Circuit Diagrams provided by MEN Mikro Elektronik GmbH between MEN Mikro Elektronik GmbH Neuwieder Straße 7 D-90411 Nürnberg...
  • Page 68 Amendments to this Agreement can be adopted only in writing. There are no supplementary oral agree- ments. This Agreement shall be governed by German Law. MEN Mikro Elektronik GmbH The court of jurisdiction shall be Nuremberg. Neuwieder Straße 7 90411 Nürnberg Deutschland Tel.

Table of Contents