- No category
advertisement
20F050C00 E2 – 2011-06-16
F50C – Conduction Cooled
3U CompactPCI
®
MPC8548 CPU
User Manual
Configuration example
®
F50C – Conduction Cooled 3U CompactPCI® MPC8548 CPU Board
F50C – Conduction Cooled 3U CompactPCI® MPC8548 CPU
Board
The F50C is a versatile, rugged PowerPC® based single-board computer for embedded applications with conduction cooling. It is controlled by an MPC8548, or optionally an MPC8543 PowerPC® CPU (alternatively with encryption unit) with clock frequencies between 800 MHz and 1.5 GHz. The SBC is equipped with ECCcontrolled, soldered-on DDR2 RAM for data storage, with up to 16 GB of solidstate Flash disk for program storage as well as industrial FRAM and SRAM.
The CPU card provides up to three Gigabit Ethernet channels, four USB ports, up to two SATA interfaces and up to 64 user-definable I/O lines controlled by its onboard
FPGA. These interfaces can be combined in many variations and are all available at the rear using the board's J2 connector. For first operation and service purposes, the board also includes a UART-to-USB port accessible at the front panel.
The F50C is based on a standard 3U CompactPCI® card that is embedded into a dedicated CCA frame for conduction cooling (CCA = conduction cooled assembly).
The 9-HP assembly can be used with MEN's conduction-cooled subrack . It is designed for operation in a -40°C to +85°C environment. For convection cooling, the F50P model is also available, which comes with a tailor-made heat sink for extended temperatures.
The large FPGA on the F50C allows to add additional user-defined functions such as graphics, touch, serial interfaces, fieldbus controllers, binary I/O etc. for the needs of the individual application in an extremely flexible way. Before boot-up of the system, the FPGA is loaded from boot Flash. Updates of the FPGA contents can be made inside the boot Flash during operation.
Equipped with a PCI-bridge chip, the F50C offers a full CompactPCI® interface
(system slot functionality) for reliable system expansion. Apart from that, the F50C can also be used as a busless, stand-alone board, with power supply from the backplane.
The soldered components on the F50C withstand shock and vibration, and the board design is optimized for conformal coating.
The F50C comes with MENMON™ support. This firmware/BIOS can be used for bootstrapping operating systems (from disk, Flash or network), for hardware testing, or for debugging applications without running any operating system.
MEN Mikro Elektronik GmbH
2
Technical Data
Technical Data
CPU
• PowerPC® PowerQUICC™ III MPC8548, MPC8548E, MPC8543 or
MPC8543E
- 800MHz up to 1.5GHz
- Please see
Configuration Options for available standard versions.
- e500 PowerPC® core with MMU and double-precision embedded scalar and vector floating-point APU
- Integrated Northbridge and Southbridge
Memory
• 2x32KB L1 data and instruction cache, 512KB/256KB L2 cache integrated in
MPC8548/MPC8543
• Up to 2GB SDRAM system memory
- Soldered
- DDR2 with or without ECC
- Up to 300 MHz memory bus frequency, depending on CPU
• Up to 16GB soldered Flash disk (SSD solid state disk)
• Up to 32MB additional DDR2 SDRAM, FPGA-controlled, e.g. for video data
• 16MB boot Flash
• 2MB non-volatile SRAM
- With GoldCap backup
• 128KB non-volatile FRAM
• Serial EEPROM 4kbits for factory settings
Mass Storage
• Parallel IDE (PATA)
- Up to 16GB soldered ATA Flash disk (SSD solid state disk)
• Serial ATA (SATA)
- Up to two ports via rear I/O J2
- Transfer rates up to 150MB/s (1.5 Gbits/s)
- Via PCI-to-SATA bridge
- See Interface Configuration Matrix showing possible I/O combinations
I/O
• USB (host)
- Four USB 2.0 host ports
- Via rear I/O J2
- OHCI and EHCI implementation
- Data rates up to 480Mbits/s
MEN Mikro Elektronik GmbH
3
Technical Data
• USB (client)
- One USB client port on series A connector at front panel
- Via UART-to-USB converter
- For first operation and service
- Data rates up to 115.2kbits/s
- 16-byte transmit/receive buffer
- Handshake lines: none
• Ethernet
- Up to three 10/100/1000Base-T Ethernet channels with MPC8548/E (two channels with MPC8543/E)
- Via rear I/O J2
- See Interface Configuration Matrix showing possible I/O combinations
• User-defined I/O
- FPGA-controlled
- Up to 64 I/O lines
- Connection via rear I/O J2
- Standard version provides 4 UARTs and 16 GPIO lines
- See Interface Configuration Matrix showing possible I/O combinations
Rear I/O
• Four USB 2.0
• Up to three 1000Base-T Ethernet
• Up to two SATA
• Up to 64 I/O lines, FPGA-controlled
- Reduces Ethernet/SATA interfaces
- See Interface Configuration Matrix showing possible I/O combinations
FPGA
• Standard factory FPGA configuration:
- Main bus interface
16Z043_SDRAM – Additional SDRAM controller (32 MB)
16Z034_GPIO – GPIO controller (rear I/O 14 lines, 2 IP cores)
16Z125_UART – UART controller (controls rear I/O COM1..4)
• The FPGA offers the possibility to add customized I/O functionality. See
Miscellaneous
• Real-time clock with GoldCap backup
• Temperature sensor, power supervision and watchdog
CompactPCI® Bus
• Compliance with CompactPCI® Core Specification PICMG 2.0 R3.0
• System slot
• 32-bit/32-MHz PCIe®-to-PCI bridge
• V(I/O): +3.3V (+5V tolerant)
MEN Mikro Elektronik GmbH
4
Technical Data
Busless Operation
• Board can be supplied with +5V, +3.3V and +12V from backplane, all other voltages are generated on the board
• Backplane J1 connector used only for power supply
Electrical Specifications
• Supply voltage/power consumption:
- +5V (-3%/+5%), 800mA approx.
- +3.3V (-3%/+5%), 350mA approx.
- ±12V (-5%/+5%), 1A approx.
Mechanical Specifications
• Dimensions:
- CompactPCI® 3U board embedded in MEN-standard 3U-CCA frame
- For use with MEN's conduction cooled subrack, 0701-0054
• Front panel: 9HP with cut-out for USB
• Weight: 620g
Environmental Specifications
• Temperature range (operation):
- -40..+85°C Tcase (screened)
- 0..+60°C Tcase (screened, with 16 GB SSD Flash disk)
- Convection cooled variety F50P also available
• Temperature range (storage): -40..+85°C
• Relative humidity (operation): max. 95% non-condensing
• Relative humidity (storage): max. 95% non-condensing
• Altitude: -300m to + 3,000m
• Shock: 15g/11ms
• Bump: 10g/16ms
• Vibration (sinusoidal): 1g/10..150Hz
• Conformal coating on request
MTBF
• 150,290h @ 40°C according to IEC/TR 62380 (RDF 2000)
Safety
• PCB manufactured with a flammability rating of 94V-0 by UL recognized manufacturers
EMC
• Tested according to EN 55022 (radio disturbance), IEC1000-4-2 (ESD) and
IEC1000-4-4 (burst)
BIOS
• MENMON™
MEN Mikro Elektronik GmbH
5
Technical Data
Software Support
• Linux
• VxWorks®
• QNX® (on request; support of the FPU is currently not provided by QNX®)
• INTEGRITY® (Green Hills® Software)
• OS-9® (on request)
• For more information on supported operating system versions and drivers see online data sheet.
MEN Mikro Elektronik GmbH
6
Block Diagram
Block Diagram
System
SDRAM
DDR2
Boot Flash FRAM SRAM
PowerPC®
MPC8548 or
MPC8543
PCI
Bus
66
PCI
Bus
33
(MPC8543)
(MPC8548)
PCIe x1
I²C
EEPROM RTC
Ethernet
10/100/1000Base‐T
Ethernet
10/100/1000Base‐T
Ethernet
10/100/1000Base‐T
UART‐to‐USB
PCI‐to‐USB
(4 ports)
PCI‐to‐SATA
(3 ports)
Supervisor
SATA‐to‐PATA
R
SSD Flash
F Front connector
R Rear I/O connector
Options
R
R
R
(only with
MPC8548)
F
R
(client)
0/1/2/3
Ethernet
4
USB
0/1/2
SATA
14
GPIO
4
UART and/or: user‐defined I/O from FPGA up to 64
R
FPGA
(up to 64 user I/O lines)
14 GPIOs
(standard example)
4 UARTs
(standard example)
R
R
Option: Busless
SDRAM
Additional
Flash The F50C provides great flexibility for routing functions to rear I/O.
Please refer to “Configuration...“ for more information.
MEN Mikro Elektronik GmbH
7
Configuration Options
Configuration Options
CPU
• Several PowerQUICC™ III types with different clock frequencies
• MPC8548 or MPC8548E
- 1 GHz, 1.2 GHz, 1.33 GHz or 1.5 GHz
• MPC8543 or MPC8543E
- 800 MHz or 1 GHz
Memory
• System RAM
- 512 MB, 1 GB or 2 GB
- With or without ECC
• Flash Disk
- 2 GB, 4 GB, 8 GB or 16 GB
- Please note that the 16 GB Flash disk component only supports a temperature range of 0..+60°C!
• FRAM
- 0 KB or 128 KB
• Additional SDRAM
- 0 MB or 32 MB
- With FPGA
I/O
• See
Interface Configuration Matrix
showing possible I/O combinations
• Ethernet
- Up to three channels at rear
- Only two channels total with MPC8543
• SATA
- Up to two channels at rear
• Up to 64 user-defined I/O lines
- With optional FPGA
- Reduces number of Ethernet/SATA channels
Cooling concept
• Convection cooled variety F50P also available, for up to -40..+85°C
Please note that some of these options may only be available for large volumes.
Please ask our sales staff for more information.
MEN Mikro Elektronik GmbH
8
FPGA
Interface Configuration Matrix
FPGA I/O pins (No FPGA) 23 34 45 56 27 38 49 60 31 42
Front I/O 1 UART-to-USB (client) (service port)
Rear I/O
Form factor
3 ETH
2 SATA
3 ETH
2 SATA
2 ETH
2 SATA
1 ETH
2 SATA
-
2 SATA
3 ETH
1 SATA
2 ETH
1 SATA
4 USB
9 HP
1 ETH
1 SATA
-
1 SATA
3 ETH
-
2 ETH
-
53 64
1 ETH
-
-
-
The standard configuration is highlighted in bold blue in the table.
All rear I/O Ethernet interfaces include 2 LED signals each. These could also be used for other FPGA functions instead, if no LEDs and more I/O pins are needed.
For available standard configurations see online data sheet.
FPGA
Flexible Configuration
• This MEN board offers the possibility to add customized I/O functionality in
FPGA.
• It depends on the board type, pin counts and number of logic elements which IP cores make sense and/or can be implemented. Please contact MEN for information on feasibility.
• You can find more information on our web page "User I/O in FPGA"
FPGA Capabilities
• FPGA Altera® Arria® GX AGX35C
- 33,520 logic elements
- 1,348,416 total memory bits
- Connected to CPU via PCI Express® x1 link
• Connection
- Available pin count: 64 pins
- Functions available via rear I/O J2 connector
MEN Mikro Elektronik GmbH
9
Product Safety
Product Safety
!
Electrostatic Discharge (ESD)
Computer boards and components contain electrostatic sensitive devices.
Electrostatic discharge (ESD) can damage components. To protect the board and other components against damage from static electricity, you should follow some precautions whenever you work on your computer.
• Power down and unplug your computer system when working on the inside.
• Hold components by the edges and try not to touch the IC chips, leads, or circuitry.
• Use a grounded wrist strap before handling computer components.
• Place components on a grounded antistatic pad or on the bag that came with the component whenever the components are separated from the system.
• 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
10
About this Document
About this Document
This user manual describes the hardware functions of the board, connection of peripheral devices and integration into a system. It also provides additional information for special applications and configurations of the board.
The manual does not include detailed information on individual components (data sheets etc.). A list of literature is given in the appendix.
History
E1
E2
Issue Comments
First issue
Corrected standard rear I/O configuration (SATA,
GPIO, COM interfaces), SSD support
Date
2009-11-20
2011-06-16
Conventions
!
italics bold monospace hyperlink
IRQ#
/IRQ in/out
This sign marks important notes or warnings concerning proper functionality of the product described in this document. You should read them in any case.
Folder, file and function names are printed in italics.
Bold type is used for emphasis.
A monospaced font type is used for hexadecimal numbers, listings, C function descriptions or wherever appropriate. Hexadecimal numbers are preceded by "0x".
Hyperlinks are printed in blue color .
The globe will show you where hyperlinks lead directly to the Internet, so you can look for the latest information online.
Signal names followed by "#" or preceded by a slash ("/") indicate that this signal is either active low or that it becomes active at a falling edge.
Signal directions in signal mnemonics tables generally refer to the corresponding board or component, "in" meaning "to the board or component", "out" meaning
"coming from it".
Vertical lines on the outer margin signal technical changes to the previous issue of the document.
MEN Mikro Elektronik GmbH
11
About this Document
Legal Information
MEN Mikro Elektronik reserves the right to make changes without further notice to any products herein. MEN makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does MEN assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages.
"Typical" parameters can and do vary in different applications. All operating parameters, including "Typicals" must be validated for each customer application by customer's technical experts.
MEN does not convey any license under its patent rights nor the rights of others.
Unless agreed otherwise, MEN products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the MEN product could create a situation where personal injury or death may occur. Should Buyer purchase or use MEN products for any such unintended or unauthorized application, Buyer shall indemnify and hold MEN and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that MEN was negligent regarding the design or manufacture of the part.
Unless agreed otherwise, the products of MEN Mikro Elektronik are not suited for use in nuclear reactors or for application in medical appliances used for therapeutical purposes. Application of MEN products in such plants is only possible after the user has precisely specified the operation environment and after MEN Mikro Elektronik has consequently adapted and released the product.
ESM™, ESMini™, MDIS™, MDIS4™, MDIS5™, MENMON™, M-Module™, M-Modules™, SA-Adapter™, SA-
Adapters™, UBox™, USM™ and the MBIOS logo are trademarks of MEN Mikro Elektronik GmbH. PC-MIP® is a registered trademark of MEN Micro, Inc. and SBS Technologies, Inc. MEN Mikro Elektronik®, ESMexpress®, MIPIOS® and the MEN logo are registered trademarks of MEN Mikro Elektronik GmbH.
Altera®, Arria®, Avalon®, Cyclone®, Nios® and Quartus® are registered trademarks of Altera Corp. Freescale™ and
PowerQUICC™ are trademarks of Freescale Semiconductor, Inc. PowerPC® is a registered trademark of IBM Corp. Green
Hills® and INTEGRITY® are registered trademarks of Green Hills Software, Inc.
CompactPCI®, CompactPCI® Express,
CompactPCI® PlusIO and CompactPCI® Serial are registered trademarks of the PCI Industrial Computer Manufacturers
Group. COM Express™ is a trademark of PCI Industrial Computer Manufacturers Group. OS-9®, OS-9000® and SoftStax® are registered trademarks of RadiSys Microware Communications Software Division, Inc. FasTrak™ and Hawk™ are trademarks of RadiSys Microware Communications Software Division, Inc. RadiSys® is a registered trademark of RadiSys
Corporation. PCI Express® and PCIe® are registered trademarks of PCI-SIG. QNX® is a registered trademark of QNX Ltd.
Tornado® and VxWorks® are registered trademarks of Wind River Systems, Inc.
All other products or services mentioned in this publication are identified by the trademarks, service marks, or product names as designated by the companies who market those products. The trademarks and registered trademarks are held by the companies producing them. Inquiries concerning such trademarks should be made directly to those companies. All other brand or product names are trademarks or registered trademarks of their respective holders.
Information in this document has been carefully checked and is believed to be accurate as of the date of publication; however, no responsibility is assumed for inaccuracies. MEN Mikro Elektronik accepts no liability for consequential or incidental damages arising from the use of its products and reserves the right to make changes on the products herein without notice to improve reliability, function or design. MEN Mikro Elektronik does not assume any liability arising out of the application or use of the products described in this document.
Copyright © 2011 MEN Mikro Elektronik GmbH. All rights reserved.
Please recycle
Germany
MEN Mikro Elektronik GmbH
Neuwieder Straße 5-7
90411 Nuremberg
Phone +49-911-99 33 5-0
Fax +49-911-99 33 5-901
E-mail [email protected]
www.men.de
MEN Mikro Elektronik GmbH
France
MEN Mikro Elektronik SA
18, rue René Cassin
ZA de la Châtelaine
74240 Gaillard
Phone +33 (0) 450-955-312
Fax +33 (0) 450-955-211
E-mail [email protected]
www.men-france.fr
USA
MEN Micro, Inc.
24 North Main Street
Ambler, PA 19002
Phone (215) 542-9575
Fax (215) 542-9577
E-mail [email protected]
www.menmicro.com
12
Contents
Contents
1.2 Integrating the Board into a System . . . . . . . . . . . . . . . . . . . . . . . . . . 19
1.3 Installing Operating System Software . . . . . . . . . . . . . . . . . . . . . . . . . 20
General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Thermal Considerations and Conduction Cooling . . . . . . . . 23
Host-to-PCI Bridge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Local PCI Buses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Local PCI Express Connections . . . . . . . . . . . . . . . . . . . . . . 25
DRAM System Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
FRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
SRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Boot Flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Solid State Flash Disk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
2.7 Mass Storage: Serial ATA (SATA) / SSD . . . . . . . . . . . . . . . . . . . . . . 27
Front-Panel Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Rear I/O Connection (CompactPCI PlusIO) . . . . . . . . . . . . . 28
General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
10Base-T . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
100Base-T . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
1000Base-T . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
User-Defined I/O from Onboard FPGA . . . . . . . . . . . . . . . . 32
Standard and Possible Pin Assignments . . . . . . . . . . . . . . . . 33
State Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
3.2 Interacting with MENMON . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Entering the Setup Menu/Command Line . . . . . . . . . . . . . . 40
3.3 Configuring MENMON for Automatic Boot . . . . . . . . . . . . . . . . . . . 40
MEN Mikro Elektronik GmbH
13
Contents
Update via the Serial Console using SERDL . . . . . . . . . . . . 41
Update from Network using NDL. . . . . . . . . . . . . . . . . . . . . 41
Update via Program Update Menu . . . . . . . . . . . . . . . . . . . . 41
Automatic Update Check . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Updating MENMON Code . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
SDRAM, SRAM and FRAM . . . . . . . . . . . . . . . . . . . . . . . . 44
EEPROM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
USB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Hardware Monitor Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
RTC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
3.6 MENMON Configuration and Organization . . . . . . . . . . . . . . . . . . . . 48
Consoles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
MENMON Memory Map . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
MENMON BIOS Logical Units . . . . . . . . . . . . . . . . . . . . . . 50
System Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
3.7 MENMON Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
4.1 Memory Mappings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
4.4 Onboard PCI Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
5.1 Literature and Web Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
PowerPC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
SATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
USB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
CompactPCI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
5.2 Finding out the Board’s Article Number, Revision and Serial Number62
MEN Mikro Elektronik GmbH
14
Figures
Figure 1. Map of the board – front panel view . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Figure 4. MENMON – State diagram, Degraded Mode/Full Mode . . . . . . . . . . 38
Figure 5. MENMON – State diagram, main state . . . . . . . . . . . . . . . . . . . . . . . . 39
Figure 6. Label giving the board’s article number, revision and serial number . 62
MEN Mikro Elektronik GmbH
15
Tables
Processor core options on F50C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Pin assignment of USB front-panel connector . . . . . . . . . . . . . . . . . . . 28
Signal mnemonics of USB front-panel connector . . . . . . . . . . . . . . . . 28
Assignment of 16Z034_GPIO controllers . . . . . . . . . . . . . . . . . . . . . . 32
Pin assignment of rear I/O connector J2 – standard board version . . . 33
Pin assignment of rear I/O connector J2 – I/O options: Ethernet, USB,
Signal mnemonics of rear I/O connector J2 . . . . . . . . . . . . . . . . . . . . . 36
MENMON – Program update files and locations . . . . . . . . . . . . . . . . 41
Table 10. MENMON – Diagnostic tests: Ethernet. . . . . . . . . . . . . . . . . . . . . . . . 43
Table 11. MENMON – Diagnostic tests: SDRAM, SRAM and FRAM . . . . . . . 44
Table 12. MENMON – Diagnostic tests: EEPROM . . . . . . . . . . . . . . . . . . . . . . 45
Table 13. MENMON – Diagnostic tests: USB. . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Table 14. MENMON – Diagnostic tests: hardware monitor . . . . . . . . . . . . . . . . 46
Table 15. MENMON – Diagnostic tests: RTC. . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Table 17. MENMON – Address map (full-featured mode) . . . . . . . . . . . . . . . . . 49
Table 18. MENMON – Boot Flash memory map . . . . . . . . . . . . . . . . . . . . . . . . 49
Table 19. MENMON – Controller Logical Units (CLUNs). . . . . . . . . . . . . . . . . 50
Table 20. MENMON – Device Logical Units (DLUNs) . . . . . . . . . . . . . . . . . . . 50
Table 21. MENMON – F50C system parameters – Autodetected parameters. . . 51
Table 22. MENMON – F50C system parameters – Production data . . . . . . . . . . 52
Table 25. MENMON – Reset causes through system parameter rststat. . . . . . . . 55
Table 26. MENMON – Command reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Table 27. Memory map – processor view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Table 30. Interrupt numbering assigned by MENMON . . . . . . . . . . . . . . . . . . . . 59
MEN Mikro Elektronik GmbH
16
1
Getting Started
Getting Started
This chapter gives an overview of the board and some hints for first installation in a system.
1.1
Maps of the Board
Figure 1. Map of the board – front panel view
UART-to-USB
Ejector handles
MEN Mikro Elektronik GmbH
17
Figure 2. Map of the board – top view
Hexagonal wedge-lock screw
Wedge lock
UART-to-
USB
CCA frame
Wedge lock
Hexagonal wedge-lock screw
Getting Started
MEN Mikro Elektronik GmbH
18
!
Getting Started
1.2
Integrating the Board into a System
The F50C must be inserted into a system rack with conduction cooling that supports the CCA frame format (e.g. MEN’s 0701-0054 rack ).
You can use the following check list when installing the board in a system for the first time and with minimum configuration.
Power-down the system.
Remove all boards from the CompactPCI system.
Insert the F50C into the system slot of your CompactPCI system, making sure that the CompactPCI connectors are properly aligned.
Note: The system slot of every CompactPCI system is marked by a triangle on the backplane and/or at the front panel. It also has red guide rails.
Use a 2.5-mm hexagon torque wrench to fasten the two wedge locks in the rack.
You need to apply a turning moment (torque) of 0.8 Nm.
Note: For first installation and/or configuration you can also temporarily operate the card without a CompactPCI bus. In this case you only need to connect a suitable power supply to the CompactPCI J1 connector.
You should generally use a host computer for first operation, typically under Linux or Windows.
Install a USB-to-UART driver on your host computer.
You can use a Windows driver provided by MEN (article number 13T005-70, third-party) or go to the FTDI web site ( www.ftdichip.com/FTDrivers.htm
) and download a driver there.
Connect your host computer to the front panel USB-1 port of the F50C (UARTto-USB interface). To do this, you need a suitable USB cable (type A to A).
Power-up the system.
Start up a terminal program on your host computer, e.g. HyperTerm under Windows, and open a terminal connection.
Set your terminal connection to the following protocol:
- 9600 baud data transmission rate
- 8 data bits
- 1 stop bit
- No parity
MEN Mikro Elektronik GmbH
19
Getting Started
When the terminal connection is made, press Enter. Now you can use the MEN-
MON BIOS/firmware (see detailed description in
).
If you enter command "LOGO" on the MENMON prompt, the terminal displays a message similar to the following:
________ Secondary MENMON for MEN MPC8548 Family (XM50) 1.7 _________________
| |
| (c) 2007 - 2008 MEN Mikro Elektronik GmbH Nuremberg |
| MENMON 2nd Edition, Created Jun 12 2008 10:45:08 |
|_____________________________________________________________________________|
| CPU Board: XM50-03 | CPU: MPC8548 |
|Serial Number: 4 | CPU/MEM Clk: 1386 / 198 MHz |
| HW Revision: 00.00.00 | CCB/LBC Clk: 396 / 50 MHz |
| | |
| PCI1/PCI2: 32Bit 66MHz/32Bit 33MHz| PCIe: x4 |
| DDR2 SDRAM: 512 MB ECC on 3.0/3/8 | FRAM/SRAM: 128 /2048 kB |
| Produced: | FLASH: 16 MB |
| Last repair: | Reset Cause: Power On |
|_____________________________________________________________________________|
| Carrier Board: F503-00, Rev 00.01.00, Serial 3 |
\___________________________________________________________________________/
Note: Don’t power off the F50C now, otherwise the USB-to-UART interface on the host computer will be disconnected.
Observe the installation instructions for the respective software.
!
1.3
Installing Operating System Software
The board supports Linux, VxWorks, and INTEGRITY.
By default, no operating system is installed on the board. Please refer to the respective manufacturer's documentation on how to install operating system software!
You can find any software available on MEN’s website .
1.4
Installing Driver Software
For a detailed description on how to install driver software please refer to the respective documentation.
You can find any driver software available for download on MEN’s website .
MEN Mikro Elektronik GmbH
20
2
Functional Description
Functional Description
The following describes the individual functions of the board and their configuration on the board. There is no detailed description of the individual controller chips and the CPU. They can be obtained from the data sheets or data books of the semiconductor manufacturer concerned (
2.1
Power Supply
The board is supplied via CompactPCI connector J1 with +5 V, +3.3 V and ±12 V.
All other required voltages are generated on the board.
The F50C may also be operated as a stand-alone card, without the CompactPCI bus.
In this case, power is also supplied via the J1 connector. Three voltages are needed:
+5 V, +3.3 V and +12 V.
2.2
Board Supervision
The board features a temperature sensor and voltage monitor.
A voltage monitor supervises all used voltages and holds the CPU in reset condition until all supply voltages are within their nominal values.
In addition the board contains a PLD watchdog that must be triggered. After configuration the CPU serves the PLD watchdog. The watchdog timeout is automatically set to 1.12 s after the first trigger pulse by the CPU.
The watchdog can be enabled or disabled through MENMON and can be triggered by a software application. This function is normally supported by the board support package (see BSP documentation).
Another watchdog device on the board has to be triggered by the FPGA and asserts a reset if the FPGA fails.
2.3
Real-Time Clock
The board includes an RA8581 real-time clock. Interrupt generation of the RTC is not supported. For data retention during power off the RTC is supplied by a
GoldCap.
A control flag indicates a back-up power fail condition. In this case the contents of the RTC cannot be expected to be valid. A message will be displayed on the
MENMON console in this case.
MEN Mikro Elektronik GmbH
21
Functional Description
2.4
Processor Core
The board is equipped with the MPC8548 or MPC8543 processor, which includes a
32-bit PowerPC e500 core, the integrated host-to-PCI bridge, Ethernet controllers and UARTs.
2.4.1
General
The MPC8548/3 family of processors integrates an e500v2 processor core built on
Power Architecture technology with system logic required for networking, telecommunications, and wireless infrastructure applications. The MPC8548/3 is a member of the PowerQUICC III family of devices that combine system-level support for industry-standard interfaces with processors that implement the embedded category of the Power Architecture technology.
The MPC8548/3 offers a double-precision floating-point auxiliary processing unit
(APU), up to 512 KB of level-2 cache, up to four integrated 10/100/1Gbits/s enhanced three-speed Ethernet controllers with TCP/IP acceleration and classification capabilities, a DDR/DDR2 SDRAM memory controller, a programmable interrupt controller, two I²C controllers, a four-channel DMA controller, a general-purpose I/O port, and dual universal asynchronous receiver/ transmitters (DUART).
The MPC8548/3 is available with (MPC8548/3E) or without an integrated security engine with XOR acceleration.
Table 1. Processor core options on F50C
Processor Type
MPC8548
MPC8548E
MPC8543
MPC8543E
Core Frequency
1 GHz, 1.2 GHz, 1.33 GHz or
1.5 GHz
1 GHz, 1.2 GHz, 1.33 GHz or
1.5 GHz
800 MHz or 1 GHz
800 MHz or 1 GHz
L2 Cache
512 KB
512 KB
256 KB
256 KB
Encryption Unit Ethernet Ports
No 3
Yes
No
Yes
3
2
2
MEN Mikro Elektronik GmbH
22
Functional Description
!
2.4.2
Thermal Considerations and Conduction Cooling
The F50C generates around 17 W of power dissipation when operated at 1.33 GHz.
The board was specially designed for conduction-cooled systems. It has an MEN
CCA frame 1 around a standard 3U CompactPCI card. The CCA frame is a heat sink assembly with wedge locks that meets thermal requirements.
Please note that if you use any other heat sink assembly than the CCA frame supplied by MEN, or no heat sink at all, warranty on functionality and reliability of the F50C may cease. If you have any questions or problems regarding thermal behavior, please contact MEN.
The Basics of Conduction Cooling
Conduction cooling is actually no cooling, it is a way to transfer energy from electronic components to a position which can be cooled. Aluminum or copper, for instance, can be used to connect the hot spots of the electronics to the outside of the housing. Outside airflow must be guaranteed by forced air flow. It is also possible to spread the heat to an even larger surface, e.g. by coupling the chassis wall to a metal wall of a vehicle.
How the F50C is Cooled
The F50C has a large CCA frame enclosing the board with a cover at the top side and a plate at the bottom side of the board. Both parts have thermal interfaces to key components. Heat is diverted from the components to the CCA frame cover and bottom plate, and on to its wedge locks at the card’s sides.
The F50C uses two five-section wedge-type locking devices (wedge locks) as expanders. Five-section expanders spread the expansion forces evenly over the board and create an efficient thermal transfer path from the board’s thermal interfaces to the chassis wall of the board rack.
The energy transferred to the chassis wall can now be diverted by convection with the help of the chassis cooling fins.
1 CCA = Conduction Cooled Assembly
MEN Mikro Elektronik GmbH
23
Functional Description
Figure 3. Conduction cooling: thermal interfaces (horizontal front view of CCA rack)
Chassis wall with cooling fins
Air flow
Card guides
9 HP front panel
CCA frame top cover
Heat
Wedge-lock to chassis
Air flow
Ejector handle
CCA frame bottom plate
MEN Mikro Elektronik GmbH
24
Functional Description
2.5
Bus Structure
2.5.1
Host-to-PCI Bridge
The integrated host-to-PCI bridge is used as host bridge and memory controller for the PowerPC processor. All transactions of the PowerPC to the PCI bus are controlled by the host bridge. The FRAM, SRAM and boot Flash are connected to the local memory bus of the integrated host-to-PCI bridge.
The PCI interface is PCI bus Rev. 2.2 compliant and supports all bus commands and transactions. Master and target operations are possible. Only big-endian operation is supported.
2.5.2
Local PCI Buses
Two local PCI buses are controlled by the integrated host-to-PCI bridge. One is connected to the PCI-to-USB bridge and runs at 33 MHz. The other connects the
PCI-to-SATA bridge and operates at 66 MHz. Board versions with the MPC8543 processor only have one local PCI bus operating at 33 MHz.
The I/O voltage is fixed to 3.3V. The data width is 32 bits.
2.5.3
Local PCI Express Connections
A PCI Express x1 link connects the PowerPC processor with the CompactPCI bus
(via a PCIe-to-PCI bridge) and with the FPGA.
MEN Mikro Elektronik GmbH
25
Functional Description
2.6
Memory
2.6.1
DRAM System Memory
The board provides up to 2 GB onboard, soldered DDR2 (double data rate) SDRAM on nine memory components (incl. ECC). The memory bus is 72 bits wide and operates at up to 300 MHz (physical), depending on the processor type.
Depending on the board version the SDRAM may have ECC (error-correcting code). ECC memory provides greater data accuracy and system uptime by protecting against soft errors in computer memory.
2.6.2
FRAM
The board has up to 128 KB non-volatile FRAM memory connected to the local bus of the CPU.
The FRAM does not need a back-up voltage for data retention.
2.6.3
SRAM
The board has up to 2 MB non-volatile SRAM memory connected to the local bus of the CPU. For data retention during power off the SRAM is supplied with a backup voltage by a GoldCap.
2.6.4
Boot Flash
The board has 16 MB of onboard Flash. It is controlled by the CPU.
Flash memory contains the boot software for the MENMON/operating system bootstrapper and application software. The MENMON sectors are softwareprotected against illegal write transactions through a password in the serial
download function of MENMON (cf. Chapter 3.4.1 Update via the Serial Console using SERDL on page 41
).
2.6.5
Solid State Flash Disk
The board includes up to 16 GB soldered NAND Flash disk.
A solid state disk (SSD) is a data storage device that uses solid-state memory to store persistent data. An SSD behaves like a conventional hard disk drive. On F50C it has a PATA interface connected to a SATA-to-PATA bridge and controlled by one
SATA channel. (See also
Chapter 2.7 Mass Storage: Serial ATA (SATA) / SSD on page 27
.)
With no moving parts, a solid state disk is more robust, effectively eliminating the risk of mechanical failure, and usually enjoys reduced seek time and latency by removing mechanical delays associated with a conventional hard disk drive.
MEN Mikro Elektronik GmbH
26
Functional Description
2.7
Mass Storage: Serial ATA (SATA) / SSD
The F50C provides three serial ATA channels through a PCI-to-SATA converter that is connected to the PowerPC processor via a dedicated 66-MHz PCI bus. (On board versions with the MPC8543 processor PCI-to-SATA shares one 33-MHz PCI bus with PCI-to-USB.)
The SATA interfaces support 1.5 Gbits/s.
One SATA channel is used for the SSD solid state Flash disk. (See also Chapter
2.6.5 Solid State Flash Disk on page 26
.) The other two SATA channels are led to the rear I/O J2 connector. The pin assignment is in compliance with the PICMG
2.30 CompactPCI PlusIO standard.
See
Chapter 2.11 Rear I/O on page 31
for J2 rear I/O pin assignments.
MEN Mikro Elektronik GmbH
27
Functional Description
2.8
USB Interfaces
The F50C provides four USB 2.0 host ports with OHCI/EHCI implementation and one USB client port. The client port (UART-to-USB, USB-1) is led to the front panel. Up to four host ports are available via rear I/O on connector J2.
The host ports are controlled via PCI-to-USB bridges from the PowerPC processor, while the client port is driven by a UART-to-USB converter.
The UART-to-USB interface supports data rates up to 115.2 kbits/s. It has no handshake lines. In connection with USB-to-UART driver software it can be used as a COM interface and is supported by MENMON as a console device.
2.8.1
Front-Panel Connection
The client port (UART-to-USB, USB-1) is accessible at the front panel for first operation and service purposes. It is not available during normal operation of the board inside a closed conduction-cooled rack.
Connector types:
• 4-pin USB Series A receptacle according to Universal Serial Bus Specification
Revision 1.0
• Mating connector:
4-pin USB Series A plug according to Universal Serial Bus Specification Revision 1.0
Table 2. Pin assignment of USB front-panel connector
1
2
3
4
3
4
1
2
+5V
USB_D-
USB_D+
GND
Table 3. Signal mnemonics of USB front-panel connector
+5V
GND
Signal
USB-1: in
-
Direction
USB_D+, USB_D- in/out
Function
+5 V power supply
Input for client port USB-1
Digital ground
USB lines, differential pair
2.8.2
Rear I/O Connection (CompactPCI PlusIO)
Up to four USB interfaces are accessible via rear I/O in compliance with the
PICMG 2.30 CompactPCI PlusIO standard.
See
Chapter 2.11 Rear I/O on page 31
for J2 rear I/O pin assignments.
MEN Mikro Elektronik GmbH
28
Functional Description
!
!
2.9
Ethernet Interfaces
The F50C has up to three Ethernet interfaces controlled by the CPU. All channels support up to 1000 Mbits/s and full-duplex operation.
All three Ethernet channels are available at the J2 rear I/O connector. See Chapter
for J2 rear I/O pin assignments.
Please note that LAN-2 is not available on board versions with the MPC8543 processor.
The unique MAC address is set at the factory and should not be changed. Any attempt to change this address may create node or bus contention and thereby render the board inoperable. The MAC addresses on F50C are:
• LAN-0:
• LAN-1:
• LAN-2:
0x 00 C0 3A 87 xx xx
0x 00 C0 3A 88 xx xx
0x 00 C0 3A 89 xx xx where "00 C0 3A" is the MEN vendor code, "87", "88" and "89" are the MEN product codes, and "xx xx" is the hexadecimal serial number of the product, which depends on your board, e. g. "... 00 2A " for serial number "000042".
2.9.1
General
Ethernet is a local-area network (LAN) protocol that uses a bus or star topology and supports data transfer rates of 100 Mbits/s and more. The Ethernet specification served as the basis for the IEEE 802.3 standard, which specifies the physical and lower software layers. Ethernet is one of the most widely implemented LAN standards.
Ethernet networks provide high-speed data exchange in areas that require economical connection to a local communication medium carrying bursty traffic at high-peak data rates.
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.
2.9.2
10Base-T
10Base-T is one of several adaptations of the Ethernet (IEEE 802.3) standard for
Local Area Networks (LANs). The 10Base-T standard (also called Twisted Pair
Ethernet) uses a twisted-pair cable with maximum lengths of 100 meters. The cable is thinner and more flexible than the coaxial cable used for the 10Base-2 or
10Base-5 standards. Since it is also cheaper, it is the preferable solution for costsensitive applications.
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 10 Mbits/s and uses baseband transmission methods.
MEN Mikro Elektronik GmbH
29
Functional Description
2.9.3
100Base-T
The 100Base-T networking standard supports data transfer rates up to 100 Mbits/s.
100Base-T is actually based on the older Ethernet standard. Because it is 10 times faster than Ethernet, it is often referred to as Fast Ethernet. Officially, the 100Base-T standard is IEEE 802.3u.
There are several different cabling schemes that can be used with 100Base-T, e.g.
100Base-TX, with two pairs of high-quality twisted-pair wires.
2.9.4
1000Base-T
1000Base-T is a specification for Gigabit Ethernet over copper wire (IEEE
802.3ab). The standard defines 1 Gbit/s data transfer over distances of up to 100 meters using four pairs of CAT-5 balanced copper cabling and a 5-level coding scheme.
Because many companies already use CAT-5 cabling, 1000Base-T can be easily implemented.
Other 1000Base-T benefits include compatibility with existing network protocols
(i.e. IP, IPX, AppleTalk), existing applications, Network Operating Systems, network management platforms and applications.
MEN Mikro Elektronik GmbH
30
Functional Description
2.10
CompactPCI Interface
The F50C is a 3U CompactPCI system slot board. It implements a 32-bit PCI interface to the CompactPCI backplane which uses a +3.3 V signaling voltage. It also tolerates +5 V.
The CompactPCI bus connects to the MPC8548/MPC8543 processor via a PCI
Express x1 link and a PCIe-to-PCI bridge.
The pin assignment of connector J1 as defined in the CompactPCI specification will not be repeated here.
2.11
Rear I/O
The F50C provides great flexibility for routing functions to rear I/O. An onboard
FPGA allows to implement customized functions on rear I/O connector J2 of the board, with a total available pin count of 64 pins. Different combinations of interfaces controlled by the CPU and the FPGA are possible.
The four USB ports are always routed to the J2 connector.
The Interface Configuration Matrix shows an overview of all varieties that are pos-
sible.
Chapter 2.11.2 Standard and Possible Pin Assignments on page 33 gives the
standard pin assignment along with possible signal routings.
In any case please contact our sales team for specially configured board versions.
This chapter only summarizes the board’s options.
MEN Mikro Elektronik GmbH
31
Functional Description
2.11.1
User-Defined I/O from Onboard FPGA
The F50C provides an onboard FPGA. The component is a powerful Altera Arria
GX AGX35C device, and is connected to the CPU via a fast, serial PCI Express x1 link. It permits to configure the board’s rear I/O according to your needs without any hardware modifications.
With regard to the FPGA resources such as available logic elements or pins it is not possible to grant all possible combinations of FPGA IP cores.
You can find an overview and descriptions of all available FPGA IP cores on
MEN’s website .
Table 7, Pin assignment of rear I/O connector J2 – I/O options: maximum FPGA control on page 35
gives the I/O pins available for custom FPGA functions (64 pins).
2.11.1.1
Standard Factory FPGA Configuration
In addition to basic IP cores needed for the FPGA-internal infrastructure, the following IP cores are implemented in the standard model:
• 16Z043_SDRAM – Additional SDRAM controller (32 MB)
• 16Z034_GPIO – GPIO controller (14 lines, 2 IP cores)
• 16Z125_UART – UART controller (controls rear I/O COM1..4)
You can find more information on the SDRAM IP core in the 16Z043_SDRAM data sheet on MEN’s website.
You can find more information on the GPIO IP core in the 16Z034_GPIO data sheet on MEN’s website.
You can find more information on the UART IP core in the 16Z125_UART data sheet on MEN’s website.
Please see MEN’s website for up-to-date driver software and documentation.
Accessing the GPIO Pins
You can control the I/O lines using MDIS4 driver software available from MEN. By default, the GPIOs are configured as inputs. This configuration can be changed through the driver software.
The following table gives the assignment of the GPIO controllers implemented in the F50C’s FPGA to their function on the board. Normally you can identify the controllers by their instance numbers in your operating system.
Table 4. Assignment of 16Z034_GPIO controllers
0
Instance
1
Function
GPIO 1 (lines 0 to 6) (bits 0..6)
GPIO 2 (lines 0 to 6) (bits 0..6)
MEN Mikro Elektronik GmbH
32
Functional Description
2.11.2
Standard and Possible Pin Assignments
Table 5. Pin assignment of rear I/O connector J2 – standard board version
22
21
F E D C B A Z
1
F E
22 GND GA0
21 GND ETH0_1+
20 GND ETH0_1-
19 GND ETH0_0+
18 GND ETH0_0-
17 GND GNT6#
D
GA1
ETH0_3+
ETH0_3-
ETH0_2+
ETH0_2-
REQ6#
C
GA2
ETH1_1+
ETH1_1-
ETH1_0+
ETH1_0-
-
B
GA3
GND
GND
GND
ETH1_2+
ETH1_2-
A
GA4
CLK6
Z
GND
GND
CLK5
GND
GND
GND
ETH1_3+ GND
ETH1_3GND
16 GND ETH0_VCC
15 GND GNT5#
GND
REQ5# -
ETH1_ACT# ETH1_VCC GND
COM2_RI# ETH1_LNK# GND
14 GND ETH0_ACT# ETH0_LNK# GPIO2[0] COM2_DTR# COM1_RI# GND
13 GND GPIO2[6] GPIO1[6] COM2_DSR# COM1_DTR# GND
12 GND GPIO2[5]
11 GND GPIO2[4]
10 GND GPIO2[3]
9 GND GPIO2[2]
GPIO1[5]
GPIO1[4]
GPIO1[3]
GPIO1[2]
GPIO1[0] COM2_DCD# COM1_DSR# GND
USB6+
USB6-
USB5+
COM2_RTS# COM1_DCD# GND
COM2_CTS# COM1_RTS# GND
COM2_TXD COM1_CTS# GND
8 GND SATA2_RX+ GPIO1[1]
7 GND SATA2_RXSATA2_TX+
6 GND SATA1_RX+ SATA2_TX-
5 GND SATA1_RXSATA1_TX+
4 GND GPIO2[1]
3 GND GNT4#
2 GND
1 GND
REQ3#
REQ2#
SATA1_TX-
REQ4#
GNT2#
GNT1#
USB5-
USB4+
USB4-
USB3+
USB3-
GNT3#
SYSEN#
REQ1#
COM2_RXD COM1_TXD GND
COM4_TXD COM1_RXD GND
COM4_RXD COM3_TXD GND
USB_OC5/6# COM3_RXD GND
USB_OC3/4#
GND
CLK3
GND
VIO
CLK4
CLK2
CLK1
GND
GND
GND
GND
Please note that the standard configuration does not make use of all the possible
FPGA I/O pins. Of 46 I/O pins that may be used here, only 34 pins are used by the standard GPIO and COM IP cores. (Cf.
Chapter 2.11.1.1 Standard Factory FPGA
and
Table 7, Pin assignment of rear I/O connector J2 – I/O options: maximum FPGA control on page 35
.)
MEN Mikro Elektronik GmbH
33
Functional Description
The following table shows all options for non-FPGA-controlled interfaces. For this reason, only those pins are marked light green for FPGA I/O that cannot be used for other functions. See
Table 7, Pin assignment of rear I/O connector J2 – I/O options: maximum FPGA control on page 35
for the assignment of the maximum number of FPGA-controlled pins.
Table 6. Pin assignment of rear I/O connector J2 – I/O options: Ethernet, USB, SATA
22
21
F E D C B A Z
1
F
22 GND
E
GA0
21 GND ETH0_1+
20 GND ETH0_1-
19 GND ETH0_0+
18 GND ETH0_0-
17 GND GNT6#
16 GND ETH0_VCC
D
GA1
ETH0_3+
ETH0_3-
ETH0_2+
ETH0_2-
REQ6#
GND
15 GND GNT5# REQ5#
14 GND ETH0_ACT# ETH0_LNK#
13 GND
12 GND
IO[29]
IO[27]
IO[28]
IO[26]
11 GND
10 GND
IO[25]
IO[23]
9 GND IO[21]
8 GND SATA2_RX+
IO[24]
IO[22]
IO[20]
IO[18]
7 GND SATA2_RXSATA2_TX+
6 GND SATA1_RX+ SATA2_TX-
5 GND SATA1_RXSATA1_TX+
4 GND IO[11] SATA1_TX-
3 GND
2 GND
1 GND
GNT4#
REQ3#
REQ2#
REQ4#
GNT2#
GNT1#
-
IO[63]
-
IO[64]
USB6+
USB6-
USB5+
USB5-
C
GA2
ETH1_1+
ETH1_1-
ETH1_0+
ETH1_0-
-
-
USB4+
USB4-
USB3+
USB3-
GNT3#
SYSEN#
REQ1#
B
GA3
GND
GND
A
GA4
CLK6
CLK5
Z
GND
GND
GND
GND
ETH1_2+
GND GND
ETH1_3+ GND
ETH1_2ETH1_3GND
ETH1_ACT# ETH1_VCC GND
ETH2_0+ ETH1_LNK# GND
ETH2_0ETH2_1+ GND
ETH2_2+
ETH2_2-
ETH2_1-
ETH2_3+
GND
GND
ETH2_ACT# ETH2_3GND
+3.3V
ETH2_VCC GND
ETH2_LNK#
+5V
+3.3V
+5V
GND
GND
IO[6]
IO[8]
USB_OC5/6#
USB_OC3/4#
GND
CLK3
GND
IO[5]
IO[7]
IO[9]
VIO
CLK4
CLK2
CLK1
GND
GND
GND
GND
GND
GND
GND
MEN Mikro Elektronik GmbH
34
Functional Description
Table 7. Pin assignment of rear I/O connector J2 – I/O options: maximum FPGA control
22
21
F E D C B A Z
1
-
IO[63]
-
IO[64]
USB6+
USB6-
USB5+
USB5-
C
GA2
IO[44]
IO[43]
IO[42]
IO[41]
-
-
USB4+
USB4-
USB3+
USB3-
GNT3#
SYSEN#
REQ1#
REQ5#
IO[30]
IO[28]
IO[26]
IO[24]
IO[22]
IO[20]
IO[18]
D
GA1
IO[40]
IO[39]
IO[38]
IO[37]
REQ6#
GND
IO[16]
IO[14]
IO[12]
IO[10]
REQ4#
GNT2#
GNT1#
GNT5#
IO[31]
IO[29]
IO[27]
IO[25]
IO[23]
IO[21]
IO[19]
E
GA0
IO[36]
IO[35]
IO[34]
IO[33]
GNT6#
IO[32]
IO[17]
IO[15]
IO[13]
IO[11]
GNT4#
REQ3#
REQ2#
F
22 GND
21 GND
20 GND
19 GND
18 GND
17 GND
16 GND
15 GND
14 GND
13 GND
12 GND
11 GND
10 GND
9 GND
8 GND
7 GND
6 GND
5 GND
4 GND
3 GND
2 GND
1 GND
IO[51]
IO[53]
IO[55]
IO[57]
IO[59]
IO[61]
IO[2]
IO[4]
B
GA3
GND
GND
GND
IO[45]
IO[47]
IO[49]
IO[6]
IO[8]
USB_OC5/6#
USB_OC3/4#
GND
CLK3
GND
IO[52]
IO[54]
IO[56]
IO[58]
IO[60]
IO[62]
IO[1]
IO[3]
A
GA4
CLK6
CLK5
GND
IO[46]
IO[48]
IO[50]
IO[5]
IO[7]
IO[9]
VIO
CLK4
CLK2
CLK1
GND
GND
GND
GND
GND
GND
GND
GND
Z
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
MEN Mikro Elektronik GmbH
35
Functional Description
Table 8. Signal mnemonics of rear I/O connector J2
Power GND
VIO
+3.3V
+5V
CompactPCI CLK[6:1]
GA[4:0]
GNT#[6:1]
Ethernet
Signal
REQ#[6:1]
SYSEN#
ETH0_[3:0]+, ETH0_[3:0]-
ETH1_[3:0]+, ETH1_[3:0]in in in/out in/out
ETH2_[3:0]+, ETH2_[3:0]in/out
ETH0_ACT#, ETH1_ACT#, ETH2_ACT# out in out in out in in
-
Direction
SATA
USB
FPGA I/O
GPIO
(FPGA)
COM1..4
(FPGA)
ETH0_LNK#, ETH1_LNK#, ETH2_LNK# out
ETH0_VCC, ETH1_VCC, ETH2_VCC
SATA1_RX+, SATA1_RX-
SATA1_TX+, SATA1_TX-
SATA2_RX+, SATA2_RX-
SATA2_TX+, SATA2_TX-
USB3+, USB3-
USB4+, USB4-
USB5+, USB5-
USB6+, USB6-
USB_OC3/4#, USB_OC5/6#
IO[64:1]
GPIO1_[6:0], GPIO2_[6:0]
COM[2:1]_CTS#
COM[2:1]_DCD#
COM[2:1]_DSR#
COM[2:1]_DTR#
COM[2:1]_RI#
COM[2:1]_RTS#
COM[4:1]_RXD
COM[4:1]_TXD out in out in out in/out in/out in/out in/out in in/out in/out in in in out in out in out
Function
Ground
3.3 V V(I/O) supply voltage
+3.3V supply voltage, optional
+5V supply voltage, optional
Clocks 1 to 6
Geographic addressing signals 0 to 4
Grant 1 to 6
Request 1 to 6
System slot identification
Differential data pairs 0 to 3, port 0
Differential data pairs 0 to 3, port 1
Differential data pairs 0 to 3, port 2
Signal for activity status LED, ports 0 to
2, optional
Signal for link status LED, ports 0 to 2, optional
Reference voltage, ports 0 to 2
Differential SATA receive lines, port 1
Differential SATA transmit lines, port 1
Differential SATA receive lines, port 2
Differential SATA transmit lines, port 2
Differential USB 2.0 lines, port 3
Differential USB 2.0 lines, port 4
Differential USB 2.0 lines, port 5
Differential USB 2.0 lines, port 6
USB overcurrent, ports 3 and 4,and ports 5 and 6, optional
FPGA I/O pins, 64 lines
GPIO pins, 2 x 7 lines on controllers 1 and 2
Clear to send (COM1, COM2)
Data carrier detected (COM1, COM2)
Data set ready (COM1, COM2)
Data terminal ready (COM1, COM2)
Ring indicator (COM1, COM2)
Request to send (COM1, COM2)
Receive data
Transmit data
MEN Mikro Elektronik GmbH
36
3
MENMON
MENMON
3.1
General
MENMON is the CPU board firmware that is invoked when the system is powered on.
The basic tasks of MENMON are:
• Initialize the CPU and its peripherals.
• PCI/PCIe auto configuration.
• Perform self-test.
• Provide debug/diagnostic features on MENMON command line.
• Interaction with the user via touch panel/TFT display (if supported through
FPGA).
• Boot operating system.
• Update firmware or operating system.
The following description only includes board-specific features. For a general description and in-depth details on MENMON, please refer to the MENMON 2nd
Edition User Manual .
MEN Mikro Elektronik GmbH
37
MENMON
3.1.1
State Diagram
Figure 4. MENMON – State diagram, Degraded Mode/Full Mode
Degraded Mode
EarlyInit
/do CPU early init
Check if secondary MENMON valid
Secondary MENMON valid
Secondary MENMON not valid or abort pin set
DegradedStartup
StartupPrologue
Determine clocks
I²C controller init
SYSPARAM init
Init early MMBIOS devs
Check for 'D' pressed
Parse SO-DIMM SPD
Init DRAM
Check for 'd' pressed
Quick DRAM test
’D’ or ’d’ pressed
DRAM not working
DRAM ok
Relocating
MainState
Secondary
MENMON
Full Mode
FullStartup
Init heap in DRAM
StartupPrologue
MainState
MEN Mikro Elektronik GmbH
38
MENMON
Figure 5. MENMON – State diagram, main state
Main State
Screen Menu do/ start network servers
Screen oriented Main menu
's' pressed
SETUP
Init
Init on-chip MMBIOS devs
PCI autoconfig
RTC init
(FPGA load)
Init further MMBIOS devs
Check for user abort
No user intervention
Selftest
Perform self tests
Check for user abort
Touch pressed outside setup
TouchCalib do/ touch calibration No user intervention
Auto Update Check do/ check for update media
Execute Auto update dialog when suitable medium found
Leave dialog after 5 seconds
User abort or
Self-test error and stignfault=false
User abort or degraded mode
Booting
Execute mmstartup string
[mmstartup empty]
Jump to bootstrapper
No user intervention
User abort or
Boot failure
MenmonCli entry/ start network servers do/ process command line
MEN Mikro Elektronik GmbH
39
MENMON
3.2
Interacting with MENMON
To interact with MENMON, you can use the following consoles:
• UART-to-USB COM (via UART-to-USB interface)
• Rear I/O COM1..4 (FPGA-controlled)
• Touch panel / TFT interface (if present)
• Telnet via network connection
• HTTP /monpage via network connection
The default setting of the COM ports is 9600 baud, 8 data bits, no parity, and one stop bit.
3.2.1
Entering the Setup Menu/Command Line
During normal boot, you can abort the booting process in different ways during the self-test, depending on your console:
• With a touch panel press the "Setup" button to enter the Setup Menu.
• With a text console press the "s" key to enter the Setup Menu.
• With a text console press "ESC" to enter the command line.
By default, the self-test is not left until 3 seconds have elapsed (measured from the beginning of the self-test), even if the actual test has finished earlier, to give the user a chance to abort booting and enter the Setup Menu.
You can modify the self-test wait time through MENMON system parameter stwait
(see stwait ).
3.3
Configuring MENMON for Automatic Boot
You can configure how MENMON boots the operating system either through the
Setup Menu or through the command line.
In the Basic Setup Menu you can select the boot sequence for the bootable devices on the F50C. The selected sequence is stored in system parameter mmstartup as a string of MENMON commands. For example, if the user selects: "Int. CF, Ether,
(None)", the mmstartup string will be set to "DBOOT 0; NBOOT TFTP".
You can view and modify this string directly, using the Expert Setup Menu, option
Startup string, or through the command-line command EE-MMSTARTUP.
(See also MENMON 2nd Edition User Manual for further details.)
MEN Mikro Elektronik GmbH
40
MENMON
3.4
Updating Boot Flash
3.4.1
Update via the Serial Console using SERDL
You can use command SERDL to update program data using the serial console.
The following table shows the F50C locations:
Table 9. MENMON – Program update files and locations
File Name
Extension
.SMM
.Fxxx
.Exx
Typical File Name
14XM50-00_01_02.SMM
MENMON
MYFILE.F000
-
MYFILE.E00
-
Password for
SERDL
Location
Secondary MENMON
Starting at sector xxx in boot Flash
Starting at byte xx in
EEPROM
3.4.2
Update from Network using NDL
You can use the network download command NDL to download the update files from a TFTP server in network. The file name extensions, locations and passwords are the same as for the SERDL command.
3.4.3
Update via Program Update Menu
MENMON scans an external medium connected to the first USB port (USB0) for files named 14XM50*.SMM. The Program Update Menu will then give a list of all files on this medium conforming with this name pattern for selection.
3.4.4
Automatic Update Check
MENMON’s automatic update check looks for some special files on an external medium connected to the first USB port (USB0). However, the F50C implementation does not support program update here but can boot from the external medium.
The file that is searched for has a name stored in system parameter bf or bootfile, or – if this is empty – BOOTFILE. If this file is found, it is assumed that the external medium is supposed to be booted from.
To allow MENMON to locate this file, it must be in the root directory of a DOS FS.
This works on unpartitioned media or on drives with one partition.
MENMON does not automatically start the boot but presents the following menu to the user:
Detected an update capable external medium
>Ignore, continue boot
Boot from external medium
If there is no user input for 5 seconds after the menu appears, booting continues.
MEN Mikro Elektronik GmbH
41
MENMON
!
3.4.5
Updating MENMON Code
Updates of MENMON are available for download from MEN’s website .
MENMON’s integrated Flash update functions allow you to do updates yourself.
However, you need to take care and follow the instructions given here. Otherwise, you may make your board inoperable!
In any case, read the following instructions carefully!
Please be aware that you do MENMON updates at your own risk. After an incorrect update your CPU board may not be able to boot.
Do the following to update MENMON:
Unzip the downloaded file, e.g. 14xm50-00_01_02.zip, into a temporary directory.
Power on your F50C.
Connect a terminal emulation program with the UART-to-USB port of your
F50C and set the terminal emulation program to 9600 baud, 8 data bits, 1 stop bit, no parity, no handshaking (if you haven't changed the target baud rate on your own).
1
Reset the F50C through software (e.g. reboot command under VxWorks).
Press "ESC" immediately after resetting the F50C.
In your terminal emulation program, you should see the "MenMon>" prompt.
Enter "SERDL MENMON" to update the secondary MENMON. You should now see a "C" character appear every 3 seconds.
In your terminal emulation program, start a "YModem" download of file
14xm50-00_01_02.smm (for example, with Windows Hyperterm, select Trans-
fer > Send File with protocol "YModem").
When the download is completed, reset the F50C.
1 You can change the baud rate at runtime using command cons-baud. See Table 26,
MENMON – Command reference (page 56) . If you want to accelerate file transfer you can select a higher baud rate in MENMON and then set the terminal emulation program accordingly.
MEN Mikro Elektronik GmbH
42
MENMON
3.5
Diagnostic Tests
3.5.1
Ethernet
Table 10. MENMON – Diagnostic tests: Ethernet
Test Name
ETHER0
ETHER1
ETHER2
ETHER0_X
ETHER1_X
ETHER2_X
Description
Ethernet 0/1/2 (LAN-0/1/2) internal loopback test
Groups: POST AUTO
Ethernet 0/1/2 (LAN-0/1/2) external loopback test
Groups: NONAUTO ENDLESS
Availability
Always
(except ETHER2 with an
MPC8543 processor)
Always
(except ETHER2 with an
MPC8543 processor)
3.5.1.1
Ethernet Internal Loopback Test
The test
• configures the network interface for loopback mode (on PHY)
• verifies that the interface's ROM has a good checksum
• verifies that the MAC address is valid (not
0xFFFFFF
…)
• sends 10 frames with
0x400
bytes payload each
• verifies that frames are correctly received on the same interface.
If the network interface to test is the currently activated interface for the MENMON network stack, the interface is detached from the network stack during test and reactivated after test.
Checks:
• Connection between CPU and LAN controller
• Connection between LAN controller and PHY
Does not check:
• Connection between PHY and physical connector
• Interrupt line
• All LAN speeds
MEN Mikro Elektronik GmbH
43
MENMON
3.5.1.2
Ethernet External Loopback Test
This test is the same as the Ethernet Internal Loopback Test, but requires an external loopback connector. Before sending frames, the link state is monitored. If it is not ok within 2 seconds, the test fails.
Note: A loopback connector makes a connection between the following pins of the
8-pin Ethernet connector: 1-3, 2-6, 4-7, 5-8.
Checks:
• Connection between CPU and LAN controller
• Connection between LAN controller and PHY
• Connection between PHY and physical connector
Does not check:
• Interrupt line
• All LAN speeds
3.5.2
SDRAM, SRAM and FRAM
Table 11. MENMON – Diagnostic tests: SDRAM, SRAM and FRAM
Test Name
SDRAM
SDRAM_X
SRAM
SRAM_X
FRAM
FRAM_X
Description
Quick SDRAM connection test
Groups: POST AUTO
Full SDRAM test
Groups: NONAUTO ENDLESS
Quick SRAM test
Groups: POST AUTO
Full SRAM test
Groups: NONAUTO ENDLESS
Quick FRAM test
Groups: POST AUTO
Full FRAM test
Groups: NONAUTO ENDLESS
Always
Always
F50C is known to have
SRAM
F50C is known to have
FRAM
Availability
MEN Mikro Elektronik GmbH
44
MENMON
3.5.2.1
Quick RAM Test
This quick test checks most of the connections to the RAM chips but does not test all RAM cells. It executes very quickly (within milliseconds).
This test is non-destructive (saves/restores original RAM content).
Checks:
• All address lines
• All data lines
• Byte enable signals
• Indirectly, checks clock and other control signals
Does not check:
• SDRAM cells
• Burst mode
3.5.2.2
Extended RAM Test
This full-featured memory test allows to test all RAM cells. Depending on the size of the SDRAM, this test can take up to one minute.
It tests 8-, 16- or 32-bit access, each with random pattern, and single and burst access.
On each pass, this test first fills the entire memory (starting with the lowest address) with the selected pattern, using the selected access mode, and then verifies the entire block.
This test is destructive.
Checks:
• All address lines
• All data lines
• All control signals
• All SDRAM cells
3.5.3
EEPROM
Table 12. MENMON – Diagnostic tests: EEPROM
Test Name
EEPROM
Description
I²C access/Magic nibble check
Groups: POST AUTO ENDLESS
Always
Availability
This test reads the first EEPROM cell over SMB and checks if bits 3..0 of this cell contain the magic nibble
0xE
.
MEN Mikro Elektronik GmbH
45
MENMON
3.5.4
USB
Table 13. MENMON – Diagnostic tests: USB
Test Name Description
USB0..USB5 USB device access / sector 0 access
Groups: NONAUTO ENDLESS
Always
Availability
The test performs a sector 0 read from the Flash disk without verifying the content of the sector.
Checks:
• USB control lines (Data- / Data+)
• Basic USB transfer
Does not check:
• IRQ signals
• Partition table or file system on disk
3.5.5
Hardware Monitor Test
Table 14. MENMON – Diagnostic tests: hardware monitor
Test Name
LM81
Description
LM81 basic access test
Groups: POST AUTO
Always
Availability
MEN Mikro Elektronik GmbH
46
MENMON
3.5.6
RTC
Table 15. MENMON – Diagnostic tests: RTC
Test Name
RTC
RTC_X
Description
Quick presence test of RTC
Groups: POST AUTO
Extended test of RTC
Groups: NONAUTO ENDLESS
Always
Availability
Always
3.5.6.1
RTC Test
This is a quick presence test of the real-time clock (RTC) and is executed on POST.
Checks:
• Presence of RTC (I²C access)
Does not check:
• If RTC is running
• RTC backup voltage
3.5.6.2
Extended RTC Test
Checks:
• Presence (e.g. I²C access)
• RTC is running
Does not check:
• RTC backup voltage
MEN Mikro Elektronik GmbH
47
MENMON
3.6
MENMON Configuration and Organization
3.6.1
Consoles
You can select the active consoles by means of system parameters con0..con3 and configure the console through parameters ecl, gcon, hdp and tdp. MENMON commands CONS(-xxx) also give access to the console settings (see Chapter 3.7
MENMON Commands (page 56) ).
Table 16. MENMON – System parameters for console selection and configuration
Parameter cbr (baud) Baud rate of all UART consoles
(decimal) (default: 9600 baud, 8n1) con0..con3
CLUN of console 0..3
CLUN=
0x00: disable
CLUN=
0xFF: Autoselect next available console
con0 is implicitly the debug console ecl
(alias)
Description
9600 to-USB COM)
con1:
00 (none)
con2:
00 (none)
con3:
00 (none)
0xFF
Default
con0:
08 (UART-
User
Access
Read/write
Read/write
Read/write gcon hdp tdp
CLUN of attached network interface
(hex)
CLUN=
0x00: none
CLUN=
0xFF: first available Ethernet
CLUN of graphics device to display boot logo
CLUN=
0x00: disable
CLUN=
0xFF: Autoselect first available graphics console
HTTP server TCP port (decimal)
0: don't start telnet server
-1: use default port 23 else: TCP port for telnet server
Telnet server TCP port (decimal)
0: don't start HTTP server
-1: use default port 80 else: TCP port for HTTP server
0xFF (AUTO)
-1
-1
Read/write
Read/write
Read/write
MEN Mikro Elektronik GmbH
48
MENMON
3.6.2
MENMON Memory Map
3.6.2.1
MENMON Memory Address Mapping
Table 17. MENMON – Address map (full-featured mode)
Address Space
0x 0000 0000 .. 0000 1400
Size
5 KB
0x 0000 3000 .. 0000 3FFF
4 KB
0x 0000 4200 .. 0000 42FF
256 bytes
0x 0000 4300 .. 00FF FFFF
Nearly
16 MB
0x 01D0 0000 .. 01DF FFFF
2 MB
0x 01E0 0000 .. 01EF FFFF
1 MB
0x 01F0 0000 .. 01F1 FFFF
128 KB
0x 01F2 0000 .. 01F4 FFFF
128 KB
0x 01F5 0000 .. 01FE FFFF
0x 01FF 0000 .. 01FF FFFF
0x 0200 0000 .. End of RAM
640 KB
64 KB
Description
Exception vectors
MENMON parameter string
VxWorks bootline
Free
Heap2
Text + Reloc
Stack
Stack for user programs and operating system boot
Heap
Not touched for OS post mortem buffer i.e. VxWorks
WindView or MDIS debugs
(requires ECC to be turned off!)
Free or download area
3.6.2.2
Boot Flash Memory Map
Table 18. MENMON – Boot Flash memory map
Flash Offset CPU Address Size
0x 00 0000 0x FF00 0000 14 MB
(- 128 KB)
0x DE 0000 0x FFDE 0000 128 KB
0x E0 0000 0x FFE0 0000 1 MB
0x F0 0000 0x FFF0 0000 1 MB
Description
Available to user
System parameter section in boot
Flash (if useflpar system parameter is set to 1)
Secondary MENMON
Primary MENMON
MEN Mikro Elektronik GmbH
49
MENMON
3.6.3
MENMON BIOS Logical Units
The following table shows fixed assigned CLUNs. All other CLUNs are used dynamically.
0x02
0x03
0x04
0x06
0x08
0x0A
0x10
0x11
0x12
0x20
0x21
0x22
0x23
0x2x
Table 19. MENMON – Controller Logical Units (CLUNs)
CLUN
0x40
0x41
MENMON BIOS
Name
ETHER0
ETHER1
ETHER2
USB
Description
Ethernet #0 (LAN-0)
Ethernet #1 (LAN-1)
Ethernet #2 (LAN-2)
USB controller
UART-to-USB COM MPC854X DUART channel #0
TOUCH Reserved for touch console
SATA0
SATA1
SATA2
CONSOLE1
SATA port 0 (routed to SSD Flash)
SATA port 1
SATA port 2
FPGA-controlled rear I/O COM1
CONSOLE2
CONSOLE3
CONSOLE4
FPGA-controlled rear I/O COM2
FPGA-controlled rear I/O COM3
FPGA-controlled rear I/O COM4
All other devices dynamically detected on PCI or
FPGA devices
Telnet console
HTTP monitor console
Table 20. MENMON – Device Logical Units (DLUNs)
CLUN/DLUN
0x06/0x00
0x10/0x00
0x11/0x00
0x12/0x00
MENMON
BIOS Name
USB
SATA0
SATA1
SATA2
USB controller 1
Description
Disk at SATA port 0 (onboard SSD Flash)
Disk at SATA port 1
Disk at SATA port 2
1 The actual disks can be selected through command USBDP, see also page 57 .
MEN Mikro Elektronik GmbH
50
MENMON
3.6.4
System Parameters
System parameters are parameters stored in EEPROM. Some parameters are automatically detected by MENMON (such as CPU type and frequency). The parameters can be modified through the EE-xxx command via the command line.
3.6.4.1
Physical Storage of Parameters
Most parameters are stored in the 1024-byte serial EEPROM on the F50C.
If required, you can configure MENMON to store some strings in boot Flash rather than in EEPROM.
3.6.4.2
Start-up with Faulty EEPROM
If a faulty EEPROM is detected (i.e. the checksum of the EEPROM section is wrong), the system parameters will use defaults. The behavior is the same if the
EEPROM is blank. The default baud rate is 9600.
3.6.4.3
F50C System Parameters
Note: Parameters marked by "Yes" in section "Parameter String" are part of the
MENMON parameter string.
Table 21. MENMON – F50C system parameters – Autodetected parameters
Parameter
(alias) ccbclkhz clun cons cpu cpuclkhz dlun flash0 fram0 immr mem0 mem1 memclkhz
Description
CCB clock frequency (decimal, Hz)
MENMON controller unit number that
MENMON used as the boot device
(hexadecimal)
Selected console. Set to name of first selected console
CPU type as ASCII string (e.g.
"MPC8548E")
CPU core clock frequency (decimal, Hz)
MENMON device unit number that
MENMON used as the boot device
(hexadecimal)
Flash size (decimal, kilobytes)
FRAM size (decimal, kilobytes)
Physical address of CCSR register block
RAM size (decimal, kilobytes)
Size of SRAM 1 (decimal, kilobytes)
Memory clock frequency (decimal, Hz)
Standard Default
Parameter
String
Yes
Yes
User
Access
Read-only
Read-only
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Read-only
Read-only
Read-only
Read-only
Read-only
Read-only
Read-only
Read-only
Read-only
Read-only
MEN Mikro Elektronik GmbH
51
MENMON
Parameter
(alias) mm mmst nmac0/1/2 pciclkhz rststat usbdp
Description
Info whether primary or secondary
MENMON has been used for booting, either "smm" or "pmm"
Status of diagnostic tests, as a string
MAC address of Ethernet interface x
(0..n). Format e.g. "00112233445566".
Set automatically according to serial number of the board
PCI bus clock frequency = system input clock (decimal, Hz)
Reset status code as a string, see
Chapter 3.6.4.4 Reset Cause – Parameter rststat on page 55
USB boot device path in format
“bus>1st_port_no>…>last_port_no”
(e.g. “00>02>01” for USB bus = 0, port no. 1 = 2, port no. 2 = 1)
Standard Default
Parameter
String
Yes
User
Access
Read-only
Yes
Yes
Yes
Yes
Yes
Read-only
Read-only
Read-only
Read-only
Read-only
1 If implemented.
Table 22. MENMON – F50C system parameters – Production data
Parameter
(alias) brd brdmod brdrev prodat repdat sernbr
Description
Board name
Board model "mm"
Board revision "xx.yy.zz"
Board production date MM/DD/YYYY -
-
-
-
Board last repair date MM/DD/YYYY
Board serial number
-
-
Standard Default
Parameter
String
Yes
Yes
User
Access
Read-only
Read-only
Yes
Yes
Yes
Yes
Read-only
Read-only
Read-only
Read-only
MEN Mikro Elektronik GmbH
52
MENMON
Table 23. MENMON – F50C system parameters – MENMON persistent parameters
Parameter
(alias) bsadr (bs) cbr (baud) con0..con3
eccsth ecl gcon hdp kerpar ldlogodis mmstartup
(startup) nobanner noecc
Description
Bootstrapper address. Used when BO command was called without arguments. (hexadecimal, 32 bits)
Baudrate of all UART consoles (dec)
CLUN of console 0..3. (hex) (see Chapter 3.6.1 Consoles on page 48 )
ECC single-bit error threshold
CLUN of attached network interface
(hex)
CLUN of graphics screen (hex) (see
Chapter 3.6.1 Consoles on page 48 )
HTTP server TCP port (decimal)
Linux Kernel Parameters (399 chars max). Part of VxWorks bootline if usefl-
par=0. (400 chars max if useflpar=1)
Disable load of boot logo (bool)
Start-up string
256 chars max if useflpar=0
512 chars max if useflpar=1
Disable ASCII banner on start-up
Do not use ECC even if board supports it (bool) nspeed0/1/3 Speed setting for Ethernet interface
0..3.
Possible values: AUTO, 10HD, 10FD,
100HD, 100FD, 1000 stdis stdis_XXX
Disable POST (bool)
Disable POST test with name XXX
(bool)
stdis_ether – Internal ETHER0/1/2 loopback
stdis_fram – FRAM test 1
stdis_sram – SRAM test 2
stdis_touch – Touch controller test stignfault stwait tdp
Ignore POST failure, continue boot
(bool)
Time in 1/10 seconds to stay at least in
SELFTEST state (decimal)
0 = Continue as soon as POST has finished
Telnet server TCP port (decimal)
Standard Default
0
9600
0xFF = auto
32
0xFF
0xFF = auto
0
0
-1
Empty string
0
Empty string
AUTO
0
0
1
30
-1
Parameter
String
No
User
Access
Read/write
Yes
No
No
No
No
No
No
No
No
No
No
Yes
No
No
No
No
No
Read/write
Read/write
Read/write
Read/write
Read/write
Read/write
Read/write
Read/write
Read/write
Read/write
Read/write
Read/write
Read/write
Read/write
Read/write
Read/write
Read/write
MEN Mikro Elektronik GmbH
53
MENMON
Parameter
(alias) tries tto u00..u15
updcdis useflpar vmode wdt
Description
Number of network tries
Minimum timeout between network retries (decimal, in seconds)
User parameters (hex, 16 bits)
Disable auto update check (bool)
Store kerpar and mmstartup parameters in boot Flash rather than in EEPROM
(bool)
Vesa Video Mode for graphics console
(hex)
Time after which watchdog timer shall reset the system after MENMON has passed control to operating system
(decimal, in 1/10 s)
If 0, MENMON disables the watchdog timer before starting the operating system.
Note: The F50C watchdog supports only the following values:
0: Disable watchdog timer
11: Short time-out (1.12 seconds)
260: Long time-out (26.0 seconds)
Standard Default
20
0
0x0000
0
0
0x0101
0 (disabled)
Parameter
String
No
No
User
Access
Read/write
Read/write
No
No
No
No
No
Read/write
Read/write
Read/write
Read/write
Read/write
1
2
If FRAM is implemented.
If SRAM is implemented.
MEN Mikro Elektronik GmbH
54
MENMON
Table 24. MENMON – F50C system parameters – VxWorks bootline parameters
Parameter
(alias)
Description bf (bootfile) Boot file name (127 chars max) bootdev VxWorks boot device name e (netip) g (netgw) h (nethost)
IP address, subnet mask, e.g.
192.1.1.28:ffffff00
IP address of default gateway hostname netaddr
Host IP address (used when booting over NBOOT TFTP)
VxWorks name of boot host netsm
Access the IP address part of netip parameter
Access the subnet mask part of netip parameter
Standard Default
Empty string
Empty string
Empty string
Empty string
Empty string
Empty string procnum s
VxWorks processor number (decimal) 0
VxWorks start-up script Empty string tn (netname) Host name of this machine unitnum VxWorks boot device unit number (decimal)
Empty string
0
No
No
No
No
Parameter
String
No
No
No
User
Access
Read/write
Read/write
Read/write
No
No
No
No
No
Read/write
Read/write
Read/write
Read/write
Read/write
Read/write
Read/write
Read/write
Read/write
3.6.4.4
Reset Cause – Parameter rststat
The following rststat values are possible:
When MENMON starts up, it determines the reset cause and sets system parameter
rststat accordingly:
Table 25. MENMON – Reset causes through system parameter rststat
rststat Value pwon swrst wdog
Power On
Description
Board was reset by software (by means of the board’s reset controller).
Board was reset by watchdog timer unit
MEN Mikro Elektronik GmbH
55
MENMON
3.7
MENMON Commands
The following table gives all MENMON commands that can be entered on the F50C
MENMON prompt. You can call this list also using the H command.
Table 26. MENMON – Command reference
Command
.[<reg>] [<val>]
ACT [<addr>] [<size>]
ARP
B[DC<no>] [<addr>]
BIOS_DBG <mask> [net] | cons
<clun>
Description
Display/modify registers in debugger model
Execute a HWACT script
Dump network stack ARP table
Set/display/clear breakpoints
Set MENMON BIOS or network debug level, set debug console
BO [<addr>] [<opts>]
BOOTP [<opts>]
Call OS bootstrapper
Obtain IP config via BOOTP
C[BWLLNAX#] <addr> [<val> ...] Change memory
CHAM [<clun>] Dump FPGA Chameleon table
CONS Show active consoles
CONS-ACT <clun1> [<clun2>] ...
Test console configuration
CONS-BAUD <baud>
CONS-GX <clun>
Change baud rate instantly without storing
Test graphics console
D [<addr>] [<cnt>] Dump memory
DBOOT [<clun>] [<dlun>] [<opts>] Boot from disk
DCACHE OFF | ON
DIAG [<which>] [VTF]
Enable/disable data cache
Run diagnostic tests
DSKRD <args>
DSKWR <args>
EE[-xxx] [<arg>]
EER[-xxx] [<arg>]
Read blocks from RAW disk
Write blocks to RAW disk
Persistent system parameter commands
Raw serial EEPROM commands
ERASE <D> [<O>] [<S>]
FI <from> <to> <val>
GO [<addr>]
H
HELP
Erase Flash sectors
Fill memory (byte)
Jump to user program
Print help
I [<D>]
ICACHE OFF | ON
IOI
LM81
LOGO
LS <clun> <dlun> [<opts>]
List board information
Enable/disable instruction cache
Scan for BIOS devices
Show current voltage and temperature values
Display MENMON start-up text screen
List files/partitions on device
MEN Mikro Elektronik GmbH
56
MENMON
Command
MC <addr1> <addr2> <cnt>
MII <clun> [<reg>] [<val>]
MO <from> <to> <cnt>
MS <from> <to> <val>
MT [<opts>] <start> <end>
[<runs>]
NBOOT [<opts>]
NDL [<opts>]
NETSTAT
PCI
PCIC <dev> <addr> [<bus>]
[<func>] [<val>]
PCID[+] <dev> [<bus>] [<func>]
PCIR
PCI-VPD[-] <devNo> [<busNo>]
[<capId>]
PFLASH <D> <O> <S> [<A>]
PGM-XXX <args>
PING <host> [<opts>]
RELOC
RST
RTC[-xxx] [<arg>]
S [<addr>]
SERDL [<passwd>]
SETUP
UNZIP src size [<opt>] [<dest>]
[<size>]
USB [<bus>]
USBT [<bus> <p1>..<p5>]
USBDP [<bus p1..p5>] [-d<x>]
Description
Compare memory
Ethernet MII register command
Move (copy) memory
Search pattern in memory
Memory test
Boot from network
Update Flash from network
Show current state of networking parameters
PCI probe
PCI config register change
PCI config register dump
List PCI resources
PCI Vital Product Data dump
Program Flash
Media copy tool
Network connectivity test
Relocate MM to RAM
Cause an instant system reset
Real time clock commands
Single step user program
Update Flash using YModem protocol
Open interactive Setup menu
Unzip memory zipped by gzip
Init USB controller and devices on a USB bus
Shows the USB device tree
Display/modify USB device path
MEN Mikro Elektronik GmbH
57
Organization of the Board
4 Organization of the Board
To install software on the board or to develop low-level software it is essential to be familiar with the board’s address and interrupt organization.
4.1
Memory Mappings
Table 27. Memory map – processor view
CPU Address Range Size
0x 0000 0000..End of RAM 512/1024/
2048 MB
0x 8000 0000..DFFF FFFF
1536 MB
0x E000 0000..E7FF FFFF
128 MB
0x E800 0000..EFFF FFFF
128 MB
0x F000 0000..F00F 0000
128 MB
0x F200 0000..F200 3FFF
0x F300 0000..F301 FFFF
0x F400 0000..F41F FFFF
0x FB00 0000..FBFF FFFF
16 MB
0x FC00 0000..FC00 7FFF
32 KB
0x FF00 0000..FFFF FFFF
16 MB
SDRAM
Description
PCIe Memory Space
PCI1 Memory Space
PCI2 Memory Space
CCSR
Config PLD
FRAM (opt.)
SRAM (opt.)
PCIe I/O / ISA Space
PCI1 I/O Space
Flash
Table 28. Address mapping for PCI
CPU Address Range Interface
0x 8000 0000..9FFF FFFF PCIe
0x A000 0000..DFFF FFFF PCIe
0x E000 0000..E7FF FFFF PCI1
0x E700 0000..EFFF FFFF PCI2
0x FB00 0000..FBFE FFFF PCIe
0x FBFF 8000..FBFF FFFF
0x FC00 0000..FC00 7FFF
PCIe
PCI1
1
Mapped to PCI Space
0x 8000 0000..9FFF FFFF
(MEM)
0x A000 0000..DFFF FFFF
(MEM)
Description
PCIe memory space
(prefetchable BARs)
PCIe memory space
(non-prefetchable
BARs)
PCI1 memory space
0x E000 0000..E7FF FFFF
(MEM)
0x E700 0000..EFFF FFFF
(MEM)
0x 0000 0000..00FE FFFF
(ISA)
0x 0000..7FFF (I/O)
0x 8000..FFFF (I/O)
PCI2 memory space
PCIe ISA memory
PCIe I/O space
PCI1 I/O space
1 PCI2 not available for MPC8543.
MEN Mikro Elektronik GmbH
58
Organization of the Board
4.2
Interrupt Handling
Interrupt handling is done via the 12 external interrupt lines of the CPU
(IRQ[11:0]). While the IRQ lines 8 to 10 are used as PCI interrupt lines (see Table
30, Interrupt numbering assigned by MENMON, on page 59
), the Ethernet function unit interrupt is routed to a dedicated interrupt line. The mapping is as follows:
Table 29. Dedicated interrupt line assignment
MPC854X IRQ Input
IRQ0 Ethernet
Function
Table 30. Interrupt numbering assigned by MENMON
MPC854X IRQ
Input
IRQ0
IRQ1
IRQ2
IRQ3
IRQ8
IRQ9
IRQ10
PCI Interrupt
Line
PCIe_INTA
PCIe_INTB
PCIe_INTC
PCIe_INTD
PCI_INTA
PCI_INTB
PCI_INTC
-
FPGA
-
-
SATA
Function
1st USB Controller
(USB0/2)
2nd USB Controller
(USB3/4/5)
Assigned Number
(MENMON)
0xF0
0xF1
0xF2
0xF3
0x8
0x9
0xA
4.3
SMB Devices
Table 31. SMB devices
I²C Bus Address
0x0 0x5E
0xA2
0xA8
0x1
0xD2
0xAC
LM81 hardware monitor
Real-time clock
CPU EEPROM
Clock generator
ID EEPROM
Function
MEN Mikro Elektronik GmbH
59
Organization of the Board
4.4
Onboard PCI Devices
Table 32. Onboard PCI devices
Interface Bus Device Vendor ID Device ID
PCI1
0x00 0x00 0x1057 0x0013
Function
PCI host bridge in MPC854X
PCI2
0x10
0x01 0x00
0x1095
0x1057
0x3114
0x0013
SATA
PCI host bridge in MPC854X
PCIe
0x11
0x12
0x02 0x00
0x03 0x00
0x04 0x01
0x02
0x1033
0x1957
0x12D8
0x12D8
-
Interrupt
PCI_INTA (IRQ8)
0x0404
PCIe switch for CompactPCI
0x0404 bus
-
0x0035/
0x00E0
1st USB Controller (USB0/2) PCI_INTB (IRQ9)
2nd USB Controller (USB3/4/5) PCI_INTC (IRQ10)
0x0013
PCIe bridge in MPC854X -
-
0x03
0x05 0x00
0x06 0x00
0x1A88
0x12D8
0x4D45
0xE110
FPGA (if implemented)
PCIe bridge (CompactPCI bus)
PCIe_INTB (IRQ 1)
-
MEN Mikro Elektronik GmbH
60
5
Appendix
Appendix
5.1
Literature and Web Resources
• F50C data sheet with up-to-date information and documentation: www.men.de/products/02F050C.html
• 3U conduction cooled rack data sheet: www.men.de/products/0701-0054.html
5.1.1
PowerPC
• MPC8548:
MPC8548E PowerQUICC™ III Integrated Processor Family Reference Manual
MPC8548ERM; 2007; Freescale Semiconductor, Inc.
www.freescale.com
5.1.2
SATA
• Serial ATA International Organization (SATA-IO) www.serialata.org
5.1.3
USB
• Universal Serial Bus Specification Revision 1.0; 1996; Compaq, Digital Equipment Corporation, IBM PC Company, Intel, Microsoft, NEC, Northern Telecom www.usb.org
5.1.4
Ethernet
• ANSI/IEEE 802.3-1996, Information Technology - Telecommunications and
Information Exchange between Systems - Local and Metropolitan Area Networks - Specific Requirements - Part 3: Carrier Sense Multiple Access with Collision Detection (CSMA/CD) Access Method and Physical Layer Specifications;
1996; IEEE www.ieee.org
• Charles Spurgeon's Ethernet Web Site
Extensive information about Ethernet (IEEE 802.3) local area network (LAN) technology.
www.ethermanage.com/ethernet/
• InterOperability Laboratory, University of New Hampshire
This page covers general Ethernet technology.
www.iol.unh.edu/services/testing/ethernet/training/
MEN Mikro Elektronik GmbH
61
Appendix
5.1.5
CompactPCI
• CompactPCI Specification PICMG 2.0 R3.0:
1999; PCI Industrial Computers Manufacturers Group (PICMG) www.picmg.org
• PCI Local Bus Specification Revision 2.2:
1995; PCI Special Interest Group
P.O. Box 14070
Portland, OR 97214, USA www.pcisig.com
• CompactPCI PlusIO Specification PICMG 2.30 R1.0:
2009; PCI Industrial Computers Manufacturers Group (PICMG) www.picmg.org
• Introduction to CompactPCI PlusIO on Wikipedia: en.wikipedia.org/wiki/CompactPCI_PlusIO
5.2
Finding out the Board’s Article Number, Revision and
Serial Number
MEN user documentation may describe several different models and/or hardware revisions of the F50C. You can find information on the article number, the board revision and the serial number on two labels attached to the board.
• Article number: Gives the board’s family and model. This is also MEN’s ordering number. To be complete it must have 9 characters.
• Revision number: Gives the hardware revision of the board.
• Serial number: Unique identification assigned during production.
If you need support, you should communicate these numbers to MEN.
Figure 6. Label giving the board’s article number, revision and serial number
Complete article number
Article No.:
02F050C00
Serial No.:
000001
Rev.
00.00.00
Serial number
Revision number
MEN Mikro Elektronik GmbH
62
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
advertisement
Table of contents
- 2 F50C – Conduction Cooled 3U CompactPCI® MPC8548 CPU Board
- 3 Technical Data
- 7 Block Diagram
- 8 Configuration Options
- 9 FPGA
- 10 Product Safety
- 10 Electrostatic Discharge (ESD)
- 11 About this Document
- 11 History
- 11 Conventions
- 12 Legal Information
- 13 Contents
- 15 Figures
- 16 Tables
- 17 1 Getting Started
- 17 1.1 Maps of the Board
- 19 1.2 Integrating the Board into a System
- 20 1.3 Installing Operating System Software
- 20 1.4 Installing Driver Software
- 21 2 Functional Description
- 21 2.1 Power Supply
- 21 2.2 Board Supervision
- 21 2.3 Real-Time Clock
- 22 2.4 Processor Core
- 22 2.4.1 General
- 23 2.4.2 Thermal Considerations and Conduction Cooling
- 23 The Basics of Conduction Cooling
- 23 How the F50C is Cooled
- 25 2.5 Bus Structure
- 25 2.5.1 Host-to-PCI Bridge
- 25 2.5.2 Local PCI Buses
- 25 2.5.3 Local PCI Express Connections
- 26 2.6 Memory
- 26 2.6.1 DRAM System Memory
- 26 2.6.2 FRAM
- 26 2.6.3 SRAM
- 26 2.6.4 Boot Flash
- 26 2.6.5 Solid State Flash Disk
- 27 2.7 Mass Storage: Serial ATA (SATA) / SSD
- 28 2.8 USB Interfaces
- 28 2.8.1 Front-Panel Connection
- 28 2.8.2 Rear I/O Connection (CompactPCI PlusIO)
- 29 2.9 Ethernet Interfaces
- 29 2.9.1 General
- 29 2.9.2 10Base-T
- 30 2.9.3 100Base-T
- 30 2.9.4 1000Base-T
- 31 2.10 CompactPCI Interface
- 31 2.11 Rear I/O
- 32 2.11.1 User-Defined I/O from Onboard FPGA
- 32 2.11.1.1 Standard Factory FPGA Configuration
- 32 Accessing the GPIO Pins
- 33 2.11.2 Standard and Possible Pin Assignments
- 37 3 MENMON
- 37 3.1 General
- 38 3.1.1 State Diagram
- 40 3.2 Interacting with MENMON
- 40 3.2.1 Entering the Setup Menu/Command Line
- 40 3.3 Configuring MENMON for Automatic Boot
- 41 3.4 Updating Boot Flash
- 41 3.4.1 Update via the Serial Console using SERDL
- 41 3.4.2 Update from Network using NDL
- 41 3.4.3 Update via Program Update Menu
- 41 3.4.4 Automatic Update Check
- 42 3.4.5 Updating MENMON Code
- 43 3.5 Diagnostic Tests
- 43 3.5.1 Ethernet
- 43 3.5.1.1 Ethernet Internal Loopback Test
- 44 3.5.1.2 Ethernet External Loopback Test
- 44 3.5.2 SDRAM, SRAM and FRAM
- 45 3.5.2.1 Quick RAM Test
- 45 3.5.2.2 Extended RAM Test
- 45 3.5.3 EEPROM
- 46 3.5.4 USB
- 46 3.5.5 Hardware Monitor Test
- 47 3.5.6 RTC
- 47 3.5.6.1 RTC Test
- 47 3.5.6.2 Extended RTC Test
- 48 3.6 MENMON Configuration and Organization
- 48 3.6.1 Consoles
- 49 3.6.2 MENMON Memory Map
- 49 3.6.2.1 MENMON Memory Address Mapping
- 49 3.6.2.2 Boot Flash Memory Map
- 50 3.6.3 MENMON BIOS Logical Units
- 51 3.6.4 System Parameters
- 51 3.6.4.1 Physical Storage of Parameters
- 51 3.6.4.2 Start-up with Faulty EEPROM
- 51 3.6.4.3 F50C System Parameters
- 55 3.6.4.4 Reset Cause – Parameter rststat
- 56 3.7 MENMON Commands
- 58 4 Organization of the Board
- 58 4.1 Memory Mappings
- 59 4.2 Interrupt Handling
- 59 4.3 SMB Devices
- 60 4.4 Onboard PCI Devices
- 61 5 Appendix
- 61 5.1 Literature and Web Resources
- 61 5.1.1 PowerPC
- 61 5.1.2 SATA
- 61 5.1.3 USB
- 61 5.1.4 Ethernet
- 62 5.1.5 CompactPCI
- 62 5.2 Finding out the Board’s Article Number, Revision and Serial Number