Oki JOB60851 Bedienungsanleitung

OKI
JOB60851 Starter Kit
User’s Manual
Version 1.07 (July 27, 2000)
Oki Electric Industry Co., Ltd..
Technocollage Inc


OKI
NOTICE
1. The information contained herein can change without notice owing to product and/or technical
improvements. Before using the product, please make sure that the information being referred to is
up-to-date.
2. The outline of action and examples for application circuits described herein have been chosen as an
explanation for the standard action and performance of the product. When planning to use the
product, please ensure that the external conditions are reflected in the actual circuit, assembly, and
program designs.
3. When designing your product, please use our product below the specified maximum ratings and
within the specified operating ranges including, but not limited to, operating voltage, power
dissipation, and operating temperature.
4. Oki assumes no responsibility or liability whatsoever for any failure or unusual or unexpected
operation resulting from misuse, neglect, improper installation, repair, alteration or accident,
improper handling, or unusual physical or electrical stress including, but not limited to, exposure to
parameters beyond the specified maximum ratings or operation outside the specified operating
range.
5. Neither indemnity against nor license of a third party’s industrial and intellectual property right, etc.
is granted by us in connection with the use of the product and/or the information and drawings
contained herein. No responsibility is assumed by us for any infringement of a third party’s right
which may result from the use thereof.
6. The products listed in this document are intended for use in general electronics equipment for
commercial applications (e.g., office automation, communication equipment, measurement
equipment, consumer electronics, etc.). These products are not authorized for use in any system or
application that requires special or enhanced quality and reliability characteristics nor in any system
or application where the failure of such system or application may result in the loss or damage of
property, or death or injury to humans.
Such applications include, but are not limited to, traffic and automotive equipment, safety devices,
aerospace equipment, nuclear power control, medical equipment, and life-support systems.
7. Certain products in this document may need government approval before they can be exported to
particular countries. The purchaser assumes the responsibility of determining the legality of export
of these products and will take appropriate and necessary steps at their own expense for these.
8. No part of the contents contained herein may be reprinted or reproduced without our prior
permission.
Copyright 2000 Oki Electric Industry Co., Ltd.

i
Contents
1.Introduction ............................................................................ 1-1
1-1.Cheking Packing List...................................................................................1-2
1-2.Host Environment ........................................................................................1-3
1-3. Precaution for Safe and Proper Use ...........................................................1-4
2.Putting Board through its Paces........................................... 2-1
2-1.Setup.............................................................................................................2-2
2-1-1. Configuring JOB60851 Board........................................................................2-2
2-1-2. Installing Development Software...................................................................2-3
2-1-3. Connecting Board..........................................................................................2-4
2-2.Running Default Program............................................................................2-4
2-2-1. Installing USB Driver......................................................................................2-4
2-2-2. Running Flash Memory Program...................................................................2-4
2-3.Running User Programs ..............................................................................2-6
2-3-1. Connecting Serial Cable................................................................................2-7
2-3-2. Loading Terminal Emulator............................................................................2-7
2-3-3. Synchronizing Link.........................................................................................2-8
2-3-4. Downloading and Executing..........................................................................2-8
2-4.Overwriting Flash Memory Contents ..........................................................2-9
3.System Specifications............................................................ 3-1
3-1.System Components....................................................................................3-2
3-1-1.System Objective...........................................................................................3-2
3-1-2.System Components......................................................................................3-2
3-2.Hardware Specification................................................................................3-3

ii
3-2-1. Connectors and Switches..............................................................................3-3
3-2-2. Circuit Diagram.............................................................................................. 3-5
3-2-3. Parts List........................................................................................................3-7
3-2-4. Memory Maps................................................................................................ 3-8
3-3.System Limitations.....................................................................................3-12
3-3-1.Resources Uses ..........................................................................................3-12
4. Software Development...........................................................4-1
4-1.USB Basics...................................................................................................4-2
4-1-1.Bus Topology, Addresses, and Hot Plugging................................................ 4-2
4-1-2.Specification Documents...............................................................................4-3
4-1-3.Core Specifications........................................................................................ 4-3
4-1-4.Data Flow Types............................................................................................ 4-4
4-1-5. Bus Transactions...........................................................................................4-4
4-1-6. Packets..........................................................................................................4-5
4-1-7. Endpoints.......................................................................................................4-5
4-1-8. Data Rates..................................................................................................... 4-6
4-1-9. Device Class Specifications ..........................................................................4-6
4-1-10. Device Requests..........................................................................................4-7
4-1-11. Standard Device Requests.......................................................................... 4-7
4-1-12. Device Descriptors....................................................................................... 4-8
4-2. Sample USB Firmware ...............................................................................4-10
4-2-1. Setup............................................................................................................4-10
4-2-2. Sample Firmware Specifications.................................................................4-10
4-2-3. Sample USB Host Software ........................................................................4-11
4-2-4. Compiling and Execitomg Sample USB Firmware......................................4-11
4-2-5. Confirming USB Compliance with Usbcheck.exe .......................................4-11
4-2-6. Creating USB Mouse Demo........................................................................4-13
4-2-7. Modifying Application Layer.........................................................................4-14

