Target Selection failed

Topics for the Eclipse Environment
Post Reply
maththetank
Posts: 2
Joined: Sat Feb 07, 2015 8:28 pm

Target Selection failed

Post by maththetank »

I can run the app and it works, but I cannot debug it it says

Target selection failed.
169.254.94.46:2159: No connection could be made because the target machine actively refused it.
169.254.94.46:2159: No connection could be made because the target machine actively refused it.
169.254.94.46:2159: No connection could be made because the target machine actively refused it.

All the ip address are correctly entered in the debug configuration, I have no idea where to go from there...
ecasey
Posts: 164
Joined: Sat Mar 26, 2011 9:34 pm

Re: Target Selection failed

Post by ecasey »

This sounds like the same problem as in this current post:
http://forum.embeddedethernet.com/viewt ... f=4&t=2134
see the advise on the second page.

Also, make sure your PC is on the same network as the board.

If none of that is a problem, please give us more information:
Which module?
What NNDK Release?
What kind of board (i.e. is it a NB Development board or your own board)?
Are you using DHCP or a fixed IP?
maththetank
Posts: 2
Joined: Sat Feb 07, 2015 8:28 pm

Re: Target Selection failed

Post by maththetank »

ecasey wrote:This sounds like the same problem as in this current post:
http://forum.embeddedethernet.com/viewt ... f=4&t=2134
see the advise on the second page.

I unfortunately had already done everything on there.


If none of that is a problem, please give us more information:
Which module? MOD54415x
What NNDK Release? 2.6.7
What kind of board (i.e. is it a NB Development board or your own board)? MOD54415x
Are you using DHCP or a fixed IP? I think DHCP

when I assign an IP to the netburner with IPconfig, it simply disapears from the choice. It is plugged in directly to my PC
ecasey
Posts: 164
Joined: Sat Mar 26, 2011 9:34 pm

Re: Target Selection failed

Post by ecasey »

Ok, for a direct connection to a PC there are a couple of things you have to do.
Read the Programmers Guide in the .....\nburn\docs\NetworkProgrammersGuide folder. Chapters 1-3 will guide you through setting up the IP address. Chapter 3 is especially important when you are connecting directly to a PC. I believe you will have to set up a static IP and network mask on your PC and then use the NB utility IPSetup to set an IP address on the module that is on the same network leg at your PC. Your PC might not be able to provide the module with a valid IP address via DHCP.

If you can plug the module directly into a router or switch, the router will most likely supply a valid IP to the module that is on the same network leg as the other devices, like your PC.
User avatar
pbreed
Posts: 1088
Joined: Thu Apr 24, 2008 3:58 pm

Re: Target Selection failed

Post by pbreed »

What does the PC command line command
ipconfig /all
show?
IE has the PC defaulted to a autoip address or is it still in waiting for DHCP (This can take 5 min)
Post Reply