Oki JOB60851 user manual Use the -u command line option to view the USB pipe numbers

Page 18

Chapter 2 Putting Board through its Paces

VENDOR -- Vendor Request test

Detail Usage for -? option:

RwBulk INFO -?

RwBulk BULK -?

RwBulk DESC -?

RwBulk CLASS -?

RwBulk VENDOR -?

Examples:

RwBulk -u

RwBulk DESC 03 00 00 00FF

RwBulk -o Pipe00 -fo out.dat -vl 2

RwBulk -i 1 -r 8192 -fi in.dat -vl 2

RwBulk VENDOR NONE DEVICE -r 00 -v 0000 -i 0000 -l 0000

3.Use the -u command line option to view the USB pipe numbers.

C:\usb>rwbulk.exe BULK –? <Enter>

Usage for Read/Write test:

RwBulk [BULK] [-options]

-i [s] where s is the input pipe -o [s] where s is the output pipe

-r [n] where n is number of bytes to read -w [n] where n is number of bytes to write

-fi [fn] where fn is a filename for the input pipe

-fo [fn] where fn is a filename for the output pipe -vl [n] where n is verbose level(0,2,5, default=2)

-c [n] where n is number of iterations (default=1, 0 is infinity)

The options and the meanings are:

-i [s]

To specify the input pipe name the device(JOB60851) to the host direction.

-o [s]

To specify the output pipe name the host to the device(JOB60851) direction.

-r [n]

To activate operation of n-bytes read from the input pipe

-w [n]

To activate operation of n-byte write into the output pipe.

-fi [fn]

To specify a file name for bulk in operation using the input pipe.

-fo [fn]

To specify a file name for data bulkout operation using bulk out pipe.

-vl [n]

To specify verbose level as 0, 2 ro 5

-c [n]

To specify the number of iterations of specified write and read operations

3.Use the -u command line option to view the USB pipe numbers.

C:\usb>rwbulk.exe –u <Enter>

Page2-5

Image 18
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 Use only the specified voltage Do not pile objects on top of the productUse only the cables and other accessories provided Notation Putting Board through Its Paces Setup Configuring JOB60851 Board Putting Board through its Paces Installing Development Software Installing USB Driver Running Default ProgramConnecting Board Running Flash Memory ProgramUse the -u command line option to view the USB pipe numbers Running User Programs Connecting Serial Cable Loading Terminal EmulatorSynchronizing Link Downloading and ExecutingOverwriting Flash Memory Contents System Specifications System Objective System SpecificationsSystem Components System ComponentsHardware Specification Connectors and SwitchesUse only the AC adapter included with the product System Specifications Circuit Diagram 2. Circuit Diagram 1/2System Specifications Parts List 1. Parts List 1/24. Memory Map for Download Mode Memory Maps5. 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 System Specifications 1. MSM66Q573 Pin Assignments 2/2 P11-3/XTOUTSoftware Development USB Basics Bus Topology, Addresses, and Hot PluggingSoftware Development Specification Documents Core SpecificationsData Flow Types Bus Transactions2. USB Data Flow Types Packets Endpoints3. lists the USB packet types Data Rates Device Class Specifications5. USB Device Class Specifications 4. Maximum Payload Sizes6. Device Request Types Device RequestsStandard Device Requests 7. Control Transfer Data PacketDevice Descriptors Device Descriptor for Bidirectional PrinterString descriptor Sample USB Firmware SetupSample Firmware Specifications 1. 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 Simple Debugging Evaluating USB EquipmentUSB Bits and Pieces Device Controller Specifications1. ML60851C Specifications Overview of ML60851C OperationConnecting Microcontroller to USB Controller 1. ML60851C Block DiagramSpecial USB Considerations 2. Microcontroller with 16- or 32-Bit BusBuilding a Product Vendor and Product IDsOther Tools Necessary Products Limitations Port 7 LED2 Control Port 7 RegistersChanging LED2 Color Sample Port 7 Control Program Standard I/O over Serial Link JOB60851 Board Standard I/OSerial Port 2. Serial Port StructureSerial port SIO0 Chapter Internal timer 9 and following Read and write Functions 3. read Operation4. write Operation Sample Program Using Standard Output Standard I/O ExamplesSample Program Using Standard Input Debugging with Standard I/O