Oki JOB60851 user manual Software Development

Page 47

Chapter 4 Software Development

http://www.usb.org/developers/complian.html

n Note n

As of August 1999, this software is at version 3.2 and requires Windows 98 Second Edition. Users of older Windows 98 versions should download version 2.9 instead.

Once this software has been successfully installed, use the following test procedure to reconfirm the compliance of the program shipped in the MSM66Q573 Flash memory.

n Note n

The procedure for running the program itself is in Section 2.2 "Running Default Program."

1.Detach all USB devices connected to the personal computer.

2.Double-click the USB Check icon to start the application.

3.Comply with the message box asking you to connect USB devices by plugging in the cable to the JOB60851 board and applying power to the latter (#2 in Figure 2.1.1).

4.Wait while Windows 98 automatically installs the drivers for the JOB60851 board.

5.When the USB Compliance Tool dialog box appears, click the Full test button at the bottom.

6.When the USB Chapter 9 tests dialog box appears, click the Start automatic testing button at the bottom.

7.If the tests run successfully to completion and the Full test results dialog box with the Run other tests button appears, click the OK button to return to the USB Chapter 9 tests dialog box.

8.Click the Cancel automated testing button to display the following information in the Device info section in the middle of the left side of the dialog box that appears.

If the display matches the information above, the tests are complete.

Usbcheck.exe checks compliance by issuing each USB standard device request. It should, therefore, always be the first test after downloading a modified version of the sample USB firmware to the JOB60851 board.

n Note n

If Usbcheck.exe aborts in the early stages of dynamic insertion, go back and double- check the most recent source code modifications.

page 4-12

Image 47
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 Running Flash Memory Program Running Default ProgramConnecting Board Installing USB DriverUse 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 Components System ObjectiveUse 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 4. Maximum Payload Sizes Device Class Specifications5. USB Device Class Specifications Data Rates7. Control Transfer Data Packet Device RequestsStandard Device Requests 6. Device Request TypesDevice Descriptor for Bidirectional Printer Device DescriptorsString descriptor 1. Sample USB Firmware SetupSample Firmware Specifications 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 DebuggingOverview of ML60851C Operation Device Controller Specifications1. ML60851C Specifications USB Bits and Pieces1. 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