[#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
2009-06-18 06:34:23 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(1/3/5/7/2/4/6/8) hang up sometimes on bf527 with DMA mode
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
--- 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
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:28:05
OK now. Close it. Thanks!
File Name File Type File Size Posted By
No Files Were Found