NEC V850ES/Jx3-H User manual

User’s Manual
V850ES/Jx3-H – Plug it!
Demonstration Kit for the V850ES/Jx3-H
32-bit RISC microcontroller
Document No. U19647EE2V0UM00
Date Published May 2009
©NEC Electronics (Europe) GmbH

V850ES/Jx3H – Plug it!
•The information in this document is current as of June, 2008. The information is subject to change
without notice. For actual design-in, refer to the latest publications of NEC Electronics data
sheets or data books, etc., for the most up-to-date specifications of NEC Electronics products.
Not all products and/or types are available in every country. Please check with an NEC Electronics
sales representative for availability and additional information.
•No part of this document may be copied or reproduced in any form or by any means without the prior
written consent of NEC Electronics. NEC Electronics assumes no responsibility for any errors that may
appear in this document.
•NEC Electronics does not assume any liability for infringement of patents, copyrights or other intellectual
property rights of third parties by or arising from the use of NEC Electronics products listed in this
document or any other liability arising from the use of such products. No license, express, implied or
otherwise, is granted under any patents, copyrights or other intellectual property rights of NEC Electronics
or others.
•Descriptions of circuits, software and other related information in this document are provided for
illustrative purposes in semiconductor product operation and application examples. The incorporation of
these circuits, software and information in the design of a customer's equipment shall be done under the
full responsibility of the customer. NEC Electronics assumes no responsibility for any losses incurred by
customers or third parties arising from the use of these circuits, software and information.
•While NEC Electronics endeavors to enhance the quality, reliability and safety of NEC Electronics
products, customers agree and acknowledge that the possibility of defects thereof cannot be eliminated
entirely. To minimize risks of damage to property or injury (including death) to persons arising from
defects in NEC Electronics products, customers must incorporate sufficient safety measures in their
design, such as redundancy, fire-containment and anti-failure features.
•NEC Electronics products are classified into the following three quality grades: "Standard", "Special" and
"Specific".
The "Specific" quality grade applies only to NEC Electronics products developed based on a customer-
designated "quality assurance program" for a specific application. The recommended applications of an
NEC Electronics product depend on its quality grade, as indicated below. Customers must check the
quality grade of each NEC Electronics product before using it in a particular application.
"Standard": Computers, office equipment, communications equipment, test and measurement
equipment, audio and visual equipment, home electronic appliances, machine tools,
personal electronic equipment and industrial robots.
"Special": Transportation equipment (automobiles, trains, ships, etc.), traffic control systems,
anti-disaster systems, anti-crime systems, safety equipment and medical equipment
(not specifically designed for life support).
"Specific": Aircraft, aerospace equipment, submersible repeaters, nuclear reactor control
systems, life support systems and medical equipment for life support, etc.
The quality grade of NEC Electronics products is "Standard" unless otherwise expressly specified in NEC
Electronics data sheets or data books, etc. If customers wish to use NEC Electronics products in applications
not intended by NEC Electronics, they must contact an NEC Electronics sales representative in advance to
determine NEC Electronics' willingness to support a given application.
(Note)
(1) "NEC Electronics" as used in this statement means NEC Electronics Corporation and also includes its
majority-owned subsidiaries.
(2) "NEC Electronics products" means any product developed or manufactured by or for NEC Electronics (as
defined above).
M8E 02. 11-1
User’s Manual U19647EE2V0UM00 2

V850ES/Jx3H – Plug it!
For customers in the European Union only
Redemption of Waste Electrical and Electronic Equipment
(WEEE) in accordance with legal regulations applicable in the
European Union only: This equipment (including all
accessories) is not intended for household use. After use the
equipment cannot be disposed of as household waste. NEC
Electronics (Europe) GmbH offers to take back the equipment.
All you need to do is register at http://www.eu.necel.com/weee
CAUTION
This is a Test- and Measurement equipment with possibility to be significantly
altered by user through hardware enhancements/modifications and/or test or
application software. Thus, with respect to Council Directive 89/336/EEC
(Directive on compliance with the EMC protection requirements), this equipment
has no autonomous function. Consequently this equipment is not marked by the
CE-symbol.
EEDT-ST-005-10
CAUTION
This equipment should be handled like a CMOS semiconductor device. The
user must take all precautions to avoid build-up of static electricity while
working with this equipment. All test and measurement tool including the
workbench must be grounded. The user/operator must be grounded using
the wrist strap. The connectors and/or device pins should not be touched
with bare hands.
EEDT-ST-004-10
User’s Manual U19647EE2V0UM00 3

