Page 1 of 1

Target Selection failed

Posted: Sat Feb 07, 2015 8:30 pm
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...

Re: Target Selection failed

Posted: Sun Feb 08, 2015 3:38 pm
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?

Re: Target Selection failed

Posted: Sun Feb 08, 2015 6:04 pm
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

Re: Target Selection failed

Posted: Mon Feb 09, 2015 5:42 am
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.

Re: Target Selection failed

Posted: Mon Feb 09, 2015 9:44 am
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)