Oki JOB60851 user manual Simple Debugging, Evaluating USB Equipment

Page 51

Chapter 4 Software Development

4-2-8. Simple Debugging

The JOB60851 board allows simple debugging over the serial link to a terminal emulator with printf(), scanf(), and other C standard I/O library functions. Also available for use in debugging is LED2, which is connected to Port 7 and thus under program control. For further details, see Sections 4.4 "Port 7 LED2 Control" and 4.5 "Standard I/O over Serial Link."

4-2-9. Evaluating USB Equipment

The USB Implementers Forum has published USB interface compliance guidelines. The following URL provides access to guidelines and peripheral check lists for power consumption, UBS device framework (using Usbcheck.exe described above), and equipment configurations for testing interconnectivity.

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

Every three or four months, the USB Implementers Forum conducts a compliance workshop for testing interconnectivity. Passing these tests earns the devices the right to use the USB logo.

page 4-16

Image 51
Contents JOB60851 Starter Kit Page OKI Contents Software Development Port 7 LED2 Control Introduction Checking Packing List Introduction1. Packing List Host Environment Precaution for Safe and Proper Use LabelsIcons 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 Setup Configuring JOB60851 BoardPutting Board through its Paces 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 ObjectiveHardware Specification Connectors and SwitchesUse only the AC adapter included with the product 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 System Limitations Resources Uses1. MSM66Q573 Pin Assignments 1/2 P11-3/XTOUT System Specifications 1. MSM66Q573 Pin Assignments 2/2Software Development USB Basics Bus Topology, Addresses, and Hot PluggingSoftware Development Core Specifications Specification DocumentsData Flow Types Bus Transactions2. USB Data Flow Types Packets Endpoints3. lists the USB packet types 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 FirmwareSample USB Host Software Compiling and Executing Sample USB FirmwareConfirming USB Compliance with Usbcheck.exe 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 ConsiderationsBuilding a Product Vendor and Product IDsOther Tools Necessary 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