[#5264] ping packet size test will fail for gadget ethernet test with DMA mode
Submitted By: Vivi Li
2009-06-17 01:44:41 Close Date
Medium High Assignee:
Closed Fixed In Release:
Found In Release:
ALL Silicon Revision:
Is this bug repeatable?:
Uboot version or rev.:
Toolchain version or rev.:
App binary format:
Summary: ping packet size test will fail for gadget ethernet test with DMA mode
For gadget ethernet test with DMA mode, on both bf527 and bf548, change ping packetsize and ping between host and target, it always fails. Bellow are the logs.
ping from host to target:
uclinux62-548-usbdev:~ # ping -c 1 -s 1024 192.168.1.66
PING 192.168.1.66 (192.168.1.66) 1024(1052) bytes of data.
--- 192.168.1.66 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
ping from target to host:
root:/> ping -c 1 -s 1024 192.168.1.56
PING 192.168.1.56 (192.168.1.56): 1024 data bytes
--- 192.168.1.56 ping statistics ---
1 packets transmitted, 0 packets received, 100% packet loss
--- Cliff Cai 2009-07-03 03:30:33
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:40
OK now. Close it. Thanks!
File Name File Type File Size Posted By
No Files Were Found