V850ES/Jx3H – Plug it!
Regional Information
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:
•Device availability
•Ordering information
•Product release schedule
•Availability of related technical literature
•Development environment specifications (for example, specifications for
third-party tools and components, host computers, power plugs, AC supply
voltages, and so forth)
•Network requirements
In addition, trademarks, registered trademarks, export restrictions, and other legal issues may also vary
from country to country.
NEC Electronics Inc. (U.S.)
Santa Clara, California
Tel: 408-588-6000
800-366-9782
Fax: 408-588-6130
800-729-9288
NEC Electronics Hong Kong Ltd.
Hong Kong
Tel: 2886-9318
Fax: 2886-9022/9044
NEC Electronics (Europe) GmbH
Duesseldorf, Germany
Tel: 0211-65 03 0
Fax: 0211-65 03 1327
NEC Electronics Hong Kong Ltd.
Seoul Branch
Seoul, Korea
Tel: 02-528-0303
Fax: 02-528-4411
Sucursal en España
Madrid, Spain
Tel: 091- 504 27 87
Fax: 091- 504 28 60
NEC Electronics Singapore Pte. Ltd.
Singapore
Tel: 65-6253-8311
Fax: 65-6250-3583
Succursale Française
Vélizy-Villacoublay, France
Tel: 01-30-67 58 00
Fax: 01-30-67 58 99
NEC Electronics Taiwan Ltd.
Taipei, Taiwan
Tel: 02-2719-2377
Fax: 02-2719-5951
Filiale Italiana
Milano, Italy
Tel: 02-66 75 41
Fax: 02-66 75 42 99
NEC do Brasil S.A.
Electron Devices Division
Guarulhos, Brasil
Tel: 55-11-6465-6810
Fax: 55-11-6465-6829
Branch The Netherlands
Eindhoven, The Netherlands
Tel: 040-244 58 45
Fax: 040-244 45 80
Branch Sweden
Taeby, Sweden
Tel: 08-63 80 820
Fax: 08-63 80 388
United Kingdom Branch
Milton Keynes, UK
Tel: 01908-691-133
Fax: 01908-670-290
User’s Manual U19647EE2V0UM00 4

V850ES/Jx3H – Plug it!
Revision History
Date Revision Chapter Description
17-02-2009 V1.00 --- First release
08-05-2009 V1.10 13 Change of the schematic image format
User’s Manual U19647EE2V0UM00 5

V850ES/Jx3H – Plug it!
Table of Contents
1. Introduction........................................................................................................................10
1.1 Main features of V850ES/Jx3-H - Plug it!...................................................................................... 10
1.2 System requirements...................................................................................................................... 11
1.3 Package contents............................................................................................................................ 11
1.4 Trademarks...................................................................................................................................... 11
2. V850ES/Jx3-H - Plug it! system configuration ................................................................12
2.1 V850ES/Jx3-H - Plug it!................................................................................................................... 12
2.2 Host computer................................................................................................................................. 12
2.3 Power supply via USB interface.................................................................................................... 12
3. V850ES/Jx3-H - Plug it! components ...............................................................................13
3.1 SW1, Configuration Switch (DIP-Switch)...................................................................................... 14
3.2 SW2, RESET button ........................................................................................................................ 15
3.3 SW3, Switch (INTP12)..................................................................................................................... 15
3.4 SW4, Switch (INTP13)..................................................................................................................... 15
3.5 JP1 and JP2, Power Supply selectors.......................................................................................... 15
3.6 JP3, Power LED............................................................................................................................... 16
3.7 LED1, power LED............................................................................................................................ 16
3.8 CN4, AC power supply connector................................................................................................. 16
3.9 J1, optional power supply connector ........................................................................................... 16
3.10 NWIRE1, N-Wire connector.......................................................................................................... 16
3.11 U3, Seven-segment-LED............................................................................................................... 17
3.12 USB1, serial interface connector................................................................................................. 18
3.13 USB2, universal serial bus connector ........................................................................................ 18
3.14 Layout of solder-short pads......................................................................................................... 19
4. On-Chip debugging ...........................................................................................................20
4.1 OCD via TK-V850 On-Board debug function................................................................................ 21
4.1.1 Resources used by TK-V850 OCD Interface................................................................................. 21
4.2 OCD via N-Wire emulator ............................................................................................................... 23
5. V850ES/Jx3-H - Plug it! installation and operation.........................................................24
5.1 Getting started................................................................................................................................. 24
5.1.1 CD-ROM contents.......................................................................................................................... 24
6. Hardware installation.........................................................................................................25
User’s Manual U19647EE2V0UM00 6

