Page 1
SECURE ASSET SOLUTIONS Artisan Scientific Corporation / Artisan Technology Group is not an authorized distributor of Artesyn Embedded Technologies, Inc. or Artesyn products. Artesyn Embedded Technologies® is a trademark of Artesyn Embedded Technologies, Inc. and is used for identification purposes only.
Page 2
BajaPPC-750 PowerPC-Based, Single-Board Computer User’s Manual May 2002...
Page 3
Artesyn Communication Products 8310 Excelsior Dr. Madison, WI 53717 Web Site: www.artesyncp.com Sales: (800) 356-9602 Technical Support: (800) 327-1251 BajaPPC-750 User’s Manual—Artesyn Part Number: 0002M621-15...
Page 4
BajaPPC-750 PowerPC-Based, Single-Board Computer User’s Manual May 2002...
Page 5
PRODUCTS DOES NOT ASSUME ANY LIABILITY ARISING OUT OF USE OR OTHER APPLICATION OF ANY PRODUCT, CIRCUIT, OR PROGRAM DESCRIBED HEREIN. This document does not convey any license under Artesyn Communica- tion Products patents or the rights of others. Artesyn and the Artesyn logo are registered trademarks of Artesyn Technologies and are used by Artesyn Communication Products under licence from Artesyn Technologies.
Page 6
Regulatory Agency Warnings & Notices The Artesyn BajaPPC-750 is certified by the Federal Communications Commission (FCC) according to Title 47 of the Code of Federal Regulations, Part 15. The following informa- tion is provided as required by this agency. FCC Rules and Regulations – Part 15 This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15 of the FCC Rules.
MVME712M transition module. 1.1 Components and Features The following is a brief summary of the BajaPPC-750 components and features: The CPU is an IBM PowerPC™ microprocessor running internally at 366 MHz or higher. The PPC750 has 32-kilobyte data and instruction caches, three instructions per clock cycle, and a 32/64-bit data bus mode.
Page 21
BajaPPC-750 on row C of connector P2 (optional configuration only). VMEbus The PCI to VME interface for the BajaPPC-750 is provided by a Tundra Universe II (CA91C142) chip, which has built-in FIFOs and full VME64 master/slave capability with DMA. The VMEbus has a 32-bit address bus with 16-, 24-, or 32-bit address modes (4-gigabyte range) and a 32-bit data bus with 8-, 16-, 24-, 32-, or 64-bit board compatibility.
Functional Description 1.2 Functional Description 7-Segment 64-bit CPU Bus AUI Ethernet (P2) Ethernet RJ45 (P3) 32-bit Local PCI Bus ISA Bus PMC1 I/O PMC2 I/O (P2) (optional P0) Serial A, RJ45 (P4) Serial A (optional P2 config.) VME64 VMEbus Serial B (HDR3, P2) Parallel VMEbus, Power...
BajaPPC-750: Overview 1.3 Physical Memory Map The physical memory map of the BajaPPC-750 is depicted in Fig. 1-2. Informa- tion on particular portions of the memory map can be found in later sections of this manual. See Table 1-1 for a list of these references.
BajaPPC-750. 1.4.1 Product Certifications The BajaPPC-750 has been tested and certified to comply with various safety, immunity, and emissions requirements as specified by the Federal Communica- tion Commission (FCC), Industry Canada (IC), Underwriters Laboratories (UL), and the European Union Directives (CE mark).
Binary numbers are shown with a subscript 2. 1.4.3 Technical References Further information on basic operation and programming of the intelligent com- ponents on the BajaPPC-750 can be found in the following documents: Table 1-3. Technical References † Device or Interface...
Page 27
Frequently, the most current information regarding addenda/errata for specific documents may be found on the corresponding web site. If you have questions, please call an Artesyn Communication Products Technical Support representative at 1-800-327-1251, visit the web site at http://www.artesyncp.com, or send e-mail to support@artesyncp.com.
2.1 Electrostatic Discharge Before you begin the setup process, please remember that electrostatic discharge (ESD) can easily damage the components on the BajaPPC-750. Electronic devices, especially those with programmable parts, are susceptible to ESD, which can result in operational failure. Unless you ground yourself properly, static charges can accumulate in your body and cause ESD damage when you touch the board.
BajaPPC-750: Setup 2.2 BajaPPC-750 Circuit Board The BajaPPC-750 is a 14-layer board. Standard board spacing is 0.800 inches. The dimensions of the BajaPPC-750 board are given in Table 2-1. Table 2-1. Mechanical Specifications Width Depth Height 9.187 in. 6.299 in.
2-10 BajaPPC-750: Setup HDR4 Debug 4 Meg Flash 2 Meg Flash 2 Meg Flash 2 Meg Flash 2 Meg Flash Figure 2-8. Component Map, Bottom (Board Rev. 1) May 2002...
2-12 BajaPPC-750: Setup 2.2.2 Serial Numbers Before you install the BajaPPC-750 in a card cage or system, you should record the following information: ❑ The board serial number: _____________________________________ . The board serial number appears on a bar code sticker located on the back of the board.
8-bit register at FF9E,0000 2.2.5 LED The BajaPPC-750 has a seven-segment LED on the front panel. The control regis- ter for this LED is located in a PLD at FF98,0000 . Each bit of this register con- trols a particular segment of the seven-segment display.
Register Map 2-1. BajaPPC-750 Board Configuration (P2 Configuration) 2.3 BajaPPC-750 Setup You need the following items to set up and check the operation of the Artesyn BajaPPC-750. ❑ Artesyn BajaPPC-750 microcomputer board ❑ Card cage and power supply ❑...
2.3.1 Providing Power Be sure your power supply is sufficient for the board. Without a PMC module, the BajaPPC-750 requires about 30 watts maximum. With two PMC modules, the requirement is approximately 45 watts maximum. Power supply ripple and noise below 10 MHz should be limited to 50 mV peak-to-peak (a requirement of the VMEbus specification).
2. Visually inspect the board for components that could have loosened during shipment. Visually inspect the chassis and all cables. 3. Install the BajaPPC-750 in the VMEbus card cage. Be sure the board is seated firmly. 4. Connect a CRT terminal to serial port A via connector P4 or the transition module console port.
❑ Be sure the system is not overheating. ❑ Check the power cables and connectors to be certain they are secure. ❑ If you are using the BajaPPC-750 monitor, run the power-up diagnostics and check the results. “Monitor”, Chapter 10 describes the power-up diagnostics.
2.6.2 Service Information If you plan to return the board to Artesyn Communication Products for service, call 1-800-327-1251 and ask for our Test Services Department (or send e-mail to serviceinfo@artesyncp.com) to obtain a Return Merchandise Authorization (RMA) number.
Central Processing Unit This chapter is an overview of the processor logic on the BajaPPC-750. It includes information on the CPU, exception handling, and cache memory. The BajaPPC- ™ 750 utilizes the IBM PPC750 PowerPC microprocessor, running at an internal clock speed of 366 MHz or higher.
Register Map 3-1. BajaPPC-750 Board Configuration (Reset) 3.2 Processor Initialization Initially, the BajaPPC-750 powers up with specific values stored in the CPU regis- ters. The initial power-up state of the Hardware Implementation Dependent reg- ister (HID0) and the Machine State register (MSR) are given in Table 3-2.
The Hardware Implementation Dependent Register, HID0, contains bits for CPU-specific features. Most of these bits are cleared on initial power-up of the BajaPPC-750. Please refer to the PPC750 RISC Microprocessor User’s Manual for more detailed descriptions of the individual bit fields. The following register map...
The Machine State Register, MSR, configures the state of the PPC750 CPU. On ini- tial power-up of the BajaPPC-750, most of the MSR bits are cleared. The MSR may be read using the Move to Machine State Register (mtmsr) instruction. The mtmsr, System Call (sc), and Return from Exception (rfi) instructions may be used to modify the MSR.
Instruction and data address translation enables. Recoverable exception enable for system reset and machine check. This feature is enabled on initial power-up. Little-endian mode enable. On the BajaPPC-750, this bit must set to zero so that the processor always runs in big-endian mode. 0002M621-15...
BajaPPC-750: Central Processing Unit 3.3 Exception Handling Each CPU exception type transfers control to a different address in the vector table. The vector table normally occupies the first 2000 bytes of RAM (with a base address of 0000,0000 ) or ROM (with a base address of FF80,0000 ).
Interrupt Handling 3.4 Interrupt Handling The interrupt controller on the BajaPPC-750 is a programmable logic device (PLD) that handles seven local interrupts and receives external interrupts from the counter/timers and PMC modules. (See Chapters 6 and 9 for additional infor- mation.) The interrupt controller drives the 750_INT* interrupt input on the...
Register Map 3-5. BajaPPC-750 Board Configuration (Bus Speed) 3.6 Cache Memory The PPC750 processor has separate, on-chip, 32-kilobyte instruction and data caches with eight-way, set-associative translation lookaside buffers (TLBs). The CPU supports the modified/exclusive/invalid (MEI) cache coherency protocol.
In addition to the on-chip caches, the PPC750 CPU utilizes a 1-megabyte, integrated secondary cache provided by two synchronous random access mem- ory (SRAM) chips. For the BajaPPC-750, the cache operates in Fast L2 mode and integrates data, tag, host interface, and LRU memory with a cache controller. At 122 MHz and above, it performs with zero wait states (2-1-1-1 burst).
Checkstop Output. When asserted, this output signal indicates that the CPU has detected a checkstop condition and has ceased operation. This signal also drives the HALT LED on the BajaPPC-750 circuit board. HRESET* Hard Reset. This input signal is used at power-up to reset the processor.
Debug Header 3-11 3.8 Debug Header In addition to the COP/JTAG interface, the BajaPPC-750 has a debug header at HDR4 on the back of the board to provide easy access to the following signals: Table 3-7. Debug Header Pin Assignments (HDR4)
Page 57
3-12 BajaPPC-750: Central Processing Unit May 2002...
Configuration The BajaPPC-750 has a 32-pin, plastic-leaded chip carrier (PLCC) socket to sup- port up to 512 kilobytes of EPROM or flash memory. The BajaPPC-750 also incor- porates an 8-bit, 4-megabyte flash device and a 64-bit, 8-megabyte flash bank to provide an additional 12 megabytes of User Flash memory.
Configuration Data Register at FEE0,0000 4.2 Boot Memory Configuration The BajaPPC-750 has a 32-pin PLCC socket for either a byte-wide EPROM (up to 512 kilobytes) or a 512-kilobyte flash memory chip. This socketed memory occu- pies physical address space FF90,0000-FF97,FFFF CAUTION.
Register Map 4-1. BajaPPC-750 Flash Bank Select In addition to the four megabytes of paged User Flash, the BajaPPC-750 provides another eight megabytes of 64-bit wide flash, beginning at address FF00,0000 This memory must be accessed with 64-bit transfers from the PowerPC.
A programmable logic device (PLD) maintains these configuration values, which are determined by whether or not specific configuration resistors are physically installed on the BajaPPC-750 circuit board. The following table describes the con- figuration bit selections: Table 4-3. Memory Configuration Bit Values...
) have been carefully tuned for optimum memory cycle times for 100-MHz SDRAMs (running at 83MHz in the current configuration) under a variety of conditions. The table below describes the wait states for the BajaPPC-750. Table 4-4. SDRAM Access Time Required for the BajaPPC-750 Cycle...
SRAM array and supporting circuitry. The M48T35 is pin- and function-compatible with standard JEDEC 32K x 8 SRAMs. The real-time clock and NVRAM are mapped in the BajaPPC-750 memory space beginning at FF9C,0000 CAUTION.
Page 64
Real-Time Clock The Real-Time Clock Configuration Registers contain all of the clock/calendar data and calibration information. Under normal operating conditions, the M48T35 operates as a conventional byte-wide static RAM. If the supply voltage drops below the V (min) threshold, the device automatically protects itself by taking all outputs to high impedance and treating all inputs as “don’t care.”...
BajaPPC-750: On-Card Memory Configuration 4.6 Nonvolatile Memory Map A portion of ROM is reserved by Artesyn for data storage. The following memory map convention allows various operating systems to store their boot parameters without affecting each other. Table 4-5. Nonvolatile Memory Map...
Interrupts Each PMC expansion site supports the four PCI interrupt lines. Initiator/Master The MPC106 can allow the BajaPPC-750 CPU to act as a PCI bus cycle initiator. Target/Slave The MPC106 can act as a PCI bus target for other initiator devices, such as PMC modules, Ethernet devices, or VMEbus controllers.
BajaPPC-750: PMC/PCI Interface 5.2 PMC Module Installation The BajaPPC-750 has two PMC expansion sites—J1x and J2x. A single-width PMC module may be installed at each of these sites, or a double-width module may be installed over both sites. Each site includes a cutout in the front panel for I/O.
3. If the BajaPPC-750 is installed in a system, turn off power to the BajaPPC-750 before removing it from the system. 4. Set up the PMC module and install it on the BajaPPC-750 as specified in the module’s hardware manual.
MAX_GNT (PCI bus access rate) MPC106 Bus Number Assignment Subordinate Bus Number Target Disconnect Timeout Counter The MPC106 registers are accessed through the BajaPPC-750 Configuration Address and Data registers at FEC0,0000 and FEE0,0000 . To initiate an access, write the value 0x8000,00nn (where nn is the MPC106 address of the register you want to access) to the Configuration Address register at FEC0,0000 .
PCI Bridge Configuration Registers Special cycles. Hardwired to zero (ignore SC commands). Bus master. 0=PCI access disable, 1=bus master enable. Memory space access response. 0=disable, 1=enable. I/O space. Hardwired to zero (no response to PCI I/O space accesses). 5.3.2 PCI Status Register The MPC106 PCI Status Register at hex offset 06 records status information for PCI-related events.
BajaPPC-750: PMC/PCI Interface 5.4 PCI Interface The MPC106 must be initialized to enable the functions on the chip and to set up the PCI bridge. The PCI bridge is used to decode portions of the local address bus and the PCI address bus. Fig. 5-3 illustrates how the PCI bridge works.
Section 3.4 for details. 5.4.4 Arbitration PCI arbitration for the BajaPPC-750 is handled by the Winbond Systems Labora- tory W83C553 ISA Bridge chip. This is a programmable arbiter that supports eight masters. Upon power-up in the default mode, the arbiter allows all PCI mas- ters equal access to the local bus.
ACK64*, REQ64* These output signals are used to tell a 64-bit PCI device whether to use the 64-bit or the 32-bit data width. Since the BajaPPC-750 is a 32-bit board, these signals are tied off to indicate the 32-bit data width.
Page 74
PMC INTERRUPTS A, B, C, D. These input lines are used by the PMC module to interrupt the baseboard. The interrupts are routed through the interrupt controller to the CPU on BajaPPC-750. IRDY* INITIATOR READY. This sustained three-state signal indicates that the bus master is ready to complete the data phase of the transaction.
BajaPPC-750. The Universe is optimized to support high-speed processors and allows for numerous bus masters to share the resources on the bus. The VMEbus supports up to 21 boards. Artesyn tests all of its VMEbus boards in a fully-populated backplane.
6.2 Universe Configuration Registers The Tundra Universe II CA91C142 provides a single-chip, VMEbus to PCI inter- face for the BajaPPC-750. Its registers are little-endian and occupy 4 kilobytes of internal memory. These registers are logically divided into three groups as fol- lows: PCI configuration space, Universe device-specific, and VMEbus control and status.
Universe Configuration Registers 6.2.1 Initialization Values Some of the Universe registers have recommended initialization values, as described in the table below. Please see the Universe User’s Manual for more infor- mation on the available power-up options. Table 6-2. Recommended Initialization Values for Universe Configure Register Hex Default...
BajaPPC-750: VMEbus Interface 6.2.2 PCI Base Address Register The Universe PCI Configuration Base Address Register, PCI_BS, at hex offset 010 defines the base address of the Universe register space on PCI and has a resolution of 4 kilobytes. In addition, it determines whether the Universe registers are mapped to memory or I/O space.
Universe Configuration Registers 6-11 VMEbus request mode. Binary 0=demand, 1=fair. VREL VMEbus release mode. Binary 0=release when done, 1=release upon request. VOWN VME ownership bit. (VMEbus masters should not set this bit.) Binary 0=release VMEbus, 1=acquire and hold VMEbus. VOWN_ACK VME ownership bit acknowledge (synchronized to PCI clock).
Since the MPC106 memory controller currently issues a retry upon detecting a memory select error, the maximum slave window size should be limited to the size of the desired memory-mapped region. The slave window can make any portion of the BajaPPC-750 memory map available on the VMEbus. May 2002...
Universe Configuration Registers 6-13 The PCI Slave Image 0 Control Register, LSI0_CTL, at hex offset 100 defines the general VMEbus and PCI bus controls. PWEN Reserved Reserved SUPER Reserved Reserved Register Map 6-5. Universe PCI Slave Image 0 Control, LSI0_CTL Enable the image.
The slave window can make any portion of the BajaPPC-750 memory map available on the VMEbus. The VMEbus Slave Image 0 Control Register, VSI0_CTL, at hex offset F00 defines general VMEbus and PCI bus controls for this image.
Also, slave image spaces must not overlap each other, and master image spaces must not overlap each other. By default, the BajaPPC-750 NVRAM configuration parameters (see Chapter 10) map one VMEbus master and two VMEbus slave images as indicated in the table below: Table 6-3.
Do not perform any byte-, word-, or longword-wide reads/ writes on the VMEbus while a DMA transaction is pending on a BajaPPC-750 that utilizes revision Z1 of the Universe chip. If another VME master attempts a single-beat slave transaction (byte-, word-, or longword-wide read/write) under this condi- tion, the slave transaction following the single-beat slave transaction will occur at a corrupted address.
• VMEbus errors will be reported via interrupt to the PCI master, rather than a target-abort. If the BajaPPC-750 processor is a PCI master (via the MPC106), VMEbus errors translate to an external interrupt (vector 500 ) instead of the MCP/TEA.
Page 96
VMEbus Slave Interface 6-19 if (noError < 0){ exit(); /*At this point the Universe should be mapped to its base address in PCI MEM space - i.e. it’s now available as a normal memory-mapped PCI device*/ /*Let’s first clean up the SYSFAIL line - it’s asserted after power up until otherwise noted*/ universeIO->VCSR_CLR |= ES((int)UNIV_VCSR_SYSFAIL);...
6-20 BajaPPC-750: VMEbus Interface /*VSI0_TO = Translation offset into local PCI space*/ universeIO->VSI0_TO = ES((int)VME_PCI_MEM_TRANS_OFF & 0xFFFFF000); /*Window attributes*/ universeIO->VSI0_CTL = ES((int)(UNIV_VSIX_CTL_EN UNIV_VSIX_CTL_PGM_DATA UNIV_VSIX_CTL_SUPER_SUPER | UNIV_VSIX_CTL_LD32EN /*local PCI is 32 bits wide*/ UNIV_VSIX_CTL_VAS_A32 UNIV_VSIX_CTL_LAS_PCIMEM)); return; 6.5 VMEbus Interrupts The Universe interrupt channel allows interrupts to be mapped either to the PCI bus or VMEbus interface.
LINTx interrupt mask. Binary 0=masked, 1=enabled. For the BajaPPC-750 application, the Universe is configured to send VME inter- rupts as LINT outputs to the interrupt controller programmable logic device (PLD), which interrupts the CPU via the 750_INT* line (see Section 3.4).
BajaPPC-750: VMEbus Interface 6.6 VMEbus System Controller When the BajaPPC-750 circuit board is located in slot 1 of the VME system, the Universe acts as VMEbus system controller. In this capacity, the Universe provides a system clock driver, an arbitration module, an IACK Daisy Chain Driver (DCD), and a bus timer.
Mailboxes 6-23 Two interrupt mapping registers, LINT_MAP2 at offset 340 and VINT_MAP2 at offset 344 , define the mailbox interrupt destinations. For example, writing a value of 000 to LINT_MAP2, bits [2:0], maps the corresponding interrupt source for mailbox 0 to LINT[0]; writing a value of 001 to the same location maps the source to LINT[1];...
6-24 BajaPPC-750: VMEbus Interface 6.10 Location Monitor The Universe location monitor provides a mechanism for broadcasting events across the VME backplane. It is enabled and defined by the Location Monitor Control Register, LM_CTL, at hex offset F64 . The base address is set by the Loca-...
Semaphores 6-25 The interrupt mapping register, LINT_MAP2 at offset 340 defines the location monitor interrupt destinations. For example, writing a value of 000 LINT_MAP2, bits [18:16], maps the corresponding interrupt source for LM0 to LINT[0]; writing a value of 001 to the same location maps the source to LINT[1];...
Page 103
BG0OUT*-BG3OUT* BUS GRANT (0-3) OUT. Totem-pole signals generated by requesters. An output from the BajaPPC-750 (driven by boards not requesting the bus, in response to the bus-grant-in signals), the bus-grant-out signal indi- cates to the next board in the daisy-chain that it may use the bus.
Page 104
VMEbus. The Universe drives this signal low at power-up. On the BajaPPC-750, SYSFAIL* may be driven by the board, and it is possible to read the state of the VMEbus SYSFAIL* sig- nal.
6-28 BajaPPC-750: VMEbus Interface WRITE* WRITE. A three-state signal generated by the master to indicate whether the data transfer cycle is a read or a write. A high level indicates a read operation; a low level indicates a write operation.
6-30 BajaPPC-750: VMEbus Interface Table 6-7. P1 Connector Pin Assignments (Standard Configuration) Row Z Row A Row B Row C Row D No Connection BBSY* No Connection BCLR* No Connection ACFAIL* No Connection BG0IN* No Connection No Connection BG0OUT* No Connection...
Ethernet Interface The BajaPPC-750 provides a local area network (LAN) interface using the Intel (formerly DEC) 21143 PCI/CardBus 10/100-Mb/s Ethernet LAN Controller. The 21143 is a single-chip PCI bus master, supporting direct memory access (DMA) and full-duplex operation on either a 10Mb/s AUI port or 10/100Mb/s Fast Ether- net port with transceiver and clock recovery support from an ICS 1890 PHY device.
BajaPPC-750: Ethernet Interface 7.1.1 Configuration The Intel 21143 allows for complete initialization and configuration from soft- ware. Write operations to reserved portions of the configuration registers com- plete normally, discarding any data. Read operations to these areas also complete normally, returning a value of zero. A hardware reset places the default values in the configuration registers, and a software reset (CSR0, bit 0) has no effect.
The last two pairs of hex numbers correspond to the following formula: n – 1000, where n is the unique serial number assigned to each board. For exam- ple, if the serial number of a BajaPPC-750 is 2867, the calculated value is 1867 (74B ).
7.3 Default Ethernet Boot Device The Intel 21143 supports a variety of Ethernet modes. Since the hardware alone cannot determine the Ethernet configuration, the BajaPPC-750 provides a means for software to detect the mode via the jumper installations at JP1. These jumpers indicate the default Ethernet boot device as follows: Table 7-3.
Ethernet Ports 7.5 Ethernet Ports The BajaPPC-750 has a versatile Ethernet interface. It supports full-duplex opera- tion on either a 10/100Mb/s Fast Ethernet port or a 10Mb/s AUI port. The follow- ing sections describe these ports. 7.5.1 Fast Ethernet The Intel 21143 media-independent interface (MII) and ICS 1890 PHY device sup- port 10/100Mb/s communications for the Fast Ethernet port, which is available at the P3 connector on the front panel.
BajaPPC-750: Ethernet Interface 7.6 Cabling Considerations The BajaPPC-750 Ethernet interface complies with the IEEE P802.3u/D3 and ANSI TP-PMD v2.0 UTP CAT 5 standards for Fast Ethernet. Since the 21143 LAN con- troller can operate at up to 100 Mb/s, UTP CAT 5 (unshielded twisted pair, cate- gory 5) cabling is highly recommended.
8.1 PCI to ISA Bridge The PCI to ISA bus interface for the BajaPPC-750 is provided by a Winbond Sys- tems Laboratory W83C553 integrated circuit. The W83C553 ISA bridge features: •...
The W83C553 is an integrated device that bridges the PCI and ISA busses and performs PCI arbitration. In addition, it has other features (such as common ISA I/O functions) which are unimplemented for the BajaPPC-750. In its basic operation, the W83C553 translates cycles from the PCI bus onto the ISA bus, performing as a standard ISA bus controller with data buffering logic.
Page 120
PCI to ISA Bridge Table 8-2. W83C553 Internal Register Summary — Continued Hex Offset Type Name Default AT System Control AT Bus Control PCI Arbiter Priority Control PCI Arbiter Priority Extension Control PCI Arbiter Priority Enhanced Control PCI Arbiter Control DMA Controller I/O Registers 00;...
The SMC FDC37C935 Ultra I/O controller is a versatile single-chip device that provides support for keyboard, mouse, hard disk, floppy disk, parallel port, and serial port input/output. NOTE. Only the parallel port and high-speed serial channels are utilized in the BajaPPC-750 implementation of this chip. May 2002...
I/O Controller 8.2.1 Block Addressing The CPU accesses the Ultra I/O controller through a series of read/write registers, which have configurable base addresses. All of the I/O registers are 8 bits wide with the exception of a 16-bit IDE data register at port 1F0 .The following table summarizes the I/O port addressing scheme: Table 8-3.
Page 123
BajaPPC-750: Serial and Parallel I/O Table 8-4. Ultra I/O Configuration Registers — Continued Hex Index Access Hard Reset Soft Reset Register Name TEST 3 Logical Device 0 Configuration Registers (FDD) Activate 60, 61 03, F0 03, F0 Primary Base I/O Address...
Page 124
I/O Controller Table 8-4. Ultra I/O Configuration Registers — Continued Hex Index Access Hard Reset Soft Reset Register Name IR Options Register Logical Device 6 Configuration Registers (RTC) Activate Primary Interrupt Select Real Time Clock Mode Register Serial EEPROM Mode Register Serial EEPROM Pointer Write EEPROM Data bits [6:0] R...
BajaPPC-750: Serial and Parallel I/O 8.3 Serial Ports The Ultra I/O controller provides two high-speed Universal Asynchronous Receiver/Transmitter (UART) devices. Each UART channel is programmable for baud rate, start/stop bits, parity, and prioritized interrupts. Please refer to the Ultra I/O Controller User’s Manual for complete information on the serial ports.
Serial Ports ERDAI Enable received data available interrupt. 1 = enable ETHREI Enable transmitter holding register empty interrupt. 1 = enable ELSI Enable receiver line status interrupt. Error sources are Overrun, Parity, Framing, and Break. 1 = enable EMSI Enable modem status interrupt. This bit is set when MSR bits change state.
8-10 BajaPPC-750: Serial and Parallel I/O Even parity select. With PEN enabled, 0 = odd parity and 1 = even parity STICK Stick parity bit. With PEN enabled, 1 = parity bit transmitted and detected by receiver in opposite state from EPS bit BREAK Set break control bit.
Serial Ports 8-11 Parity error. 1 = parity error detected. This bit is reset when read. Framing error. 1 = framing error detected (no stop bit). This bit is reset when read. Break interrupt. 1 = received data was held at logic “0” for longer than a full word transmission time.
8-12 BajaPPC-750: Serial and Parallel I/O 8.3.3 Programmable Baud Rate The Ultra I/O controller has a programmable baud rate generator that works in conjunction with the two 8-bit Divisor Latch registers, DLL and DLM. The baud rate generator can divide the clock input by a number from 1 to 65535, which is stored as a 16-bit binary value in the DLL and DLM registers.
8.3.4 Connectors and Cabling The Ultra I/O Controller provides two standard EIA-232 serial I/O ports. Serial Port A is available at the BajaPPC-750 front panel P4 connector (standard con- figuration only) and at the VMEbus P2 connector (optional configuration). Table 8-7 lists the pinouts for the front panel connector. A console adapter (Fig. 8- 2) also is available for this connector, providing connectivity with a standard DB25 connector.
Figure 8-2. Console Adapter #308A006-48 for Serial Port A Serial Port B is available at header HDR3 (see Table 8-8 for pinouts) on the BajaPPC-750 circuit board and also at the VMEbus P2 connector (see Table 6-10 for pinouts). Fig. 8-3 shows the cable assembly for header HDR3.
(with strain relief, connector up) AMP P/N 747052-2 Figure 8-3. Cable Assembly #314A002-12 for Serial Port B 8.3.5 Handshaking Jumper A jumper on the BajaPPC-750 circuit board determines whether or not EIA-232 handshaking is enabled as follows: Table 8-9. EIA-232 Handshaking Configuration Jumper Jumper...
8-16 BajaPPC-750: Serial and Parallel I/O 8.4.1 Parallel Port Addressing The base address for the BajaPPC-750 parallel port is FE00, 0110 . The CPU can read/write the control and data registers. In Enhanced Parallel Port (EPP) mode, the status register also is read/write. (The EPP registers are available only in EPP mode.
Parallel Port (Optional) 8-17 Paper End. Read by CPU as bit 5 of Printer Status Register. 0 = paper is loaded, 1 = paper end detected SLCT Printer Selected Status. Read by CPU as bit 4 of Printer Status Register. 0 = not selected, 1 = selected nERR Error.
Page 135
8-18 BajaPPC-750: Serial and Parallel I/O May 2002...
Counter/Timers The interrupt control and counter/timer functions for the BajaPPC-750 are han- dled by a programmable logic device (PLD). Interrupts from the processor, reset facilities, Ethernet, VMEbus, PMC, and ISA subsystems are routed by this PLD. It is addressed by four lines from the boot ROM and has 32 DRAM data lines.
BajaPPC-750: Counter/Timers 9.2.1 Period Register The Period Register, CTPR, specifies the period to be used by the counter/timer. The value written indicates the number of 14.31818 MHz clocks between inter- rupts. This register can specify periods from 120 nanoseconds to 4.29 minutes.
Counter/Timer Registers The bits (0:7) return the current state of the timer. These status bits are modified by the timer and can change at any time. The interrupt pending, overflow, and count-in-progress status bits are directly controlled by the state of the timer, and are used to determine the state of the timer.
BajaPPC-750: Counter/Timers 9.2.5 Mode Register The timer Mode Register, CTMR, is used to initialize and start the timer. The for- mat of this register is described in the following table. StrStp IntrEn OvFlEn CTMode Enable Register Map 9-2. Counter/Timer Mode, CTMR...
Monitor The BajaPPC-750 monitor consists of about 150 C language functions. The moni- tor commands are a subset of these functions that provide easy-to-use tools for configuring the BajaPPC-750 at power-up or reset, as well as for communications, downloads, and other common tasks. This chapter describes the monitor’s fea- tures, basic operation, and configuration sequences.
DEC 21143A Test on Port A PASSED Serial Port 1 Test PASSED Serial Port 2 Test PASSED Clearing memory on powerup... Copyright Artesyn Technologies, 1999 Created: Mon Jun 7 11:51:11 1999 ======= Baja750(TM) Debug Monitor ========= Artesyn Technologies. Ver 1.0...
Monitor Features 10-3 10.1.2 Command-Line History The monitor maintains a history of up to 50 command lines for reuse. Press the <ESC> key from the command line to access the history. k or - Move backward in the command history to access a previous command.
10-4 BajaPPC-750: Monitor Change text from the cursor to the end of the line. Delete. Use additional commands with d to delete words or groups of words, as shown below. dw or dW Delete a word after the cursor (capital W ignores punctuation).
10.2 Basic Operation The BajaPPC-750 monitor performs various configuration tasks upon power-up or reset. This section describes the monitor operation as it relates to these specific tasks and the memory initialization. The flowcharts beginning on page 9 illus- trate the power-up/reset sequence (bold texts in flowcharts indicate NVRAM parameters).
Page 145
10-6 BajaPPC-750: Monitor 5. Write a “3” to the LED display. Activiate serial port 1 on the Ultra I/O control- ler. 6. Write a “4” to the LED display. Perform a rotating bit test on the scratch regis- ter of the UART. If an error is detected, the LED display will flash “A”...
Page 146
Basic Operation 10-7 DRAM parity test flags (Table 10-1) report failures. If an error occurs, the test attempts to determine which byte lanes failed the parity test. Afterwards, the diagnostics continue with parity disabled. 16. Write a “C” to the LED display. Perform a rotating bit test on the first 0x40000 of memory required by the monitor.
NVRAM, test, remote host, arithmetic, and other commands. NOTE. The BajaPPC-750 monitor performs argument checking for com- mands, but not for functions. (Please see Section 10.13 for function reference.) 10.3.1 Command Syntax...
10-14 BajaPPC-750: Monitor octal 1234567:8 binary 101010:2 • The default numeric base for functions is hexadecimal. Some commands use a different default base. • String arguments must start and end with double quotation marks (“). For example, typing the argument “Foo” would result in a string argument with the value Foo, which is passed to the command.
Boot Commands 10-15 bootbus uses the “LoadAddress” field from the nonvolatile memory definitions group ‘BootParams’ (see Table 10-3) as the base address of a shared memory com- munications structure, described below: struct BusComStruct unsigned long MagicLoc; unsigned long CallAddress; The structure consists of two unsigned long locations. The first is used for syn- chronization, and the second is the entry address of the application.
10-16 BajaPPC-750: Monitor In order for the monitor to jump to the start of the program, the first long word of the EPROM image must contain a branch link (bl) instruction of the form 0100,10xx,xxxx,xxxx,xxxx,xxxx,xxxx,xx01 You can avoid jumping to an EPROM, even if a valid one is present, by changing the nonvolatile configuration parameter “BootDev”...
Intel MCS-86 Hexadecimal Format MOT_EXORMAT 1 Motorola Exormax Format (S0-S3,S7-S9 Records) HK_BINARY 2 Artesyn Binary Format The nonvolatile configuration is modified with the NVRAM commands nvdis- play and nvupdate. When the application is called, three parameters are passed to the application from the nonvolatile memory boot configuration section.
10-18 BajaPPC-750: Monitor 10.5 Memory Commands The memory commands provide facilities for manipulating specific regions of the memory. For some memory commands, the data size is determined by the follow- ing flags: for data in 8-bit bytes for data in 16-bit words for data in 32-bit long words 10.5.1 checksummem...
10-20 BajaPPC-750: Monitor 10.5.7 findmem findmem -[b,w,l] searchval startaddr endaddr searches memory for a value from address startaddr to address endaddr for memory locations specified by the data searchval. DEFINITION int FindMem(char Flag, unsigned long SearchVal, unsigned long StartAddr, unsigned long EndAddr, unsigned long InvFlag) 10.5.8 findnotmem...
Memory Commands 10-21 10.5.11 setmem setmem -[b,w,l] address allows memory locations to be modified starting at address. setmem first displays the value that was read. Then you can type new data for the value or leave the data unchanged by entering an empty line. If you press <cr>...
10-22 BajaPPC-750: Monitor 10.5.14 um um -[b,w,l] base_addr top_addr performs a destructive memory test from base_addr to top_addr. This is done by first clearing all memory in the range speci- fied, doing a rotating bit test at each location, and finally filling each data loca- tion with its own address.
Flash Commands 10-23 10.6 Flash Commands The flash commands affect the User Flash devices on the BajaPPC-750 circuit board. They return zero upon successful completion of the operation, or –1 upon failure. The flash commands protect the monitor code after it is copied into the flash memory.
10-24 BajaPPC-750: Monitor 10.6.4 flasheraseblk flasheraseblk destination erases a 64-kilobyte block of flash memory that con- tains the destination address. DEFINITION int FlashEraseBlk(unsigned char *FlashAddr) 10.6.5 wideflashblkwr wideflashblkwr source destination bytecount writes bytecount from the source address to the destination address (64-bit wide flash memory). All accesses must be 64-bits wide, so bytecount must be a multiple of 8 bytes.
Artesyn-defined and monitor-defined nonvola- tile sections. The nonvolatile memory configuration information is used to com- pletely configure the BajaPPC-750 at reset. The utility command configboard can also be used to reconfigure the board after modifications to the nonvolatile memory.
10-26 BajaPPC-750: Monitor To quit the display, press <ESC> or Q. To save the changes, type the command nvupdate. To quit without saving the changes, type the command nvopen. Table 10-3 shows all the groups and fields you can edit with the nvdisplay com- mand.
Page 166
NVRAM Commands 10-27 Table 10-3. NVRAM Configuration Groups — Continued Artesyn Group Fields Purpose Optional Values Default ExtMastOffset Set offset for extended (memory range) space master access (address = base + offset) ExtEnabled Enable extended slave map False (True, False)
Page 167
10-28 BajaPPC-750: Monitor Table 10-3. NVRAM Configuration Groups — Continued Artesyn Group Fields Purpose Optional Values Default Cache InstrCache Turn instruction cache on or (On, Off) DataCache Turn data cache on or off (On, Off) CacheMode Select the cache mode...
Page 168
(0, 1, 2, 3, 4, 5, 6, 7) taining the application (BootFlash only) HardwareConfig, Manufacturing, Service Reserved for use by Artesyn Communicaton Products manufacturing. EXAMPLE 1. At the monitor prompt, type: nvdisplay 2. Press <cr> until the group you want to modify is displayed. An example for the group “Console”...
“revlev” ecolev writes is used to initialize the nonvolatile memory to the default state defined by the monitor. First nvinit clears the memory and then writes the Artesyn and monitor data back to memory. It also saves the changes in NVRAM.
10.7.6 Default Boot Device Configuration Example The default boot device is defined in the nonvolatile memory group ‘Boot- Params,’ in the field “BootDev.” When the BajaPPC-750 is reset or powered up, the monitor checks this field and attempts to boot from the specified device.
Page 171
10-32 BajaPPC-750: Monitor 1. At the monitor prompt, type: nvdisplay 2. Press <cr> until the ‘BootParams’ group is displayed. Group ‘BootParams’ BootDev Bus (None,Serial,ROM,Bus,EPROM,Stos) LoadAddress 0x40000 ROMBase 0xfff30000 ROMSize 0x40000 DevType DevNumber ClrMemOnBoot False(False, True) [SP, CR to continue] or [E, e to Edit] 3.
NVRAM Commands 10-33 3. Press E to edit the group. 4. Press <cr> until the “BootDev” field is displayed. 5. Type the new value “Serial.” 6. Press <cr> until the “DevType” field is displayed. 7. Type the new value for “DevType”; for example, 2 selects downloads in Arte- syn binary format.
10-34 BajaPPC-750: Monitor 10.8 Test Commands The following on-card functional tests are available to be run any time you desire. The nonvolatile configuration memory can be used to enable or disable the exe- cution of these tests on power-up and reset (see the nvdisplay monitor com- mand’s Misc group in Table 10-3).
Test Commands 10-35 • Verifies that Ethernet controller interrupts can be generated, that the CPU responds to the interrupts, and that the interrupt condition can be cleared. • Assures that an Ethernet controller access to a non-responding local bus space results in an ABORT interrupt and that writing to the ABORT-clear address clears the interrupt.
10-36 BajaPPC-750: Monitor one addresses, rotating-zero addresses, and alternating one and zero addresses. The L2 synchronous RAM parity is disabled during the test, and the test restores the L2 cache to the original state when it is finished. DEFINITION int cachetest(void) 10.9 Remote Host Commands...
Remote Host Commands 10-37 10.9.2 download download -[b,h,m] address provides a serial download from a host computer to the board. download uses binary, hex-Intel, or Motorola S-record format, as specified by the following flags: binary (address not used) hex-Intel (load address in memory = address + record address) Motorola S-record (load address in memory = address + record address) If no flag is specified, the default format is hex-Intel.
Page 177
10-38 BajaPPC-750: Monitor segment (ssss) + offset (oooo) = address (aaaaa) For addresses with fewer than 16 bits, the segment portion of the address is unnecessary. The hex-Intel checksum is a two’s complement checksum of all data in the record except for the initial colon (:). In other words, if you add all the data bytes in the record, including the checksum itself, the lower eight bits of the result will be zero if the record was received correctly.
Page 178
Remote Host Commands 10-39 is the checksum. EXAMPLE :0400100050D55ADF8E In this example, there are four data bytes in the record. They are loaded to address 10 ; if any segment value was previously specified, it is added to the address. 50 is loaded to address 10 , D5 to address 11...
10-40 BajaPPC-750: Monitor loads byte 20 to address 00 loads byte 82 to address 01 loads byte E4 to address 02 loads byte 46 to address 03 loads byte A8 to address 04 loads byte 0A to address 05 loads byte 6C...
Page 180
Remote Host Commands 10-41 is the count of data and checksum bytes. d1...dn are the data bytes. is the checksum. S0 records are optional, and can contain any user-defined data. EXAMPLE S008763330627567736D In this example, the length of the field is 8, and the data characters are the ASCII representation of “v30bugs.”...
Page 181
10-42 BajaPPC-750: Monitor EXAMPLE S5030343B6 In this example, the number of bytes is 3, the checksum is B6 , and the count of the S1-records, S2-records, and S3-records in the file is 343 Termination and Start Address Records (S7, S8, S9)
Arithmetic Commands 10-43 byte 4E to address 08 byte FA to address 09 byte FF to address 0A byte FE to address 0B S5030001FB indicates that only one S1-record, S2-record, or S3-record was sent. S9030008F4 indicates that the start address is 00000008 10.10 Arithmetic Commands The commands in this group allow for basic arithmetic functions to be performed at the command line.
10-44 BajaPPC-750: Monitor 10.10.3 mul mul number1 number2 multiplies two integers in hexadecimal, binary, octal, or decimal (default) from the monitor. The default numeric base is decimal. Specify hex by typing “:16” at the end of the value, octal by typing “:8” or binary by typing “:2.” The result of the operation is displayed in hex, decimal, octal, and binary.
Other Commands 10-45 configboard can be used to reconfigure the board’s various interfaces after modification of the nonvolatile memory configuration (using nvdisplay or nvset). This command accepts no parameters. DEFINITION void ConfigBoard() 10.11.2 config_PCI config_PCI determines if any PMC modules or PCI devices are present and, if so, uses software polling to determine their type.
Warning NV memory is invalid - Consult the introduction to this chapter for information using defaults. about reset conditions. 1. Artesyn Communications Products, 1-800-327-1251. Customer Services email support@artesyncp.com, Test Services email serviceinfo@artesyncp.com. May 2002...
Monitor Function Reference 10-47 10.13 Monitor Function Reference The BajaPPC-750 monitor functions fall into two groups: BajaPPC-750-specific and standard Artesyn monitor functions. For convenience, related functions are combined in groups under a single name. If you can not find a particular func- tion, please refer to the index for the appropriate page number.
10-48 BajaPPC-750: Monitor 10.14.2 Hardware Implementation Dependent Register SYNOPSIS unsigned long getHID0(void) void setHID0(unsigned long 32-bit) void clrHID0(unsigned long 32-bit) DESCRIPTION GetHID0 returns the value of the CPU’s Hardware Implementation Depen- dent register (HID0). Functions SetHID0 and ClrHID0 set and clear the bits in HID0.
Address is not long-word aligned. NOTE. The MPC106 supports 8-, 16-, and 32-bit reads in the ROM, so readw_bus8 is not necessary. However, it is included for compatibil- ity with other Artesyn products. 10.14.5 Display Processor Temperature SYNOPSIS void DisplayTemp(void)
10-50 BajaPPC-750: Monitor 10.15 Standard Artesyn Functions This section describes functions which are part of the standard Artesyn monitor implementation. 10.15.1 Conversions SYNOPSIS unsigned long atoh(char *p) unsigned long atod(char *p) unsigned long atoo(char *p) unsigned long atob(char *p) unsigned long atoX(char *p, int Base)
Ethernet, and Stos. ARGUMENTS The flag PowerUp indicates if this function is being called for the first time. If so, memory must be cleared. The BajaPPC-750 clears memory on reset, so PowerUp is always true. SEE ALSO StartMon.c, NvMonDefs.h, NVTable.c, “Boot Commands”, Section 10.4.
10-52 BajaPPC-750: Monitor void L2_off(void) DESCRIPTION As the names indicate, these functions enable, disable, invalidate, and flush the instruction and data caches. The disable_dcache function calls flush_dcache before disabling the data cache. L2_off should not be called until disable_dcache and flush_L2 have been executed.
Standard Artesyn Functions 10-53 Both serial ports can be configured to use 5 to 8 data bits, 1 or 2 stop bits, the handshake control lines, and odd, even, or no parity. 10.15.6 Exceptions SYNOPSIS vectinit(HANDLER default_handler HANDLERPARAM default_param, unsigned long vectmask)
10-54 BajaPPC-750: Monitor The function disconnecthandler modifies the interrupt table entry associ- ated with Vector to use the unexpected interrupt handler. It also de-allocates the memory used for the interrupt wrapper allocated by connecthandler. Because both connecthandler and disconnecthandler use the Malloc and Free facilities, it is necessary for memory management to be initialized.
Standard Artesyn Functions 10-55 The tx_empty and tx_empty_d functions determine whether the transmit- ter is available for sending a character on the console or download port, respectively. If the transmitter is available, they return TRUE; otherwise, they return FALSE. 10.15.8 Initialize Board...
10-56 BajaPPC-750: Monitor struct Fifo { unsigned char *Top; unsigned char *Bottom; int Length; unsigned char *Front; unsigned char *Rear; int Count; } Fifo; The function InitFifo initializes the FIFO control structure specified by FPtr to use the unsigned character buffer starting at StartAddr that is of size Length.
Standard Artesyn Functions 10-57 10.15.12 Interrupt Error SYNOPSIS void IntrErr(unsigned char Vector) DESCRIPTION When an unexpected interrupt is received, it is necessary to remove the error condition before returning to the monitor. This function is called from the low-level interrupt service routine, which parses the interrupt record for the address and the vector associated with the interrupt.
Standard Artesyn Functions 10-59 The function MemReset sets the free memory pool to the empty state. This function must be called once for every reset operation and before the mem- ory management facilities can be used. It is also necessary to call this func- tion before every call to MemAdd.
The NvHkOffset and NvMonOffset functions describe where in the nonvol- atile memory device the Artesyn- and monitor-defined data sections begin. In general, the Artesyn-defined data section and the monitor data section reside in the user-writeable section of the nonvolatile memory device. The returned value is the offset in bytes from the beginning of the device in which the sec- tion is loaded.
10-62 BajaPPC-750: Monitor NVOp(NV_OP_CLEAR, &NVEx, sizeof(NVEx), 0); NVOp(NV_OP_SAVE , &NVEx, sizeof(NVEx), 0); NVOp(NV_OP_OPEN , &NvEx, sizeof(NVEx), 0); NVOp(NV_OP_FIX, &NVEx, sizeof(NVEx), 0); NVOp(NV_OP_SAVE , &NVEx, sizeof(NVEx), 0); The clear, save, and open operations cause the nonvolatile device to be cleared and filled with the NVEx data structure; then the data structure is filled from nonvolatile memory.
Standard Artesyn Functions 10-63 10.15.19 Serial Support SYNOPSIS unsigned char getchar (void) void putchar(char c) int KBHit(void) int TxMT(void) void ChBaud(int Baud) DESCRIPTION The serial support functions defined here provide the ability to read, write, and poll the monitor’s console device, which provides the user interface. The serial port is configured at reset according to the nonvolatile memory config- uration.
10-64 BajaPPC-750: Monitor 10.15.20 Unexpected Interrupt Handler SYNOPSIS SetUnExpIntFunct(unsigned long Funct) DESCRIPTION If desired, a program can call the SetUnExpIntFunct function to attach its own interrupt handler to all unexpected interrupts. This function attaches the handler specified by Funct. The new interrupt handler must determine the source of the unexpected interrupt and remove it.
Standard Artesyn Functions 10-65 The function StrLen determines the length of the null terminated string Str and returns the length. If the length exceeds the monitor defined limit MAXLN, the function returns MAXLN. The function StrCat concatenates the string SrcStr onto the end of the string DestStr.
10-66 BajaPPC-750: Monitor The function LongAddrTest performs a long-oriented test of the specified memory region. Each location is tested by writing the location address through the entire memory region and verifying each location. The function RotTest performs a long word-oriented test of the specified memory region.
Page 206
Standard Artesyn Functions 10-67 DESCRIPTION This function serves as a System V UNIX®-compatible printf() without float- ing point. It implements all features of %d, %o, %u, %x, %X, %c, and %s. An additional control statement has been added to allow printing of binary val- ues (%b).
Page 213
10-5 bus clear 6-26 switch 2-13 bus error 6-26 return merchandise authorization (RMA) 2-18 bus grant 6-26 returning the board to Artesyn 2-18 bus request 6-26 data bus 6-26 data strobe 6-26 data transfer acknowledge 6-26 interrupt acknowledge 6-27...
Page 215
SECURE ASSET SOLUTIONS Artisan Scientific Corporation / Artisan Technology Group is not an authorized distributor of Artesyn Embedded Technologies, Inc. or Artesyn products. Artesyn Embedded Technologies® is a trademark of Artesyn Embedded Technologies, Inc. and is used for identification purposes only.
Need help?
Do you have a question about the BajaPPC-750 and is the answer not in the manual?
Questions and answers