[#5301] gadget zero bulk test 13 hang up sometimes on bf527 with DMA mode
Submitted By: Vivi Li
2009-06-30 23:51:05 Close Date
Medium High Assignee:
Closed Fixed In Release:
Found In Release:
BF527 Silicon Revision:
Is this bug repeatable?:
Uboot version or rev.:
Toolchain version or rev.:
App binary format:
Summary: gadget zero bulk test 13 hang up sometimes on bf527 with DMA mode
For gadget zero bulk test on bf527 with DMA mode, tests 13 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/105 -at13
unknown speed /proc/bus/usb/001/105
/proc/bus/usb/001/105 test 13 --> 32 (Broken pipe)
--- Cliff Cai 2009-07-03 03:28:32
there are three problems in the musb code that cause usb not to work in DMA
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.
--- Vivi Li 2009-07-06 03:27:29
OK now. Close it.
Thank you, Cliff!
File Name File Type File Size Posted By
No Files Were Found