V850ES/Jx3H – Plug it!
7. Software installation..........................................................................................................25
7.1 IAR Systems Embedded Workbench for V850 installation......................................................... 25
7.2 Sample program installation.......................................................................................................... 25
7.3 USB Driver Installation ................................................................................................................... 26
7.3.1 Installation on Windows 2000 ........................................................................................................ 26
7.3.2 Installation on Windows XP............................................................................................................ 30
7.4 Confirmation of USB Driver Installation....................................................................................... 33
8. IAR sample session...........................................................................................................34
9. Troubleshooting.................................................................................................................39
10. Flash Programmer WriteEZ1...........................................................................................40
10.1 Device Setup.................................................................................................................................. 40
10.2 Using WriteEZ................................................................................................................................ 41
11. Sample programs.............................................................................................................42
11.1 General Introduction..................................................................................................................... 42
11.2 “Jx3-H_PLUGIT_DEMO” sample program ................................................................................. 43
11.2.1 How to run the sample program...................................................................................................43
11.3 “Jx3-H_PLUGIT_COM” Serial Conversion sample program.................................................... 44
11.3.1 Development Environment........................................................................................................... 45
11.3.2 System Structure.......................................................................................................................... 45
11.3.3 How to run the sample program...................................................................................................46
11.3.4 Communication Device Class (CDC)........................................................................................... 49
11.3.5 Processing Flow........................................................................................................................... 50
11.3.6 File Structure ................................................................................................................................ 53
11.3.7 Descriptor Information.................................................................................................................. 53
11.4 “Jx3-H_PLUGIT_STORAGE” Mass Storage sample program.................................................. 56
11.4.1 Development Environment........................................................................................................... 57
11.4.2 System Structure.......................................................................................................................... 57
11.4.3 How to run the sample program...................................................................................................58
11.4.4 Mass Storage Class (MSC) ......................................................................................................... 59
11.4.5 SCSI Command Process ............................................................................................................. 59
11.4.6 Processing Flow........................................................................................................................... 60
11.4.7 File Structure ................................................................................................................................ 64
11.4.8 Descriptor Information.................................................................................................................. 64
12. Cables...............................................................................................................................67
12.1 USB interface cable (Mini-B type) ...............................................................................................67
13. Schematics.......................................................................................................................68
User’s Manual U19647EE2V0UM00 7

