Re: RNDIS Question - USBConnect4.TXT [0/1] by brianp
brianp
Tue Sep 09 19:21:32 CDT 2003
Hi Glenn,
I can't help you with KITL, I have not tried it over USB.
But everything else I tried works fine - Remote Registry Editor,
Telnet, HTTP, FTP, anything that uses IP.
As for setting the IP address, the registry is probably better under
[HKEY_LOCAL_MACHINE\Comm\RndisMini1\Parms\TcpIp]
"EnableDHCP"=dword:0
"IpAddress"=multi_sz:"192.168.10.10"
"Subnetmask"=multi_sz:"255.255.255.0"
"UseZeroBroadcast"=dword:0
This way you can easily change it or even use DHCP (which will default
eventually to APIPA 169.255.x.x).
When sending data from the device ensure you clear the interrupt in
the device before loading the next packet. I had a problem with this
that caused only one packet to be sent because the next interrupt was
being generated before I got to clear it.
If KITL isn't responding then maybe it's in the Remote Connection
settings that the problem lies.
Sorry I can't be of any more help.
Regards
Brian Price
Applied Controls
richmogd@hotmail.com (Glenn) wrote in message news:<MPG.19c7c00923b24c0898968b@news.microsoft.com>...
> Hi Brian,
>
> My controller appears to be very similar to the 2890, to the extent that
> all of the endpoints perform the same function. EP0 is control (8 byte
> buffer), EP1 is receiving data packets (handling OUT tokens), EP2 is
> sending data packets (handling IN tokens) and EP3 is sending interrupt
> packets (IN tokens). At this point, i think that i'm almost there. I've
> gotten past all of the rndis configuration. There are a range of RNDIS
> packets received and processed at the beginning and the occasional RNDIS
> packet is still send/received continually (i assume as some sort of
> polling thing). The RNDIS packets begin to be received on EP1 after
> initial configuration... is this the same for you? I've also hard-coded
> my IP address as 192.168.10.10 on my adapter, as the net2890 appears to
> pull this off an eeprom. Hopefully this is correct. At this point, it
> appears that EP2 is constantly polled for data.
>
> After all of this, the KITL is initialised and packets are sent over EP2
> that are 136 bytes in length to the desktop (i assume this means it's
> trying to establish the kitl connection with PB). Can you verify that
> your device does roughly the same? It's a very general description, but
> hopefully gives you an idea of what's going on. I'm just about to start
> analysing these packets to work out what's happening.
>
> Regards,
>
> Glenn.
>
> In article <83ae2378.0309071609.30b8dd7b@posting.google.com>,
> brianp@appliedcs.com.au says...
> > Hi Glenn,
> >
> > One other thing you need to verify is that the descriptors that your
> > CE box is reporting to the host has the correct Endpoint configuration
> > in it. If your hardware is different to the net2890 in its endpoint
> > configuration then the host will be trying to communicate with the
> > wrong ones.
> >
> > Regards
> > Brian Price
> > Applied Controls
> >