[#5489] t2/t4 failed in gadget zero bulk test with dma mode

Document created by Aaronwu Employee on Sep 4, 2013
Version 1Show Document
  • View in full screen mode

[#5489] t2/t4 failed in gadget zero bulk test with dma mode

Submitted By: Vivi Li

Open Date

2009-09-03 17:46:01     Close Date

2009-11-08 23:37:07

Priority:

Medium     Assignee:

Cliff Cai

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Category:

Drivers     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.1-09r1-rc9

App binary format:

N/A     

Summary: t2/t4 failed in gadget zero bulk test with dma mode

Details:

 

t2 and t4 test failed in gadget zero bulk test with dma mode, on both bf527 and bf 548.

It works in pio mode.

 

--

uclinux62-548-usbdev:..testsuites/usbdev # sudo ./src/testusb -D /proc/bus/usb/002/054 -t2

unknown speed   /proc/bus/usb/002/054

/proc/bus/usb/002/054 test 2 --> 75 (Value too large for defined data type)

uclinux62-548-usbdev:..testsuites/usbdev # ^[(B^[[mFAIL: testusb t2

--

 

--

uclinux62-548-usbdev:..testsuites/usbdev # sudo ./src/testusb -D /proc/bus/usb/002/054 -t4

unknown speed   /proc/bus/usb/002/054

/proc/bus/usb/002/054 test 4 --> 75 (Value too large for defined data type)

uclinux62-548-usbdev:..testsuites/usbdev #

--

 

Follow-ups

 

--- Cliff Cai                                                2009-10-29 04:48:34

fixed by enabling double buffering for TX FIFO.

 

--- Cliff Cai                                                2009-10-30 04:18:52

the root cause is that we can't use mode 1 for tx currently and request_size

which is equal to packet_sz should be treated as mode0.

 

--- Vivi Li                                                  2009-11-08 23:37:07

OK now. Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

 

 

 

Save changes

Attachments

    Outcomes