V850ES/Jx3H – Plug it!
List of Figures
Figure 1: V850ES/Jx3-H - Plug it! system configuration .............................................................................12
Figure 2: V850ES/Jx3-H - Plug it! Components..........................................................................................13
Figure 3: Seven-segment-LED U3 ..............................................................................................................17
Figure 4: USB1, USB Mini-B Type Host Connector Pin Configuration .......................................................18
Figure 5: Solder-short pad opened shape...................................................................................................19
Figure 6: Solder-short pad shortened shape...............................................................................................19
Figure 7: On-Chip debugging ......................................................................................................................20
Figure 8: V850 OCD Interface Resources ..................................................................................................22
Figure 9: Device File Installation .................................................................................................................25
Figure 10: Found New Hardware Wizard (Windows 2000).........................................................................26
Figure 11: Search Method (Windows 2000)................................................................................................27
Figure 12: Driver File Location (Windows 2000) .........................................................................................27
Figure 13: Address Specification 2 (Windows 2000) ..................................................................................28
Figure 14: Driver File Search (Windows 2000) ...........................................................................................28
Figure 15: USB Driver Installation Completion (Windows 2000) ................................................................29
Figure 16: Found New Hardware Wizard 1 (Windows XP).........................................................................30
Figure 17: Found New Hardware Wizard 2 (Windows XP).........................................................................30
Figure 18: Search Location Specification 1 (Windows XP).........................................................................31
Figure 19: Search Location Specification 3 (Windows XP).........................................................................31
Figure 20: Windows XP Logo Testing (Windows XP).................................................................................32
Figure 21: USB Driver Installation Completion (Windows XP)....................................................................32
Figure 22: Windows Device Manager .........................................................................................................33
Figure 23: IAR Embedded Workbench .......................................................................................................34
Figure 24: IAR Embedded Workbench Project Workspace ........................................................................35
Figure 25 : Device selection ........................................................................................................................35
Figure 26: Include directory.........................................................................................................................36
Figure 27: IAR debugger options ................................................................................................................36
Figure 28: Embedded Workbench Linker Configuration .............................................................................37
Figure 29: MINICUBE Hardware Setup Dialogue .......................................................................................38
Figure 30: IAR C-SPY debugger .................................................................................................................39
Figure 31: WriteEZ1 User Interface.............................................................................................................40
Figure 32: WriteEZ1 Device Setup Dialogue ..............................................................................................40
Figure 33: WriteEZ1 Device Menu ..............................................................................................................41
Figure 34: Project Window Jx3-H_PLUGIT_DEMO....................................................................................43
Figure 35: Project Window Jx3H_PLUGIT_COM .......................................................................................44
Figure 36: Development Environment........................................................................................................45
Figure 37: System Structure of the sample program ..................................................................................45
Figure 38: Jx3H_PLUGIT_COM-sample Debug Communication Port .......................................................46
Figure 39: Found New Hardware Wizard 1 (Windows XP).........................................................................46
Figure 40: Found New Hardware Wizard 2 (Windows XP).........................................................................47
Figure 41: Search Location Specification 1 (Windows XP).........................................................................47
Figure 42: Jx3H_PLUGIT_COM-sample Application Communication Port ................................................48
Figure 43: Flow Chart Jx3H_PLUGIT_COM application.............................................................................50
Figure 44: Flow Chart Jx3H_PLUGIT_COM Endpoint 0 Monitoring Process.............................................51
Figure 45: Flow Chart Jx3H_PLUGIT_COM Endpoint 1 Monitoring Process.............................................52
Figure 46: Project Window Jx3H_PLUGIT_STORAGE ..............................................................................56
Figure 47: Development Environment........................................................................................................57
Figure 48: System Structure of the sample program ..................................................................................57
Figure 49: Jx3H_PLUGIT_STORAGE sample Mass Storage Device ........................................................58
Figure 50: Flow Chart Jx3H_PLUGIT_COM USB Initialization Process ....................................................60
Figure 51: Flow Chart Jx3H_PLUGIT_COM Endpoint 0 Monitoring Process.............................................61
Figure 52: Flow Chart Jx3H_PLUGIT_COM Endpoint 1 Monitoring Process.............................................62
Figure 53: Flow Chart Jx3H_PLUGIT_COM SCSI Command Process......................................................63
Figure 54: USB interface cable (Mini-B type)..............................................................................................67
Figure 55: V850ES/Jx3-H - Plug it! schematics 1/3 ....................................................................................68
Figure 56: V850ES/Jx3-H - Plug it! schematics 2/3 ....................................................................................69
Figure 57: V850ES/Jx3-H - Plug it! schematics 3/3 ....................................................................................70
User’s Manual U19647EE2V0UM00 8

