Re: Not able to connect to Device using Platform Builder
- From: mithi <mithi@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 28 Nov 2007 19:54:00 -0800
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 ]
- Follow-Ups:
- References:
- Not able to connect to Device using Platform Builder
- From: mithi
- Re: Not able to connect to Device using Platform Builder
- From: Silver
- Re: Not able to connect to Device using Platform Builder
- From: mithi
- Re: Not able to connect to Device using Platform Builder
- From: Roberto Waltman
- Not able to connect to Device using Platform Builder
- Prev by Date: Re: How do I get all entries in root-directory? (FAT32)
- Next by Date: Re: How do I get all entries in root-directory? (FAT32)
- Previous by thread: Re: Not able to connect to Device using Platform Builder
- Next by thread: Re: Not able to connect to Device using Platform Builder
- Index(es):
Relevant Pages
|