LPCDOITV100
LPCDOITV100
・ The information in this document is current as of 27.12.2004. 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 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 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 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.
・ 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 customer's equipment shall be done under
the full responsibility of customer. NEC Electronics 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 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.
"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 NEC Electronics sales representative in
advance to determine NEC Electronics 's willingness to support a given application.
Notes: 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.10
2
Low Pin Count – Do it!
Low Pin Count - Do it! complies with the EMC protection requirements
WARNING
This is a ‘Class A’ ( EN 55022 : 1998) equipment. This equipment can cause radio
frequency noise when used in the residential area. In such cases, the user/operator of
the equipment may be required to take appropriate countermeasures under his
responsibility.
EEDT-ST-001-11
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
3
Low Pin Count – Do it!
Revision History
4
Low Pin Count – Do it!
Table of Contents
1. Introduction ....................................................................................................................... 9
7. Software installation........................................................................................................ 19
5
Low Pin Count – Do it!
7.6 Driver Uninstallation .................................................................................................................. 34
6
Low Pin Count – Do it!
List of Figures
Figure 1: Low Pin Count - Do it! system configuration............................................................................ 11
Figure 2: Low Pin Count - Do it! board connectors, switches and LED’s................................................. 12
Figure 3: Add New Hardware Wizard (Windows 98SE )......................................................................... 20
Figure 4: Search Method (Windows 98SE) ............................................................................................ 20
Figure 5: Search Location Specification (Windows 98SE)...................................................................... 21
Figure 6: Checking Driver to Be Installed (Windows 98SE).................................................................... 21
Figure 7: Installation Completion (Windows 98SE) ................................................................................ 22
Figure 8: Found New Hardware Wizard 1 (Windows 2000) .................................................................... 22
Figure 9: Search Method 1 (Windows 2000) .......................................................................................... 23
Figure 10: Driver File Location 1 (Windows 2000) ................................................................................. 23
Figure 11: Address Specification 1 (Windows 2000) .............................................................................. 24
Figure 12: Driver File Search 1 (Windows 2000) ................................................................................... 24
Figure 13: USB Driver Installation Completion 1 (Windows 2000).......................................................... 25
Figure 14: Found New Hardware Wizard 2 (Windows 2000) .................................................................. 25
Figure 15: Search Method 2 (Windows 2000) ........................................................................................ 26
Figure 16: Driver File Location 2 (Windows 2000) ................................................................................. 26
Figure 17: Address Specification 2 (Windows 2000) .............................................................................. 27
Figure 18: Driver File Search 2 (Windows 2000) ................................................................................... 27
Figure 19: USB Driver Installation Completion 2 (Windows 2000).......................................................... 28
Figure 20: Found New Hardware Wizard 1 (Windows XP) ..................................................................... 28
Figure 21: Search Location Specification 3 (Windows XP)..................................................................... 29
Figure 22: Windows XP Logo Testing 3 (Windows XP) .......................................................................... 29
Figure 23: USB Driver Installation Completion 1 (Windows XP)............................................................. 30
Figure 24: Found New Hardware Wizard 2 (Windows XP) ..................................................................... 30
Figure 25: Search Location Specification 2 (Windows XP)..................................................................... 31
Figure 26: Windows XP Logo Testing 2 (Windows XP) .......................................................................... 31
Figure 27: USB Serial Port2 Driver Installation Completion (Windows XP) ............................................ 32
Figure 28: Device Manager ................................................................................................................... 33
Figure 29: Driver Uninstallation ............................................................................................................. 34
Figure 30: Driver Uninstaller.................................................................................................................. 34
Figure 31: Completion of Driver Uninstallation....................................................................................... 35
Figure 32: PG-LCP GUI Software Main Window.................................................................................... 36
Figure 33: [File] Menu .......................................................................................................................... 38
Figure 34: HEX File Selection Window .................................................................................................. 38
Figure 35: [Device] Menu ...................................................................................................................... 39
Figure 36: Device Setup Window - Standard ......................................................................................... 41
Figure 37: Setup Window - Parameter File Selection............................................................................. 42
Figure 38: Parameter File Selection Window......................................................................................... 42
Figure 39: Setup Window - Communication interface to device ............................................................. 43
Figure 40: Setup Window - Supply Oscillator Selection ......................................................................... 43
Figure 41: Setup Window - Operation Mode .......................................................................................... 44
Figure 42: Device Setup Window - Advance......................................................................................... 45
Figure 43: Setup Window - Command options....................................................................................... 45
Figure 44: [View] Menu.......................................................................................................................... 46
Figure 45: [Help] Menu .......................................................................................................................... 47
Figure 46: About PG-LPC Window ........................................................................................................ 47
Figure 47: Programmer Parameter Window .......................................................................................... 48
Figure 48: GUI Software Startup Screen................................................................................................ 51
Figure 49: <Standard Device Setup> Dialog Box................................................................................... 51
Figure 50: Parameter File Selection ...................................................................................................... 52
Figure 51: Port Selection ....................................................................................................................... 52
Figure 52: <Standard Device Setup> Dialog Box after Setting............................................................... 53
Figure 53: <Advance Device Setup> Dialog Box ................................................................................... 53
Figure 54: Completion of Parameter Setting.......................................................................................... 54
Figure 55: After Downloading ................................................................................................................ 54
Figure 56: After EPV Execution............................................................................................................. 55
Figure 57: IAR Systems Embedded Workbench 78K0/K0S ................................................................... 59
Figure 58: IAR System 78K0/K0S C-SPY Simulator .............................................................................. 59
Figure 59: Connector CN7, USB Mini-B Type Host Connector Pin Configuration ................................... 65
Figure 60: USB interface cable (Mini-B type)......................................................................................... 66
Figure 61: Low Pin Count - Do it! board schematics............................................................................... 67
7
Low Pin Count – Do it!
List of Tables
Table 1: Configuration switch SW3, factory settings .............................................................................. 12
Table 2: Operation mode selection SW3/S1 .......................................................................................... 13
Table 3: UART selection SW3/S2.......................................................................................................... 13
Table 4: Clock mode selection SW3/S3................................................................................................. 13
Table 5: UART mode selection, SW3/S4............................................................................................... 13
Table 6: Connector CN1, clock configuration ......................................................................................... 14
Table 7: Connector CN2, external peripheral configuration .................................................................... 15
Table 8: Connector CN12, external peripheral configuration .................................................................. 15
Table 9: LED D1-D4 connection ............................................................................................................ 15
Table 10: External connectors CN3, CN4, CN5 and CN6....................................................................... 16
Table 11: 78K0S/KA1+ memory map .................................................................................................... 17
Table 12: Low Pin Count - Do it! CD-ROM directory structure................................................................ 18
Table 13: Toolbar Buttons ..................................................................................................................... 37
Table 14: Example directory structure ................................................................................................... 58
Table 15: Example structure.................................................................................................................. 58
Table 16: Pin Configuration of USB Connector CN7 .............................................................................. 65
8
Low Pin Count – Do it!
1. Introduction
Low Pin Count – Do it! is a demonstration kit for the NEC’s 78K0S Low Pin Count microcontrollers.
It supports onboard FLASH programming and real time execution of application programs up to 4 kBytes
based on the 78K0S/KA1+ Low Pin Count microcontroller. The board is prepared to be connected to user
hardware parts such as digital I/O or analogue signals.
• The IAR Embedded Workbench for 78K0/78K0S and the IAR C-SPY simulator are included. These
packages are restricted in such that maximum program code size is limited to 4 kByte of program
code.
• Full documentation is included for the NEC 78K0S/KA1+ microcontroller, IAR Systems Embedded
Workbench, IAR Systems C-SPY simulator and PG-LPC FLASH programming software.
Low Pin Count - Do it! is not intended for code development. NEC does not allow and does not
support in any way any attempt to use Low Pin Count - Do it! in a commercial or technical
product.
9
Low Pin Count – Do it!
Host interface USB interface that enables communication based on USB (Ver1.1 or
later)
Note: Updates to this User Manual, additional documentation and/or utilities for Low Pin Count - Do
it!, if available, may be downloaded from the NEC WEB page(s) at
http://www.ee.nec.de/updates.
10
Low Pin Count – Do it!
The Low Pin Count - Do it! board is connected to the host system via USB interface cable. The host
system may be used for programming of µPD78F9222 FLASH memory and to allow execution of
application programs on Low Pin Count - Do it! platform.
Low Pin Count - Do it! runs the µPD78F9222 microcontroller at 8.00 MHz operating speed.
For a detailed specification of the host interface please refer to the chapter “Connectors and Cables” of
this document.
11
Low Pin Count – Do it!
Figure 2: Low Pin Count - Do it! board connectors, switches and LED’s
All of the Low Pin Count - Do it! µPD78F9222 on-chip resources are free for user application hardware
and software. Please read the user’s manual of the 78K0S/KA1+ device carefully to get information
about the electrical specification of the available I/O ports before you connect any external signal to the
Low Pin Count - Do it! board!
12
Low Pin Count – Do it!
Within normal operation mode the user program stored in the FLASH memory of 78K0S/KA1+ device is
executed.
13
Low Pin Count – Do it!
Additionally connector CN7 connects UART6 of the 78K0S/KA1+ device to the host system.
Alternative an external crystal oscillator can be equipped to the Low Pin Count - Do it! board. To use this
operation mode close connectors CN1/1-3 and CN1/2-4.
14
Low Pin Count – Do it!
Port LED
P23 D1
P130 D2
P45 D3
P123 D4
Table 9: LED D1-D4 connection
For disconnecting a LED from a port for alternative usage cut the connection (default) of the
corresponding soldering bridge SB1-SB4.
15
Low Pin Count – Do it!
CN3, CN4, CN5, and CN6 are connectors for external user hardware. All CPU signals are connected to
CN3, with the exception of X1 and X2 signals. The Low Pin Count - Do it! board provides a wire wrap
field - connectors CN4, CN5 and CN6 - allowing the integration of additional application hardware.
16
Low Pin Count – Do it!
The memory layout of the µPD78F9222 4 kByte FLASH ROM device is shown in the table below.
0xFFFF
SFR Area
256 x 8 bits
0xFF00 Free for application
0xFEFF software
Internal high speed RAM
256 x 8 bits
Address area
0xFE00
0xFDFF
Use prohibited
0x1000
0x0FFF
Flash memory Free for application
4096 x 8 bits software
0x0000
The Low Pin Count - Do it! board does not reserve any resources of the 78K0S/KA1+ device,
consequently all available memory of the device is free for application software.
17
Low Pin Count – Do it!
The windows based PG-LPC FLASH programming software allows to select and download application
programs to Low Pin Count – Do it! board. As communication interface between PC host system and the
Low Pin Count – Do it! board a USB interface line is needed. Before you can download and run a
program, hardware and software must be installed properly.
CD-ROM ROOT
- Documentation
… AD converter demonstration
… Light Show
… Timer demonstration
… UART demonstration
18
Low Pin Count – Do it!
6. Hardware installation
After unpacking Low Pin Count - Do it! connect the board to your host computer using the provided USB
interface cable. When Low Pin Count - Do it! is connected, the USB driver needs to be installed on the host
machine. Please refer to the following chapter “Software Installation”.
7. Software installation
The Low Pin Count - Do it! package comes with the several software demo packages:
• IAR Systems Embedded Workbench for 78K0/78K0S, including C compiler, assembler, linker, librarian
and IAR C-SPY simulator
• PG-LPC FLASH programming GUI
• Sample programs
The IAR Systems Embedded Workbench and the PG-LPC FLASH programming GUI must be installed on
your PC. For detailed installation hints, refer to the following chapters and to the corresponding
documentation of the IAR Embedded Workbench.
The sample programs can be downloaded to the Low Pin Count - Do it! board directly from the CDROM.
Only if you intend to modify or debug (simulate) the sample programs it is necessary to copy the complete
\SamplePrograms folder to your local hard disk.
19
Low Pin Count – Do it!
1. When the Low Pin Count - Do it! board is connected with the host machine, the board is
recognized by Plug and Play, and the wizard for adding new hardware is started. Click
Next>.
Click.
2. The window below is displayed. So, check that "Search for a suitable driver ..." is selected,
then click Next>.
Figure 4: Search Method (Windows 98SE)
Click.
20
Low Pin Count – Do it!
3. Check the "Specify a location" check box only and enter "C:\Program
Files\NECTools32\PG-LPC\DRIVERS" in the address bar, then click Next>.
<3> Click.
Remark If the installation destination folder is changed at the time of PG-LPC software
installation, enter "new-folder\PG-LPC\DRIVERS".
Click.
21
Low Pin Count – Do it!
5. When the window below is displayed, the installation of the USB driver is completed. Click
Finish. The installation of the USB Serial Port driver is then automatically performed.
Click.
1. When the Low Pin Count - Do it! board is connected with the host machine, the board is
recognized by Plug and Play, and the wizard for finding new hardware is started. Click
Next>.
Click.
22
Low Pin Count – Do it!
2. The window below is displayed. So, check that "Search for a suitable driver ..." is selected,
then click Next>.
Click.
3. Check the "Specify a location" check box only, then click Next>.
Click.
23
Low Pin Count – Do it!
Click.
Remark If the installation destination folder is changed at the time of PG-LPC GUI software
installation, enter "new-folder\PG-LPC\DRIVERS".
5. Click Next>.
Click.
24
Low Pin Count – Do it!
Click.
7. Proceed to the installation of the USB Serial Port driver. Click Next>.
Click.
8. The window below is displayed. So, check that "Search for a suitable driver ..." is selected,
then click Next>.
25
Low Pin Count – Do it!
Click.
9. Check the "Specify a location" check box only, then click Next>.
Click.
26
Low Pin Count – Do it!
Click.
Remark If the installation destination folder is changed at the time of PG-LPC GUI software
installation, enter "new-folder\PG-LPC\DRIVERS".
Click.
27
Low Pin Count – Do it!
Click.
1. When the Low Pin Count - Do it! board is connected with the host machine, the board
recognized by Plug and Play, and the wizard for finding new hardware is started. Check
that "Install from a list or specific ..." is selected, then click Next>.
28
Low Pin Count – Do it!
2. Check that "Search for the best driver in these locations." is selected. Check the "Include
this location in the search:" check box and enter "C:\Program Files\NECTools32\PG-
LPC\DRIVERS" in the address bar, then click Next>.
3. As shown below, "has not passed Windows Logo testing to verify its compatibility with
Windows XP." is displayed. Click Continue Anyway.
Click.
29
Low Pin Count – Do it!
4. When the window below is displayed, the installation of the USB driver is completed. Click
Finish.
Click.
5. Proceed to the installation of the USB Serial Port driver. Click Next>.
30
Low Pin Count – Do it!
6. Check that "Search for the best driver in these locations." is selected. Check the "Include
this location in the search:" check box and enter "C:\Program Files\NECTools32\PG-
LPC\DRIVERS", then click Next>.
<4> Click.
<3> Enter "C:\Program Files\NECTools32\PG-LPC\DRIVERS".
7. As shown below, "has not passed Windows Logo testing to verify its compatibility with
Windows XP." is displayed. Click Continue Anyway.
Click.
31
Low Pin Count – Do it!
8. When the window below is displayed, the installation of the USB driver is completed. Click
Finish.
Figure 27: USB Serial Port2 Driver Installation Completion (Windows XP)
Click.
32
Low Pin Count – Do it!
After installing the two types of USB drivers, check that the drivers have been installed
correctly, according to the procedure below. When using the Low Pin Count - Do it! board, the
information to be checked here is needed.
By clicking the "Device Manager" tab, check that the drivers are installed correctly.
Remark In the GUI port list box, the same communication port as COM? of USB Serial Port
(COM?) needs to be selected.
If the drivers above are not displayed, or the mark "×" or "!" is prefixed, refer to
CHAPTER 10 TROUBLESHOOTING.
33
Low Pin Count – Do it!
The driver uninstallation program is installed on the host machine when the PG-LPC software is
installed.
2. Double-click in the order from "My Computer" to "(C:)" to "Program Files" to "NECTools32"
to "PG-LPC" to "DRIVERS". "Ftdiunin.exe" is displayed. Double-click "Ftdiunin.exe".
Double-click.
3. Click Continue.
Click.
34
Low Pin Count – Do it!
Click.
35
Low Pin Count – Do it!
When the GUI software is started normally, the following screen appears.
Programmer
parameter
Figure 32: PG-LCP GUI Software Main Window window
Menu bar
Toolbar
Status bar
36
Low Pin Count – Do it!
8.2 Toolbar
The toolbar contains buttons for starting the important procedures of the PG-LPC.
37
Low Pin Count – Do it!
Depending on the actual device status and device type, some menu items may be enabled or
disabled.
The file selection window for program loading displays the most recently used directory to
which a user program has been loaded. After a user program is loaded, a checksum
calculation is made and the result is displayed in the programmer parameter window.
[ Open button]
Selects a user program as a program to be written to the target device.
[ Cancel button]
Closes the window without selecting a program.
38
Low Pin Count – Do it!
Note PG-LPC.INI is created in the Windows folder when Windows 98SE, Windows Me, or
Windows XP is used.
When Windows 2000 is used, PG-LPC.INI is created in the WinNT folder.
39
Low Pin Count – Do it!
40
Low Pin Count – Do it!
This window shows all basic options that can be set in accordance with the user
environment and target device.
[ OK button]
Clicking the OK button saves the settings on the Standard and Advance menus and
closes the window.
[ Cancel button]
Clicking the Cancel button closes the window without saving the settings on the
Standard and Advance menus.
41
Low Pin Count – Do it!
42
Low Pin Count – Do it!
Remark Selectable ports can be checked using Device Manager. For details, refer
to 7.5 Confirmation of USB Driver Installation.
[Frequency box]
Sets the clock frequency of the target system.
The range of operating frequency varies from one device to another. So, check the
specifications of the device used before making a setting.
[Multiply rate]
Specifies the division rate or multiplication rate of the target device.
If the target device has an on-chip PLL circuit, enter a division rate or multiplication
rate according to the use environment.
The selectable division rate or multiplication rate differs depending on the device.
Check the specifications of the device used before making a setting.
If the target device does not have an on-chip PLL circuit, select "1.0".
On the initial screen, the default setting is displayed according to the parameter file.
43
Low Pin Count – Do it!
44
Low Pin Count – Do it!
This value differs from the value displayed in the parameter window of the main
window.
45
Low Pin Count – Do it!
Clicking the [View] menu displays the pull-down menu shown below.
This menu contains commands for setting whether to display the toolbar and status bar.
46
Low Pin Count – Do it!
47
Low Pin Count – Do it!
[Device]
Updated after communication with the target device to display information about the target
device.
[Parameter file]
Updated after [Setup] command execution to display information about a read parameter file.
[Load file]
Updated after [Load] command execution to select information about a selected program file.
[Connection to device]
Updated after [Setup] command execution to display information about the connection with the
target device.
48
Low Pin Count – Do it!
This chapter explains the basic operations of the PG-LPC GUI for programming the
Low Pin Count - Do it! board. This chapter covers how to start the system, execute the EPV command,
and program the target device µPD78F9222 mounted on the Low Pin Count - Do it! board.
The conditions of the series of operations described in this chapter are as follows:
PG-LPC
Parameter file : 78F9222.PRM
Clock setting : 8 MHz Multiplied by 1
Port : COM4 (115200 bps)
Operation mode: Chip
Write HEX : Light_demo.hex
Option setting : Blank check before Erase
http://www.ee.nec.de/updates
49
Low Pin Count – Do it!
<1> Set the Low Pin Count - Do it! board to the FLASH programming mode by switching SW3/S1
to ON. The recommended configuration of connectors CN1, CN2 and CN12 is shown below:
<2> <Plug and Play> Connect the Low Pin Count - Do it! board with the host machine via the
USB cable.
50
Low Pin Count – Do it!
51
Low Pin Count – Do it!
<3> Click PRM File Read to open the parameter file selection window.
Select the parameter file “78F9222.prm” then click Open.
<4> From the Port list box, select the communication port that matches the host machine being
used. Select the communication speed of the Host connection.
Remark Selectable ports can be checked using Device Manager. For details, refer to 7.5
Confirmation of USB Driver Installation.
52
Low Pin Count – Do it!
<5> Set "Supply oscillator" according to the specifications of the Low Pin Count - Do it! board,
“Frequency = 8.00 MHz” and “Multiply rate = 1.00”. In "Operation Mode", please specify
the “Chip” mode. The following figure shows the recommended settings:
<Command options>
Blank check before Erase : Checked
53
Low Pin Count – Do it!
<7> Click the OK button. The GUI software sets the parameters.
When the settings have been completed, the following screen is displayed:
54
Low Pin Count – Do it!
"...finish" is displayed.
55
Low Pin Count – Do it!
10. TROUBLESHOOTING
Cause:
The USB connector may not be inserted normally into the USB port of the personal computer.
Action:
Check that the USB connector is inserted fully into the USB port of the personal computer.
Alternatively, disconnect the USB connector, then insert the USB connector again after a while.
Cause:
The PG-LPC software of the Low Pin Count - Do it! board may not be installed correctly.
Action:
Install the GUI software again by referring to CHAPTER 7 Software Installation.
In checking by Device Manager, "USB Serial Port" or "USB High Speed Serial
Converter" is not displayed. Alternatively, the "!" or "×" is prefixed.
Cause:
The USB connector may not be inserted normally into the USB port of the personal computer.
Action:
Check that the USB connector is inserted fully into the USB port of the personal computer.
Alternatively, disconnect the USB connector from the USB port, then insert the USB connector
again after a while.
Cause:
The driver may not be installed correctly.
Action:
<1> When this product is connected to the personal computer, right-click the driver marked
with "!" or "×".
Click Erase when displayed.
<2> On Device Manager, execute [Hardware Modification Scan].
<3> Install the driver again with Plug and Play.
Cause:
The device may not be recognized (in the case of connection with the USB hub).
Action:
Try the following:
• Disconnect the USB connector, then insert the USB connector again.
• Connect the USB connector to another port of the USB hub.
If the same symptom occurs, do not use the USB hub, but directly connect the connector to
the USB port of the personal computer.
When this product is connected with a personal computer, the "Add New Hardware
Wizard" screen is displayed.
Cause:
If the USB connector of this product is inserted not into the USB port used at the installation
time but into another USB port, this product may be recognized as a new hardware item.
Action:
Install the driver by referring to CHAPTER 7.4 Driver Installation.
56
Low Pin Count – Do it!
Cause:
The driver may not be installed correctly.
Action:
Check if "USB Serial Port" and "USB High Speed Serial Converter" are installed correctly by
referring to CHAPTER 7.4 Driver Installation.
Cause:
The Port list box may not be set correctly.
Action:
Set the port checked using Device Manager.
Cause:
The power, clock or reset signal may not be supplied to the 78K0S/KA1+ device correctly.
Action:
<1> Check that the clock is supplied to the 78K0S/KA1+ device, connector CN1.
<2> Check that the power is supplied to the 78K0S/KA1+ device, connector CN12.
<3> Check that the CPLD reset signal is supplied to the 78K0S/KA1+ device, connector
CN2.
Cause:
The PRM file selected in [Device Setup] may be incorrect.
Action:
Use the 78F9222.prm that matches the Low Pin Count - Do it! target device. For information
about the PRM file, refer to CHAPTER 8 PG-LPC FLASH programming software.
Cause:
The setting of "Supply oscillator" in [Device Setup] may be incorrect.
Action:
Make a correct setting according to the specifications of the target device.
57
Low Pin Count – Do it!
AD converter demonstration
Light Show
Reaction time measurement
Timer demonstration
UART demonstration
workspace file, IAR Embedded Workbench
A main directory of each sample contains the project inclusive all output files of the development tools. All
sample programs use the same directory structure:
The main directory contains the project files for the IAR Systems Embedded Workbench, the corresponding
C source file and the linker command file (xcl File).
All output files of the development tools for each target are generated in the directories Debug and
Release. One target is the IAR C-SPY simulator directory Debug and the other is the demonstration kit
hardware directory Release.
To open the IAR Systems Embedded Workbench for a sample program please double-click on the IAR
workspace file “LPC_demo_projects.eww” in the directory SamplePrograms.
For details of using IAR Embedded Workbench and IAR C-SPY Simulator please refer to the manuals.
58
Low Pin Count – Do it!
59
Low Pin Count – Do it!
To run the ADC demo please set the configuration of switch SW3 and connectors CN1, CN2 and CN12 to
the following:
60
Low Pin Count – Do it!
To run the Light demo please set the configuration of switch SW3 and connectors CN1, CN2 and CN12 to
the following:
61
Low Pin Count – Do it!
To run the ReacTime demo please set the configuration of switch SW3 and connectors CN1, CN2 and
CN12 to the following:
62
Low Pin Count – Do it!
To run the Timer demo please set the configuration of switch SW3 and connectors CN1, CN2 and CN12 to
the following:
63
Low Pin Count – Do it!
To run the UART demo please set the configuration of switch SW3 and connectors CN1, CN2 and CN12 to
the following:
64
Low Pin Count – Do it!
Figure 59: Connector CN7, USB Mini-B Type Host Connector Pin Configuration
1 5
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 Low Pin Count - Do it! board.
65
Low Pin Count – Do it!
66
Low Pin Count – Do it!
13. Schematics
67