[#5276] gadget zero bulk test(1/3/5/7/2/4/6/8) hang up sometimes on bf527 with DMA mode

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

[#5276] gadget zero bulk test(1/3/5/7/2/4/6/8) hang up sometimes on bf527 with DMA mode

Submitted By: Vivi Li

Open Date

2009-06-18 06:34:23     Close Date

2009-07-06 03:28:05

Priority:

Medium High     Assignee:

Cliff Cai

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

Drivers     Board:

EZKIT Lite

Processor:

BF527     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.1_09r1-rc7

App binary format:

N/A     

Summary: gadget zero bulk test(1/3/5/7/2/4/6/8) hang up sometimes on bf527 with DMA mode

Details:

 

For gadget zero bulk test on bf527 with DMA mode, all tests(1/3/5/7/2/4/6/8) may hang up after running test for a while.

This test can pass on PIO mode. BF548-EZKIT can also pass.

 

--

sudo ./src/testusb -D /proc/bus/usb/001/096 -t5

unknown speed   /proc/bus/usb/001/096

--

 

Follow-ups

 

--- Cliff Cai                                                2009-06-30 05:57:03

clear the DMA interrupt at the beginnig of ISR.

 

--- Cliff Cai                                                2009-07-03 03:27:44

there are three problems in the musb code that cause usb not to work in DMA

mode.

1.the interrupt pending bits should be cleared at the beginning of DMA ISR.

2.the DMA address for TX  DMA is wrong.

3.the TX request should be completed,only all the data has been transfered.

 

Cliff

 

--- Vivi Li                                                  2009-07-06 03:28:05

OK now. Close it. Thanks!

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes