Oki JOB60851 user manual Running Default Program, Connecting Board, Installing USB Driver

Page 17

Chapter 2 Putting Board through its Paces

2-1-3. Connecting Board

This section gives the procedures for preparing the JOB60851 board for connection to the development host.

1.Make sure that the Flash writer selection switch (FW-SEL, #4 in Figure 2.1.1) is in its B position.

2.Plug the AC adapter into the jack (#1 in Figure 2.1.1) on the board. Make sure that the power (#2 in Figure 2.1.1) is OFF.

3.Plug one end of the USB cable into the connector (#5 in Figure 2.1.1) on the board. Connect the other end into the host controller.

2-2. Running Default Program

This section gives the procedures for running the program shipped in the MSM66Q573 Flash memory.

2-2-1. Installing USB Driver

The included CD-ROM includes the necessary USB driver as well as host software, used in the next Section, for testing bulk data flow.

1.Create a directory for the host software--c:\usb, for example.

2.Copy the contents of the CD-ROM directory \package\host to that directory.

Rwbulk.exe

Bulkusb.sys

Bulkusb.inf

3.Connect the JOB60851 board as described in Section 2.1.3 above and apply power to it.

4.When Windows 98 automatically detects the new device, install the driver using the Windows 98 driver wizard. (Have the Windows 98 CD-ROM or CABs handy.)

2-2-2. Running Flash Memory Program

The JOB60851 Starter Kit ships with a program already in the MSM66Q573 Flash memory. The executable Rwbulk.exe installed above is for transferring data to and from this program.

1.Open an MS-DOS window and change to the directory containing Rwbulk.exe--c:\usb in our example.

C:\usb>rwbulk.exe <Enter>

2.Run Rwbulk.exe to display the built-in help screen.

Usage for RwBulk:

RwBulk type [options]

type : INFO -- dump USB configuration and pipe info BULK -- Read/Write test

DESC -- Get Descriptor test

CLASS -- Class Request test

page 2-4

Image 17
Contents JOB60851 Starter Kit Page OKI Contents Software Development Port 7 LED2 Control Introduction 1. Packing List Checking Packing ListIntroduction Host Environment Icons Precaution for Safe and Proper UseLabels Do not pile objects on top of the product Use only the specified voltageUse only the cables and other accessories provided Notation Putting Board through Its Paces Putting Board through its Paces SetupConfiguring JOB60851 Board Installing Development Software Connecting Board Running Default ProgramInstalling USB Driver Running Flash Memory ProgramUse the -u command line option to view the USB pipe numbers Running User Programs Loading Terminal Emulator Connecting Serial CableDownloading and Executing Synchronizing LinkOverwriting Flash Memory Contents System Specifications System Components System SpecificationsSystem Objective System ComponentsUse only the AC adapter included with the product Hardware SpecificationConnectors and Switches System Specifications 2. Circuit Diagram 1/2 Circuit DiagramSystem Specifications 1. Parts List 1/2 Parts ListMemory Maps 4. Memory Map for Download Mode5. Memory Map for Flash Execution Mode 6. Memory Map for Application Mode 7. Memory Map for Flash Rewrite Mode 1. MSM66Q573 Pin Assignments 1/2 System LimitationsResources Uses P11-3/XTOUT System Specifications 1. MSM66Q573 Pin Assignments 2/2Software Development Software Development USB BasicsBus Topology, Addresses, and Hot Plugging Core Specifications Specification Documents2. USB Data Flow Types Data Flow TypesBus Transactions 3. lists the USB packet types PacketsEndpoints 5. USB Device Class Specifications Device Class SpecificationsData Rates 4. Maximum Payload SizesStandard Device Requests Device Requests6. Device Request Types 7. Control Transfer Data PacketDevice Descriptor for Bidirectional Printer Device DescriptorsString descriptor Sample Firmware Specifications SetupSample USB Firmware 1. Sample USB FirmwareConfirming USB Compliance with Usbcheck.exe Sample USB Host SoftwareCompiling and Executing Sample USB Firmware Software Development Creating USB Mouse Demo Modifying Application Layer Receive Only Skeleton Evaluating USB Equipment Simple Debugging1. ML60851C Specifications Device Controller SpecificationsUSB Bits and Pieces Overview of ML60851C Operation1. ML60851C Block Diagram Connecting Microcontroller to USB Controller2. Microcontroller with 16- or 32-Bit Bus Special USB ConsiderationsOther Tools Necessary Building a ProductVendor and Product IDs Products Limitations Port 7 Registers Port 7 LED2 ControlChanging LED2 Color Sample Port 7 Control Program JOB60851 Board Standard I/O Standard I/O over Serial Link2. Serial Port Structure Serial PortSerial port SIO0 Chapter Internal timer 9 and following 3. read Operation Read and write Functions4. write Operation Standard I/O Examples Sample Program Using Standard OutputDebugging with Standard I/O Sample Program Using Standard Input