V850ES/Jx3H – Plug it!
List of Tables
Table 1: Mode setting, switch SW1 .............................................................................................................14
Table 2: Power supply selectors, JP1 and JP2...........................................................................................15
Table 3: Power LED1 setting.......................................................................................................................16
Table 4: CN4 connector ..............................................................................................................................16
Table 5: Display Examples ..........................................................................................................................17
Table 6: Pin Configuration of Connector USB1...........................................................................................18
Table 7: Solder-short pad connection .........................................................................................................19
Table 8: OCD via TK-78K0R On-Board debug function .............................................................................21
Table 9: OCD via QB-V850MINI emulator ..................................................................................................23
Table 10: V850ES/Jx3-H - Plug it! CD-ROM directory structure.................................................................24
Table 11: WriteEZ action buttons ................................................................................................................41
Table 12: Sample directory structure ..........................................................................................................42
Table 13: Example directory structure.........................................................................................................42
Table 14: Source Modules USB Serial Conversation Sample ....................................................................53
Table 15: Header Files USB Serial Conversation Sample..........................................................................53
Table 16: Device Descriptor Serial Conversion Sample .............................................................................53
Table 17: Configuration Descriptor Serial Conversion Sample...................................................................54
Table 18: Interface Descriptor Serial Conversion Sample ..........................................................................54
Table 19: Endpoint Descriptor Serial Conversion Sample..........................................................................55
Table 20: String Descriptor Serial Conversion Sample...............................................................................55
Table 21: Source Modules USB Mass Storage Sample .............................................................................64
Table 22: Header Files USB Mass Storage Sample ...................................................................................64
Table 23: Device Descriptor Mass Storage Sample ...................................................................................64
Table 24: Configuration Descriptor Mass Storage Sample.........................................................................65
Table 25: Interface Descriptor Mass Storage Sample ................................................................................65
Table 26: Endpoint Descriptor Serial Conversion Sample..........................................................................66
Table 27: String Descriptor Mass Storage Sample .....................................................................................66
User’s Manual U19647EE2V0UM00 9

V850ES/Jx3H – Plug it!
1. Introduction
V850ES/Jx3-H - Plug it! is an USB-demonstration kit for the NEC V850 32-bit microcontroller family. It
allows the development of an USB system based on the V850 70F3760 device. It supports onboard
debugging and real time execution of application programs. The board is prepared to be connected to
user hardware parts such as digital I/O or analog signals.
1.1 Main features of V850ES/Jx3-H - Plug it!
•Easy to use device demonstration capabilities
V850ES/Jx3-H - Plug it! contains elements to easily demonstrate simple I/O-functions, i.e. I/O lines,
analog inputs and outputs, UART serial interface, USB interface etc.
•On-Board debug function
The V850ES/Jx3-H - Plug it! supports an On-Board debug function by using the IAR C-SPY
debugger without a need of additional debug hardware. It allows FLASH downloading and standard
debug functions like code execution, single stepping, breakpoints, memory manipulation etc.
•Power supply by USB interface or via external power supply
•Analog to digital signal conversion
•Various input / output signals available, such as
°I/O ports prepared to be connected to user hardware
°Timer input / output signals
°Two or three wire serial I/O
°12 analog input lines
°2 analog output lines
°Two Switches prepared for key interrupt generation
•The IAR Embedded Workbench for V850 and the IAR C-SPY debugger / simulator are included.
These packages are restricted in such that maximum program code size is limited to 16 KB.
•Full documentation is included for the NEC V850 70F3760 microcontroller, IAR Systems Embedded
Workbench and IAR Systems C-SPY debugger / simulator.
User’s Manual U19647EE2V0UM00 10

V850ES/Jx3H – Plug it!
System requirements
HOST PC A PC supporting Windows 2000, Windows XP or Windows Vista is
required for the IAR Systems Embedded Workbench demo-version.
A Pentium processor with at least 1 GHz CPU performance, with at least
256 Mbytes of RAM, allowing you to fully utilize and take advantage of the
product features. 500 Mbytes of free disk space and an additional 10
Mbytes of free disk space on the Windows system drive.
A web browser and Adobe Acrobat Reader to be able to access all the
product documentation.
Host interface USB interface that enables communication based on USB (Ver1.1 or
later)
1.2 Package contents
Please verify that you have received all parts listed in the package contents list attached to the
V850ES/Jx3-H - Plug it! package. If any part is missing or seems to be damaged, please contact the
dealer from whom you received your V850ES/Jx3-H - Plug it!.
Note: Updates of the IAR Embedded Workbench for V850 documentation and/or utilities for
V850ES/Jx3-H - Plug it!, available, may be downloaded from the NEC WEB page(s) at
http://www.eu.necel.com/update/index.html?id=287
1.3 Trademarks
IAR Embedded Workbench, visualSTATE, IAR MakeApp and C-SPY are registered trademarks of IAR
Systems AB. Microsoft and Windows are registered trademarks of Microsoft Corporation. Adobe and
Acrobat Reader are registered trademarks of Adobe Systems Incorporated.
All other product names are trademarks or registered trademarks of their respective owners.
User’s Manual U19647EE2V0UM00 11

