USB HOST DRIVER V03 Freescale Semiconductor / Motorola, USB HOST DRIVER V03 Datasheet - Page 139

no-image

USB HOST DRIVER V03

Manufacturer Part Number
USB HOST DRIVER V03
Description
USB Host Driver v03
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
9.5. File Transfer Firmware Testing.
This test appears only on “File Transfer Device” (i.e. with VendorID = 0xABCD,
ProductID = 0x1235). The test procedure performs continuous file transfers with various
file length and maximum transfer length parameters. A random file is generated, with a
random name, which is written to the Device. It then reads the file from the Device and
compares source file with destination file. In addition the test tracks the directory
structure and can verify it. When the Device returns memory allocation errors on writing
a file, the test removes all files it created (deleting phase) and continues write/read/verify
sequences.
9.5.1.
At the start of this test all files from the Device are removed. The test then prepares a
directory on the PC, where all files will be located. This directory is located in the
following path:
where the
address. Using such a path, the Test Suite can test more that a single File Transfer
Device, because of unique files location for each of the Devices under test.
The test consists of the following stages:
1.Write Phase.
The test procedure generates a file on the PC according to given file boundaries
parameter, and then sends (generating transfer length by give transfer boundaries
parameter) this file to the Device. If the Device returns one of following errors:
the test procedure goes to point (3). Following successful completion of the point (3)
stage, the test then tries to write a file and if an error occurs, an error message will be
shown and test will be stopped. If all the transactions in this stage result in success, the
M
UFTP_NO_POSITION_FOR_NEW_FILE
UFTP_NOT_ENOUGH_SPACE_FOR_FILE
UFTP_MEMORY_ALLOCATION_FAIL
Device_instance_number
Algorithm description.
PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE
Appendix 3:Test Suite for MCF5272 USB Protocol Stack.
%TEMP%\usbtest\<Device_instance_number>,
Fig 9.10 Set Interface Dialog.
is equal to hexadecimal testing Device instance
9-11

Related parts for USB HOST DRIVER V03