[#5264] ping packet size test will fail for gadget ethernet test with DMA mode

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

[#5264] ping packet size test will fail for gadget ethernet test with DMA mode

Submitted By: Vivi Li

Open Date

2009-06-17 01:44:41     Close Date

2009-07-06 03:28:40

Priority:

Medium High     Assignee:

Cliff Cai

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

Tests     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-rc7

App binary format:

N/A     

Summary: ping packet size test will fail for gadget ethernet test with DMA mode

Details:

 

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

uclinux62-548-usbdev:~ #

--

 

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

root:/>

--

 

Follow-ups

 

--- Cliff Cai                                                2009-07-03 03:30:33

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:40

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