V850ES/Jx3H – Plug it!
2. V850ES/Jx3-H - Plug it! system configuration
The V850ES/Jx3-H - Plug it! system configuration is given in the diagram below:
Figure 1: V850ES/Jx3-H - Plug it! system configuration
2.1 V850ES/Jx3-H - Plug it!
V850ES/Jx3-H - Plug it! is a USB-demonstration kit for the 70F3760 32-bit microcontroller of the V850
family. The demonstration board is connected to the host system via USB interface cable. The host
system may be used for On-Chip debugging by using the IAR C-SPY debugger and to allow execution of
application programs on the V850ES/Jx3-H - Plug it! starterkit.
2.2 Host computer
The USB host interface enables communication to the V850ES/Jx3-H - Plug it! board. The µPD78F0730
78K0 8-Bit microcontroller with on-chip USB interface and the NEC virtual UART driver allows application
software to access the USB device in the same way as it would access a standard RS232 interface.
The NEC virtual UART driver appears to the windows system as an extra Com Port, in addition to any
existing hardware Com Ports.
2.3 Power supply via USB interface
The V850ES/Jx3-H - Plug it! board is powered by the USB interface. Optional the power supply can be
applied via the connectors CN4 or J1.
User’s Manual U19647EE2V0UM00 12

V850ES/Jx3H – Plug it!
3. V850ES/Jx3-H - Plug it! components
The V850ES/Jx3-H - Plug it! board is equipped with USB-connector and with several connectors in order
to be connected to host computers, FLASH programmer or any external target hardware.
Figure 2: V850ES/Jx3-H - Plug it! Components
Some of the V850ES/Jx3-H - Plug it! components are free for user application hardware and software.
Please read the user’s manual of the 70F3760 device carefully to get information about the electrical
specification of the available I/O ports before you connect any external signals to the
V850ES/Jx3-H - Plug it! board.
User’s Manual U19647EE2V0UM00 13

V850ES/Jx3H – Plug it!
3.1 SW1, Configuration Switch (DIP-Switch)
The different operation modes of the V850ES/Jx3-H - Plug it! board can be set by switch SW1. The bits
1-4 of DIP switch SW1 are for the mode setting of the board, bits 5-8 are connected to the pins
“P78/ANI8”, “P79/ANI9”, “P710/ANI10” and “P711/ANI11” of the V850 microcontroller and can be used
for user application purpose.
The V850ES/Jx3-H - Plug it! starterkit can be used in the following operation modes:
- On-Board debug mode
oStart a debug session using the On-Board debug interface
- Flash-Programming Mode
oProgram an application to the build-in flash memory of 70F3760 by WriteEZ1-
programmer
- Stand alone mode
oRun a program stored in built-in flash memory of the 70F3760 device
- N-Wire debug mode
oStart a debug session using an N-Wire emulator, e.g. MINICUBE
SW1 / bit On-Board
Debug Mode Flash
Programming
Mode
Stand alone
Mode N-Wire
Debug Mode
1 OFF OFF OFF OFF
2 ON ON OFF OFF
3 ON ON OFF OFF
4 ON ON OFF OFF
Table 1: Mode setting, switch SW1
Note: After changing the configuration of SW1 bits 1-4 it is necessary to power-up the
V850ES/Jx3-H - Plug it! board to make changing active. This can be done by simply dis-
and reconnecting the USB interface cable.
User’s Manual U19647EE2V0UM00 14