iii
4-2-8. Simple Debugging........................................................................................4-16
4-2-9. Evaluating USB Equipment .........................................................................4-16
4-3. USB Bits and Pieces ..................................................................................4-17
4-3-1.Device Controller Specifications..................................................................4-17
4-3-2. Overview of ML60851C Operation..............................................................4-17
4-3-3.Connecting Microcontroller to USB Controller.............................................4-18
4-3-4. Special USB Considerations........................................................................4-19
4-3-5. Building a Product........................................................................................4-20
4-3-6. Vendor and Product IDs ..............................................................................4-20
4-3-7. Other Tools Necessary................................................................................4-20
4-3-8. Note on Porting............................................................................................4-21
4-3-9. Limitations....................................................................................................4-22
4-4. Port 7 LED2 Control ...................................................................................4-22
4-4-1. Port 7 Registers...........................................................................................4-22
4-4-2. Changing LED2 Color..................................................................................4-23
4-5. Standard I/O over Serial Link.....................................................................4-26
4-5-1. JOB60851 Board Standard I/O....................................................................4-26
4-5-2. Serial Port ....................................................................................................4-27
4-5-3. read() and write() Functions.........................................................................4-29
4-5-4. Standard I/O Examples................................................................................4-31
4-5-5. Debugging with Standard I/O.......................................................................4-32

1. Introduction

Chapter 1 Introduction
page 1-2
1-1. Checking Packing List
Thank you for purchasing the JOB60851 Starter Kit.
The JOB60851 Starter Kit drives an Oki Electric Industry ML60851 Universal Serial Bus (USB)
device controller with an Oki MSM66Q573 microcontroller to create a starting point for developing
products with built-in USB support. The kit also includes sample firmware source code and the C
compiler package for the Oki MSM66 microcontroller Series, so the developer can start writing
firmware right away.
Before starting development, however, check the kit contents against the packing list in Table 1.1.1.
If a component is missing or damaged during shipping, please contact your Oki Electric distributor
or Technocollage and include the JOB60851 serial number. Replacement is free within one (1)
month of delivery.
Table 1.1.1. Packing List
JOB60851 1
USB cable 1
RS-232c cable 1
AC adapter 1
CD-ROM 1
Two 60-pin user connectors 2
Introduction (this page) 1
The CD-ROM contains the following directories and files.
\Document Documentation
\CC665S C compiler User's Manual, etc.
\JOB60851 JOB60851 Starter Kit User's Guide, etc.
\M66573 MSM66573 User's Guide, etc.
\ML60851C USB controller documentation, etc.
\Package Compiler package and sample source code
\Cc665s C compiler package, etc.
\Host Sample files for evaluating USB operation, etc.
\Sample Sample programs, etc.
\Usb_firm Sample source code for MSM60851C control software: Hot plugging
(a.k.a. dynamic insertion and removal) capability for USB device, loopback test,
etc.
Before using this product, read through to the end of this section ("Introduction"). Detailed
descriptions start in Section 2 "Putting Board through Its Paces."
If a component is missing or damaged during shipping, please contact your Oki Electric distributor
with the included JOB60851 serial number. Replacement is free within one month of delivery.
Technical support for this product is limited to the product description. We do not offer personalized
support in Japanese or English, not by e-mail or fax and especially not over the telephone.

Chapter 1 Introduction
page 1-3
1-2. Host Environment
The JOB60851 Starter Kit assumes the following development environment.
•Microsoft Windows 98
•USB interface fully compatible with Microsoft Windows 98 USB driver
•Terminal emulation software
The compiler package will also run under Microsoft Windows 95 and MS-DOS version 5.0 or later,
but the JOB60851 board will not be accessible as a USB device.

Chapter 1 Introduction
page 1-4
1-3. Precaution for Safe and Proper Use
This User’s Guide uses various labels and icons that serve as your guides to operating this product
safely and properly so as to prevent death, personal injury, and property damage. The following
table lists these labels and their definitions.
Labels
Warning
This label indicates precautions that, if ignored or
otherwise not completely followed, could lead to
death or serious personal injury.
Caution
This label indicates precautions that, if ignored or
otherwise not completely followed, could lead to
personal injury or property damage.
Icons
A triangular icon draws your attention to the presence of a hazard.
The illustration inside the triangular frame indicates the nature of the
hazard—in this example, an electrical shock hazard.
A circular icon with a solid background illustrates an action to be
performed. The illustration inside this circle indicates this action—in
this example, unplugging the power cord.
A circular icon with a crossbar indicates a prohibition. The illustration
inside this circle indicates the prohibited action—in this example,
disassembly.
Inhaltsverzeichnis
Andere Oki Computerhardware Handbücher
Beliebte Computerhardware Handbücher anderer Marken

EMC2
EMC2 VNX Series Betriebsanleitung

Panasonic
Panasonic DV0PM20105 Bedienungsanleitung

Mitsubishi Electric
Mitsubishi Electric Q81BD-J61BT11 Bedienungsanleitung

Gigabyte
Gigabyte B660M DS3H AX DDR4 Bedienungsanleitung

Raidon
Raidon iT2300 Bedienungsanleitung

National Instruments
National Instruments PXI-8186 Bedienungsanleitung
















