Re: Not able to connect to Device using Platform Builder



Thanks RW and sorry for not providing all details earlier only. i had
connected my target with host PC directly also using cross cable, disabled
the DHCP, assigned static IP address. Even then, I was in same state :-(


"Roberto Waltman" wrote:

For what it's worth, I was also unable to connect from PB to my target
system. (DHCP failing, network timeouts, could download NK.bin but not
connect to debug it etc.)

The solution was to isolate my system from the office network by
adding an additional network card to my PC, connected to a router, and
have the target system connected to the same router.
(Router, not hub or switch, only to provide DHCP services to that
2-node networks. The router was configured to a different subnet so no
traffic to/from other office computers was redirected here)

Hope this helps,

R.W.


On Wed, 28 Nov 2007 12:00:00 -0800, mithi
<mithi@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

Thanks for quick response. I think I have tried most of below suggestions.
I checked the IP traffic from my host PC to target and I am seeing host PC
is sending multicast as well as Unicast packets to my target.
On Target side, I am seeing lots of multicast packets sent by my PC and
other machines on the network, but never ever the unicast packet is received
on target! The receive side must be working fine as I have tested that it
gets dynamic IP address through DHCP process.
I have disabled the interrupts and system is basically working in polled
mode only.

- mithi


"Silver" wrote:

Fire up a network sniffer like ehtereal/wireshark and see what is happening
on the wire.

If packets (ARP or UDP) are on the wire, be it broadcast or unicast for the
target then the target should see them. If they are not one the wire then
check firewalls on the host PC. Either way your target should see broadcast
trafifc.

Things to look for:
- verify that the ethernet chip filters are correctly set, if in doubt start
in promiscuous mode.
- if using interrupts try polling first.
- has the receive path ever worked on the target? Verify the phy <-> MAC
connection.
- dump the ethernet registers to see what is happening

Geoff

Roberto Waltman

[ Please reply to the group,
return address is invalid ]

.



Relevant Pages

  • Re: Not able to connect to Device using Platform Builder
    ... the DHCP, assigned static IP address. ... have the target system connected to the same router. ... I checked the IP traffic from my host PC to target and I am seeing host PC ... connection. ...
    (microsoft.public.windowsce.embedded)
  • Re: Mips Kernel Debugger
    ... The software which embeeded in my target downloads the Image ... > from my host machine using ethernet connection. ... UART and, as soon as there is, it should return it. ...
    (comp.os.linux.embedded)
  • carnt remove rndis connection
    ... I have been trying a build to use rndis and in the past this has worked. ... PB and the rndis connection over usb no longer works. ... target to host the target appears to run fine getting an ip address and ... The host PC though shows a new network card but ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Connect Host and target on Vxworks
    ... connected and debugged from the pc host. ... What are changes in files & also the settings to be done at both target ... professional operating system. ... through ethernet LAN connection. ...
    (comp.os.vxworks)
  • Re: Build your own Forth for Microchip PIC (Episode 837)
    ... put those tokens in RAM. ... This is the reason I'm wanting to use the host as a remote execution ... Test/Debug code on target recompiling and reloading as necessary. ... of implementing anything other than a batch forth compiler for it. ...
    (comp.lang.forth)

Quantcast