V850ES/Jx3H – Plug it!
3.2 SW2, RESET button
SW2 is the reset button. It activates the power on reset. Switch SW2 controls the reset input signal of the
V850ES/Jx3-H - Plug it! microcontroller.
3.3 SW3, Switch (INTP12)
SW3 is a push button connecting VSS to external interrupt input INTP12 of the microcontroller. This is
equal to port ”P98/INTP12” of the 70F3760 device. The port may be programmed to generate the
external interrupt INTP12. The necessary initialization for this purpose is described in the user’s manual
of the 70F3760 device.
3.4 SW4, Switch (INTP13)
SW4 is a push button connecting VSS to external interrupt input INTP13 of the microcontroller. This is
equal to port ”P99/INTP13” of the 70F3760 device. The port may be programmed to generate the
external interrupt INTP13. The necessary initialization for this purpose is described in the user’s manual
of the 70F3760 device.
3.5 JP1 and JP2, Power Supply selectors
Jumper JP1 and JP2 are the power supply selectors of the V850ES/Jx3-H - Plug it! board.
JP2 JP1 Power Supply Source
1-2 short USB connector USB1
1-2 short 2-3 short USB connector USB2
2-3 short - AC adapter via connector CN4 or J1
Table 2: Power supply selectors, JP1 and JP2
Note: If multiple connections made to USB1, USB2 and CN4/J1, set JP1 to the preferred power
supply route.
User’s Manual U19647EE2V0UM00 15

V850ES/Jx3H – Plug it!
3.6 JP3, Power LED
Jumper JP3 enables or disables power LED1
JP2 Configuration Power LED1
1-2 Closed Enabled
1-2 Opened Disabled
Table 3: Power LED1 setting
3.7 LED1, power LED
LED1 is the power LED of the V850ES/Jx3-H - Plug it! board. It indicates if power is applied to the
V850ES/Jx3-H - Plug it! board.
3.8 CN4, AC power supply connector
CN4 is the AC power supply connector of the V850ES/Jx3-H - Plug it! board. Please connect only a
power supply of maximum +12V AC to the board.
JACK1 Input
Centre VDD (+12V)
Ring GND
Table 4: CN4 connector
3.9 J1, optional power supply connector
J1 (not assembled) is an optional connector for an external power supply.
3.10 NWIRE1, N-Wire connector
Connector NWIRE1 (not assembled) allows connecting to an N-Wire On-Chip debug emulator, e.g.
MINICUBE, to V850ES/Jx3-H - Plug it! board. Please note, the QB-V850MINI On-Chip debug emulator is
a separate product from NEC and it is not included in this starterkit package.
User’s Manual U19647EE2V0UM00 16

V850ES/Jx3H – Plug it!
3.11 U3, Seven-segment-LED
The seven-segment-LED U3 is controlled by port P90 to P97. Please set port mode to output and output
a low signal to light the corresponding segment.
P97
P96
P95
P94
P93
P92
P91
P90
Figure 3: Seven-segment-LED U3
To display the characters ‘0’ to ‘9’ please write the following values to register P9:
Character P9 value
0 0xC0
1 0xF9
2 0xA4
3 0xB0
4 0x99
5 0x92
6 0x83
7 0xf8
8 0x80
9 0x98
Table 5: Display Examples
User’s Manual U19647EE2V0UM00 17

V850ES/Jx3H – Plug it!
3.12 USB1, serial interface connector
This interface allows connecting the IAR C-SPY debugger to the V850ES/Jx3-H - Plug it! board in order
to use the On-Board debug function. The interface supports On-board FLASH erasing / programming and
standard debug features like code execution, single stepping, breakpoints, memory manipulation etc.
The power supply of the V850ES/Jx3-H - Plug it! board is also provided by the USB1 connector.
15
Figure 4: USB1, USB Mini-B Type Host Connector Pin Configuration
Connector USB1 Signal Name
1 VBUS
2 D-
3 D+
4 ID_NC
5 GND
Table 6: Pin Configuration of Connector USB1
For connection with the host machine, use a USB cable (Mini-B type). For confirmation,
NEC Electronics used only the USB cable delivered with the V850ES/Jx3-H - Plug it! board.
3.13 USB2, universal serial bus connector
The interface allows connecting the built-in USB function controller of the μPD70F3760 with a host
system. It is also possible to provide the power supply of the V850ES/Jx3-H - Plug it! board by the
USB2 connector.
For connection with the host machine, use a USB cable (Mini-B type). For confirmation,
NEC Electronics used only the USB cable delivered with the V850ES/Jx3-H - Plug it! board.
User’s Manual U19647EE2V0UM00 18

