Re: CheckUDP problem
- From: "GraemeW" <gwintle@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 23 Nov 2007 11:12:47 -0000
I used to see problems with downloads a long time ago with some platforms,
the downloads would mostly continue but there were UDP timeout errrors.
The way an nk.bin is downloaded, its basically a set of SRecords or blocks
of data each with a checksum, the bootloader checksums each record AFTER its
downloaded, this is normally quick as the blocks are small, but some blocks
can be big, i.e. 1Mb in size, this takes a little while to calculate the
checksum and the next UDP record from the TFTP server (i.e. PB) is lost as
the bootloader wasn't servicing the network card whilst it was doing the
checksum. So I calculated this checksum as the record is being downloaded,
this increased download speed and got rid of the UDP errors, but for a test
you can just try disabling it.
Maybe worth a try, its easy to do, copy the BLCOMMON out of platform, and
just comment out the code in
static BOOL VerifyChecksum (DWORD cbRecord, LPBYTE pbRecord, DWORD dwChksum)
Always return TRUE, see if it helps... you can speed up the download on
slowish CPUs by doing the calculation of the checksum as each packet it
received, i got a 10-15% increase in download speed
--
GraemeW
Blog - http://ce4all.blogspot.com
"Maarten" <Maarten@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9B0DBE24-91A2-49A4-8079-FDC576A0FFBB@xxxxxxxxxxxxxxxx
I'm struggling with a CheckUDP problem in my 5.00 platform during kernel
download. Suprisingly the error always occurs at the same moment (about
2.3Mb
of kernel transfer), so I am more and more asking myself if it is hardware
or
software
To be sure my mac/phy operate correct, I would like to test these separate
from the rest of the project. Could anyone give some hints how to do this?
Could I e.g. use OALKitlethSendFrame/OALKitlethGetFrame to test the buffer
contents with a loopback?
--
Maarten
.
- Follow-Ups:
- Re: CheckUDP problem
- From: Maarten
- Re: CheckUDP problem
- Prev by Date: Re: Overlay support for CE 6.0 Display driver
- Next by Date: Re: Can I use the first 32KB internal SRAM in PXA320?
- Previous by thread: Overlay support for CE 6.0 Display driver
- Next by thread: Re: CheckUDP problem
- Index(es):
Relevant Pages
|