Page 1
Preliminary User’s Manual startWARE-GHS-V 4131 Starter Kit V 4131 Document No. U16417EE1V0UM00 Date Published February 2003 NEC Corporation 2003 Printed in Germany...
Page 2
The information in this document is subject to change without notice. No part of this document may be copied or reproduced in any form or by any means without the prior written consent of NEC. NEC assumes no liability for infringement of patents or copyrights of third parties by or arising from use of a product described herein.
Page 3
NEC Electronics products listed in this document or any other liability arising from the use of such NEC Electronics products. No license, express, implied or otherwise, is granted under any patents, copyrights or other intellectual property rights of NEC Electronics or others.
Some information contained in this document may vary from country to country. Before using any NEC product in your application, please contact the NEC office in your country to obtain a list of authorized representatives and distributors. They will verify: •...
Preface Readers This manual is intended for users who want to understand the functions of the startWARE-GHS-V 4131 Starter Kit. Purpose This manual presents the hardware manual of startWARE-GHS-V 4131 Starter Kit.. Organization This system specification describes the following sections: •...
4131. Note: Updates to this User Manual, additional documentation and/or utilities for startWARE-GHS-V 4131, if available, may be downloaded from the NEC WEB page(s) http://www.nec.de/support 1.3 Related Documents 4131 Preliminary User’s Manual Hardware, NEC Doc. Number U15350EJ2V0UM00 4131 Preliminary Data Sheet, NEC Doc.
Chapter 1 Introduction 1.4 Used Abbreviations There are some abbreviations used in this document, which may require additional information to be understood correctly. • RFU - reserved for future use • NC - not connected • GND - ground • GHS - Green Hills •...
Chapter 2 Board Features Startware-GHS-V 4131 is a low-cost evaluation board for NEC’s V 4131 64-bit high-performance microprocessor. It allows evaluation of the processor’s performance as well as potential system per- formance, because the V 4131 can also be operated together with its typical system environment.
2 on-chip UARTs, an Ethernet Interface realized with RTL8139C, a PCI interface, a clock syn- chronous, serial interface, Real Time Clock (RTC) timers, and DMA channels. The FGPA increases the number of general purpose I/O pins. These boards are shipped with the NEC S-Boot monitor and two other monitors pre-installed in the Flash memory.
Chapter 3 Functional Description Figure 3-2: FPGA State Diagram – Power on Logic RESET = 1 Power off POWERSWITCH = 1 POWER := 1 BATTINT_N := 1 Ignition MPOWER = 1 Power on POWERSWITCH = 0 Power on POWERSWITCH = 1 BATTINT_N := 0 Shutdown MPOWER = 0...
Chapter 3 Functional Description 3.4 Memory Mapping The V 4131 processor regards external devices like the FPGA on the evaluation board as memory mapped I/O, which is controlled with one of the external chip select signals, IOCS0#. An access to an FPGA register is executed in the same way than a memory access.
Chapter 4 Detailed Functional Description Usage of V 4131 GPIO Pins Several GPIO pins of the V 4131 are directly used by the FPGA and other circuitry; therefore they can- not be used as user defined I/O pins. There is a total of 7 GPIOs freely usable; 4 GPIOs can additionally be used, if the debug serial I/O of the V 4131 is not used.
Chapter 4 Detailed Functional Description 4.2 Jumper Settings Before power-on, the board should be configured through the jumpers. The jumper settings are as shown in the following tables. The default setting is marked as a shaded area in the column entitled “Function”;...
Chapter 4 Detailed Functional Description 4.2.2 Endianness Setting Jumper CN25 selects the endianness as described below: Table 4-5: Jumper positions for endianness setting CN25 Endianness Little Endian Big Endian 4.2.3 Data Bus Width Setting The V 4131 can work with a 32-bit wide and with a 16-bit wide memory system. A 16-bit wide bus con- figuration reduces system performance but frees 16 data lines which can then be used as GPIOs.
Chapter 4 Detailed Functional Description 4.2.4 MIPS16 Enable Setting The V 4131 supports the MIPS16 instruction set extension as defined by MIPS. However before run- ning MIPS16 code, the MIPS16EN pin must driven high during RTCRST#. Jumper CN27 defines whether the execution of MIPS16 instructions on the V 4131 is enabled or not as described below: Table 4-7: Jumper positions for MIPS16 Enable setting CN27...
Chapter 4 Detailed Functional Description 4.2.6 Jumpers for Power Supply Control Some jumpers on the evaluation board are just for current measurement purposes; they disconnect parts of the power supply completely when they are not present. JP2, JP3, JP4, JP9, JP10 and JP11 belong to this category.
Chapter 4 Detailed Functional Description Table 4-9: Jumper positions for power supply control (2/2) JP11 VDD1.5 VDD1.5 not supplied VDD1.5 supplied 4.2.7 Jumpers for Debug SIU and GPIOs The pins for the debug serial interface of the VR4131 are shared with general purpose I/O pins and can be configured to either usage with the jumpers at CN29.
Chapter 4 Detailed Functional Description 4.3 Switch Settings 4.3.1 DIP Switch Settings The V 4131 Evaluation Board has two 8-bit DIP-switches to define several settings. Figure 4-2: DIP switch setting for SW1 and SW2 SW1 is defined as follows: Table 4-11: DIP switch setting for SW1 SW1-1 SW1-2 Boot Monitor...
Chapter 4 Detailed Functional Description 4.3.2 Other Switch Settings The board is equipped with 4 more switches related to powering up the board. The main power switch is SW3 on the front side of the board. It directly connects power to the switching regulators and activates LEDs D1, D2 and D7.
Chapter 4 Detailed Functional Description 4.4.2 Usage of the N-Wire ICE Connector (CN1) For using the N-Wire ICE (RTE-1000-TP) connect the ICE to CN1. Figure 4-4: N-Wire Connector top view CN1 is directly connected to the V 4131 N-Wire-Interface. RMODE_N/JTDI JTCK JTMS JTDO...
Chapter 4 Detailed Functional Description 4.4.3 Using the Serial Interface (CN16) The V 4131 has two on-chip serial interfaces, called the SIU (serial interface unit) and the DSIU (debug SIU). The SIU interface conforms to the RS232-C communication standard and supports up to 1.15Mbps.
Chapter 4 Detailed Functional Description 4.4.4 Usage of Debug Serial Interface (CN17) The pins for the debug serial interface of the V 4131 are shared with GPIOs and are software config- urable to either function. Both types of usage are supported by the V 4131 evaluation board;...
Chapter 4 Detailed Functional Description 4.4.5 Using the FIR Interface For using the FIR interface the N-Wire ICE (RTE-1000-TP-EE) must be disconnected from CN1. JP1 must disable the N-Wire-Interface of the V 4131. JP5 connects the IRDOUT_N/JTDO signal to the FIR module.
Chapter 4 Detailed Functional Description 4.4.7 General Purpose IOs at CN11 There are several possibilities to connect user hardware to the board; one of them is using I/O ports. The V 4131 evaluation board provides two kinds of I/O ports: GPIO’s are realized in the CPU (V 4131) and controlled using the respective GIU control registers in the V 4131.
Chapter 4 Detailed Functional Description 4.4.8 General Purpose IO’s at CN12 and CN13 These FPGA_I_O’s are realized in and connected to the FPGA. The CPU controls these I/O’s and each I/O can be defined as input or output separately. Control is done via a set of four registers in the FPGA: FPGA_I_O_MODEREGL, FPGA_I_O_MODEREGH, FPGA_I_O_REGL, and FPGA_I_O_REGH.
Chapter 4 Detailed Functional Description 4.4.10 I/O Board Connector CN9 The V 4131 evaluation board offers two “specialised” extension connectors; one is referred to as I/O Board connector. It is a 160-pin (5x32) VME-style connector that carries the complete PCI bus (with REQ2_N and GNT2_N) and several additional signals like GPIOs from the CPU, FPIOs from the FPGA and power control signals of the V 4131.
Chapter 4 Detailed Functional Description 4.4.11 Ravin Board Connector CN8 The other “specialised” connector CN8 uses a 96-pin (3x32) VME-style connector, that carries the CPU’s buffered address and data bus and I/O control signals. Three CPU GPIOs are routed to the con- nector as well.
Chapter 4 Detailed Functional Description 4.5 FPGA Register Set The FPGA has seventeen registers that allow to control extra I/O ports, a LED display and several other functionalities. This chapter explains the register programming functions register by register. The proc- essor should access these registers with uncached load/store operations at the addresses shown in the table below: Table 4-19: FPGA register set...
Chapter 4 Detailed Functional Description 4.5.2 MODE_REG (0x0A00 0004) Name Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reset Name Reserved Reserved Reserved POWERMODE Reserved Reserved Reserved LEDMODE Reset This register determines, how information in the LED register is used to control the 7-segment display on the board.
Chapter 4 Detailed Functional Description 4.5.3 LEDREG (0x0A00 0008) Name LED15 LED 14 LED 13 LED 12 LED 11 LED 10 LED 9 LED 8 Reset Name LED 7 LED 6 LED 5 LED 4 LED 3 LED 2 LED 1 LED 0 Reset Name...
Page 44
Chapter 4 Detailed Functional Description Name Function (7:0) LED (7:0) LED_1 LED_2 If LEDMODE = 0, LED (7:4) will be decoded as following: LED (7:4)= 0000: LED_1(7:0) = 1010_0000 LED (7:4)= 0001: LED_1(7:0) = 1111_1001 LED (7:4)= 0010: LED_1(7:0) = 1100_0100 LED (7:4)= 0011: LED_1(7:0) = 1101_0000 LED (7:4)= 0100:...
Chapter 4 Detailed Functional Description 4.5.4 DIPSWITCHREG (0x0A00 000C) Name SW1-1 SW1-2 SW1-3 SW1-4 SW1-5 SW1-6 SW1-7 SW1-8 Reset Name SW2-1 SW2-2 SW2-3 SW2-4 SW2-5 SW2-6 SW2-7 SW2-8 Reset The DIPSWITCHREG register is a read only register that reflects the setting of the switches SW1 and SW2.
Chapter 4 Detailed Functional Description 4.5.5 FLASHACCREG (0x0A00 0010) Name Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reset Name Reserved Reserved Reserved Reserved Reserved Reserved FRDY VPEN Reset This register controls write access to the on-board flash memory. If jumper JP7 is set, the V 4131 can set the VPEN pins on the on-board flash memories to active level by writing to this register.
Chapter 4 Detailed Functional Description 4.5.6 CSICONTREG (0x0A00 0014) Name Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reset Name Reserved Reserved Reserved Reserved RQC1 RQC0 GNTC1 GNTC0 Reset The CSICONTREG provides a software handshake for multi-master configurations on the CSI interface of the V 4131.
Chapter 4 Detailed Functional Description 4.5.7 FPGAINTREG (0x0A00 0018) Name INTA1_N INTB1_N INTC1_N INTD1_N INTA2_N INTB2_N INTC2_N INTD2_N Reset Name INTE_N FPIO4 RQC0 RQC1 Reserved Reserved Reserved LWAKE Reset This register reflects the current value of the interrupt signals of the PCI slot, the I/O Board and the on- board Ethernet controller.
Chapter 4 Detailed Functional Description 4.5.8 FPGAINTENREG (0x0A00 001C) Name INTA1_EN INTB1_EN INTC1_EN INTD1_EN INTA2_EN INTB2_EN INTC2_EN INTD2_EN Reset Name INTE_EN FPIO4_EN RQC0_EN RQC1_EN Reserved Reserved Reserved Reserved Reset This register allows to enable/disable the interrupt signals coming from the PCI slot, the I/O Board and the on-board Ethernet controller.
Page 50
Chapter 4 Detailed Functional Description Name Function INTA1_EN Interrupt enable for INTA1_N from PCI slot. 1: interrupt enabled Note 0: interrupt disabled Interrupt enable for INTB1_N from PCI slot. 1: interrupt enabled INTB1_EN Note 0: interrupt disabled INTC1_EN Interrupt enable for INTC1_N from PCI slot. 1: interrupt enabled Note 0: interrupt disabled...
Chapter 4 Detailed Functional Description 4.5.9 FPGAINTPOLREG (0x0A00 0020) Name INTA1_ POL INTB1_ POL INTC1_ POL INTD1_ POL INTA2_ POL INTB2_ POL INTC2_ POL INTD2_ POL Reset Name INTE_ POL FPIO4_ POL RQC0_ POL RQC1_ POL Reserved Reserved Reserved Reserved Reset This register allows selecting the polarity of the interrupt signals coming from the PCI slot, the I/O Board and the on-board Ethernet controller.
Page 52
Chapter 4 Detailed Functional Description Name Function INTA1_POL Interrupt polarity of INTA1_N from PCI slot. 1: active high Note 0: active low Interrupt polarity of INTB1_N from PCI slot. 1: active high INTB1_ POL Note 0: active low INTC1_ POL Interrupt polarity of INTC1_N from PCI slot.
Chapter 4 Detailed Functional Description 4.5.10 EPIO_MODEREG (0x0A00 0060) EPIOMOD EPIOMOD EPIOMOD EPIOMOD EPIOMOD EPIOMOD EPIOMOD Name Reserved (15) (13) (12) (11) (10) Reset EPIOMOD Name Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reset This register sets the I/O mode of the EPIO(n) pins of the FPGA. The correspondence is 1 bit per pin. When the EPIOMOD bit is set to 1, the corresponding EPIO pin is set to output and the value that has been written to the corresponding EPIO bit in the EPIO_REG register is output.
Chapter 4 Detailed Functional Description 4.5.11 EPIO_REG (0x0A00 0064) Name EPIO (15) Reserved EPIO (13) EPIO (12) EPIO (11) EPIO (10) EPIO (9) EPIO (8) Reset Name Reserved Reserved Reserved Reserved Reserved Reserved EPIO (1) Reserved Reset This register reads and/or writes the EPIO(n) pins. The correspondence is 1 bit per pin. When 1 is set to the corresponding bit in the EPIO_MODEREG register, the data in EPIO_REG is written to the EPIO pin.
Chapter 4 Detailed Functional Description 4.5.12 FPIO_MODEREG (0x0A00 0068) Name Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reset FPIOMOD FPIOMOD FPIOMOD FPIOMOD FPIOMOD FPIOMOD Name Reserved Reserved Reset This register sets the I/O mode of the FPIO(3:0) pins. The correspondence is 1 bit per pin. When the FPIOMOD bit is set to 1, the corresponding FPIO pin is set to output and the value that has been writ- ten to the corresponding FPIO bit in the FPIO_REG register is output.
Chapter 4 Detailed Functional Description 4.5.13 FPIO_REG (0x0A00 006C) Name Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reset Name Reserved Reserved FPIO (5) FPIO (4) FPIO (3) FPIO (2) FPIO (1) FPIO (0) Reset This register reads and/or writes the FPIO(5:0) pins. The correspondence is 1 bit per pin. When 1 is set to the corresponding bit in the FPIO_MODEREG register, the data in FPIO_REG is written to the corre- sponding FPIO pin.
Chapter 4 Detailed Functional Description 4.5.14 FPGA_I_O_MODEREGL (0x0A00 0070) FPGA_I_O_ FPGA_I_O_ FPGA_I_O_ FPGA_I_O_ FPGA_I_O_ FPGA_I_O_ FPGA_I_O_ FPGA_I_O_ Name MOD (15) MOD (14) MOD (13) MOD (12) MOD (11) MOD (10) MOD (9) MOD (8) Reset FPGA_I_O_ FPGA_I_O_ FPGA_I_O_ FPGA_I_O_ FPGA_I_O_ FPGA_I_O_ FPGA_I_O_ FPGA_I_O_...
Chapter 4 Detailed Functional Description 4.5.15 FPGA_I_O_REGL (0x0A00 0074) FPGA_I_O FPGA_I_O FPGA_I_O FPGA_I_O FPGA_I_O FPGA_I_O FPGA_I_O FPGA_I_O Name (15) (14) (13) (12) (11) (10) Reset FPGA_I_O FPGA_I_O FPGA_I_O FPGA_I_O FPGA_I_O FPGA_I_O FPGA_I_O FPGA_I_O Name Reset This register reads and/or writes the FPGA_I_O (15:0) pins. The correspondence is 1 bit per pin. When 1 is set to the corresponding bit in the FPGA_I_O_MODEREGL register, the corresponding data is writ- ten to the FPGA_I_O pin.
Chapter 4 Detailed Functional Description 4.5.16 FPGA_I_O_MODEREGH (0x0A00 0078) Name Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reset FPGA_I_O_ FPGA_I_O_ FPGA_I_O_ FPGA_I_O_ FPGA_I_O_ Name Reserved Reserved Reserved MOD (20) MOD (19) MOD (18) MOD (17) MOD (16) Reset This register sets the I/O mode of the FPGA_I_O (20:16) pins. The correspondence is 1 bit per pin. When the FPGA_I_O_MOD bit is set to 1, the corresponding FPGA_I_O pin is set to output and the value that has been written to the corresponding FPGA_I_O bit in the FPGA_I_O_REGH register is out- put.
Chapter 4 Detailed Functional Description 4.5.17 FPGA_I_O_REGH (0x0A00 007C) Name Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reset FPGA_I_O FPGA_I_O FPGA_I_O FPGA_I_O FPGA_I_O Name Reserved Reserved Reserved (20) (19) (18) (17) (16) Reset This register reads and/or writes the FPGA_I_O (20:16) pins. The correspondence is 1 bit per pin. When 1 is set to the corresponding bit in the FPGA_I_O_MODEREGH register, the corresponding data is written to the FPGA_I_O pin.
• Check if all DIP switches are in their default position • Connect the startWARE-GHS-VR4131 Evaluation board with the serial cable to a host PC with a terminal emulation program (115200 baud, 8 bit, no parity, 1 stop bit, no handshake); use the 4131 Debug Serial interface on CN17 for this purpose •...
Chapter 5 Board Operation 5.2.2 S-Boot Startup Message Once the starter kit is powered up turned on, you will find this screen on the host PC. Figure 5-1: Startup Screen The screen gives information about the current system configuration, please see Figure 5-1. Remarks: 1.
Chapter 5 Board Operation 5.2.3 Flash Monitor of startWARE-GHS-VR4131 When the countdown is interrupted, the SBOOT stops boot procedure and an additional screen is shown: Figure 5-2: startWARE-GHS-V 4131 Flash Monitor Boot Menu This is the main menu of the system and provides access to various other options of the SBOOT. The user may manually boot from RAM or FLASH.
Chapter 5 Board Operation Start binary download and execute. Using this option starts a download of a raw binary file, recommended for larger images. Once this option is invoked, the user is asked for a) a flash memory address, where the application is downloaded to, b) a start address of the application.
Chapter 5 Board Operation Invalidate a block disables the directory entry and makes the application unavailable for the next boot process. Make block DEFAULT executable gives the option to boot an application from a block specified by the User. The application must have a valid entry in the directory block structure, before it can be started by default boot process.
Chapter 5 Board Operation 5.2.6 SBOOT Specification Interrupts SBOOT does not use any interrupt. The serial units are used in polling mode only. All interrupts are routed to addresses 0x80000000, 0x80000080, 0x80000100 and 0x80000180. It is recom- mended that all user applications are making usage of the BEV bit, so that own interrupt handling routines can be entered at the desired locations.
Chapter 5 Board Operation 5.3 Reprogramming the FPGA Caution: The functions described in this chapter should only be used by experienced customers. Reprogramming the FPGA in the wrong way, may damage the board. So watch your step! A short summary how the FPGA is reprogrammed is given below. The current FPGA content has been developed with the Quartus II (Rev.
Appendix B FPGA Code The FPGA was designed using the Quartus II design tool available through www.altera.com, version V2.0. Below the source listing of the FPGA content is shown; however changing the FPGA content should only be done by experienced board users. The source files can as well be found on the CD. B.1 File VR4131_TOP.V //************************************************ // DESIGNER...
Page 95
Facsimile Message Although NEC has taken all possible steps to ensure that the documentation supplied to our customers is complete, bug free and up-to-date, we readily accept that From: errors may occur. Despite all the care and precautions we've taken, you may Name encounter problems in the documentation.
Need help?
Do you have a question about the startWARE-GHS-VR4131 and is the answer not in the manual?
Questions and answers