3. running user programs – Oki JOB60851 User Manual
Page 19
Chapter 2 Putting Board through its Paces
page 2-6
"USB_ENDPOINT_DESCRIPTOR for Pipe00"
"USB_ENDPOINT_DESCRIPTOR for Pipe01"
"USB_ENDPOINT_DESCRIPTOR for Pipe02"
The software defines three pipes, PIPE00 to PIPE02. The first is for output--that is, from the
development host to the JOB60851 board. The other two are for input (in the opposite
direction).
PIPE00
→
OUTPUT:PC
→
From host to JOB60851
PIPE01
→
INPUT:JOB60851
→
To host from JOB60851
PIPE02
→
INPUT:JOB60851
→
To host from JOB60851
4.
Try one data transfer in each direction.
C:\USB>rwbulk.exe -o PIPE00 -w 1024 -i PIPE01 -r 1024
This command line writes one kilobyte of test data using output pipe PIPE00 and then reads the
same amount of data using input pipe PIPE01.
The following messages appear if both operations are successful.
Device Opened successfully.
5. Try multiple transfers.
C:\USB>rwbulk.exe -o PIPE00 -w 1024 -i PIPE01 -r 1024 –c 10
This command line adds a repeat count of ten, so should produce ten such message pairs.
Opened successfully.
Device Opened successfully.
:
:
6.
Additional operation
For more detailed operation please refer to readme.txt file in host driver (Package\Host)
directory.
2-3. Running User Programs
This section gives the procedures for downloading a program over a serial link to the JOB60851
board and then running it.