Re: Ethernet driver problem
From: Michele Bove (michele.bove_at_selesta.it)
Date: 03/04/04
- Next message: chakka sudhakar: "file system filter driver not loading in I MATE Smart Phone 2003 device ?"
- Previous message: Purohit: "Re: Auto hiding Cursor"
- Messages sorted by: [ date ] [ thread ]
Date: 4 Mar 2004 06:19:25 -0800
OK, bug found in NE2000 driver - function CardSetup().
Original driver doesnt provide a multiplier parameter for address
shifting, and uses a loop to download mac address into NIC
for (i = 0; i < NE2000_LENGTH_OF_ADDRESS; i++)
{
NdisRawWritePortUchar(
Adapter->IoPAddr + (NIC_PHYS_ADDR + i),
Adapter->StationAddress[i]
);
}
My board have IO addresses shifted by 1, So MAC address is written
wrong.
I dont understand why DHCP packets went out correctly, but after this
correction driver starts the work.
I'm going now to apply QFEs ...
michele.bove@selesta.it (Michele Bove) wrote in message news:<6a4bf7d7.0402270920.10c22a9d@posting.google.com>...
> Thank you for your answer, Valter.
> I'm using a JTAG hardware debugger (RAVEN + Intel compiler EXDI
> driver) and I'm not using KITL, for now.
> So, BSP_NOSHAREETH = 1
> I think that some registry settings are OK, because :
> - If I enable DHCP client, DHCP packets are sent to DHCP server and
> packets from DHCP are received and decoded correctly. After this the
> board send some ARP packets for verifying if IP address received is
> valid.
> - If I disable DHCP client, ARP packets are sent immediately.
> I see also WINS packets in output, but without answer, so I'm
> investigating about them.
> But after these operations, the board receive for example ICMP packets
> but doesn't work.
> This is my first job with WIndowsCE and I think I have a lot to learn
> ....
> Any other suggestion is good for me.
>
> Valter Minute <vminute@REMOVEMEinwind.it> wrote in message news:<Xns949BB394D579DVALTERMINUTE@207.46.248.16>...
> > michele.bove@selesta.it (Michele Bove) wrote in
> > news:6a4bf7d7.0402260819.7a9d98ee@posting.google.com:
> >
> > > Hi, I'm developing a board with a PXA255 and Asix 10/100 Ne2000
> > > compatible ethernet controller.
> > > First step of WindowsCE 4.2 porting (ethernet bootloader) works
> > > fine. Second step instead give me some troubles.
> > > Kernel start correctly, ethernet drivers seems to works (I obtain
> > > an IP address from a DHCP server) but after this step TCP/IP
> > > doesnt work. I'm using a serial debug interface, and I can see
> > > that ping ethernet packets from my PC (60 bytes len) are received
> > > but not routed to an higher level.
> > > Someone can suggest me a potential reason for this ?
> > > Thanks.
> >
> > Are you connected to PB using KITL?
> > In this case check that the BSP_NOSHAREETH environment variable is not
> > set and that you followed the directions of the article entitled
> > "Ethernet Debug Sharing Procedures" in PB help.
> >
> > If your system is working in release mode, without KITL, and the frames
> > are received only at the ethernet level and not by the TCP/IP stack,
> > check that the registry settings that link TCP/IP and your network
> > adapter are correct. Try to build a debug image without KITL and enable
> > the debug zones related to TCP/IP and network drivers (you should put
> > the correct entries under HKEY_LOCAL_MACHINE\DebugZones on the target
> > device).
- Next message: chakka sudhakar: "file system filter driver not loading in I MATE Smart Phone 2003 device ?"
- Previous message: Purohit: "Re: Auto hiding Cursor"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|