V850ES/Jx3H – Plug it!
3.14 Layout of solder-short pads
Several pins of the 70F3760 microcontroller are connected to solder short-pads. The pads can be
opened by the user to add user specific functions. The signal connected to each solder-short pad is
printed on the V850ES/Jx3-H - Plug it! board. To open a circuit, cut the narrow part of the pad with a knife.
To short a circuit again, join the separated pad with a soldering iron.
Figure 5: Solder-short pad opened shape
Figure 6: Solder-short pad shortened shape
Solder-short pad
name Shipping state Connection
P90-P97 Short
connection to seven-segment LED
Open pads if port pins shall have other usage.
FLMD0 Open
FLMDO to CPU port P37
Shorten pad if flash self programming is used.
EVDD Short
EVDD to VDD
Open if EVDD is driven by other voltage.
AVREF0 Short
VDD to AVREF0
Open when AVREF0 is driven by other voltages.
AVREF1 Short
VDD to AVREF1
Open when AVREF1 is driven by other voltages.
UVDD Short
VDD to UVDD
Open when UVDD is driven by other voltages.
RXD Short
P30/TXDC0
Open when P30 isn’t used for USB1
communication interface.
P78-P711 Short
SW1, bits 5-8
Open when P78-P711 isn’t used for general-
purpose input.
P02 Short
P02 to standby pin of 48MHz oscillator (U10)
Open when on-board 48MHz oscillator isn’t used
as USB clock.
P03 Short
P03 to output pin of 48MHz oscillator (U10)
Open when on-board 48MHz oscillator isn’t used
as USB clock.
P98 Short
P98 to SW3
Open when P98 is used for other purposes.
P99 Short
P99 to SW4
Open when P99 is used for other purposes.
P41 Short
P41 to USB D+ pull-up signal enable pin.
Open when you don’t use USB D+ pull-up enable.
P42 Short
P42 to USB D+ pull-up signal pin.
Open when you don’t use USB D+ pull up signal.
T_RESET Short
U2 Pin4 to T_RESET
Open when the on-board Reset Circuit isn’t used.
Table 7: Solder-short pad connection
User’s Manual U19647EE2V0UM00 19

V850ES/Jx3H – Plug it!
4. On-Chip debugging
The V850ES/Jx3-H - Plug it! board offers two possibilities to use On-Chip debugging (OCD). The TK-
V850 On-Board debug function of V850ES/Jx3-H - Plug it! allows On-Chip debugging without a need of
external debug hardware. Within this mode the default USB connection to the Host computer based on
the virtual UART driver is used as debug interface. All standard debug functions are available in the On-
Board debugging mode like FLASH programming / downloading, code execution, single stepping,
breakpoints, memory manipulation etc.
Additionally V850ES/Jx3-H - Plug it! supports the QB-V850MINI On-Chip debug emulator in order to use
On-Chip debug function of the 70F3760 device. The system configuration for On-Chip debugging is
shown in figure below.
Figure 7: On-Chip debugging
User’s Manual U19647EE2V0UM00 20
Table of contents
Other NEC Microcontroller manuals

NEC
NEC mPD780973 Series User manual

NEC
NEC 78K/0 Series User manual

NEC
NEC MuPD78F0132H User manual

NEC
NEC mPD789101 User manual

NEC
NEC V850ES/SA2 UPD703201 User manual

NEC
NEC mPD78F0730 User manual

NEC
NEC V850ES/KE1+ User manual

NEC
NEC mPD17120 Subseries User manual

NEC
NEC 78K0S/K 1+ Series Installation and operating instructions

NEC
NEC V850E/MA1 Installation and operating instructions

NEC
NEC V854 UPD703006 User manual

NEC
NEC MuPD754144 User manual

NEC
NEC V850E/MS1 UPD703100 User manual

NEC
NEC mPD178054 Series User manual

NEC
NEC UPD789426 Series User manual

NEC
NEC V850ES/DJ2 User manual

NEC
NEC V850E/PH2 User manual

NEC
NEC V850E/RS1 User manual

NEC
NEC MuPD754202 User manual

NEC
NEC V850E/Dx3 User manual