How To Use Two Ethernet Adapters

Hi,

Currently im developing an application for Toradex with vs2015.
i follow the instruction from the link below. Now im stuck at the debugging part.
I dont know how to connect/use ethernet debugger to test my application in the Toradex.
My Toradex Board Have Only one LAN Port, so can i skip that step.? Please Help ASAP.

Thank You
MK11

https://developer.toradex.com/knowledge-base/application-debugging-over-ethernet-using-visual-studio-2008

Dear @MK11

Yes, you can skip this step.

In short terms, the process is simply

  • start the application VSDebugger.exe on the Apalis module
    START → Programs → ColibriTools → Start debugger client
  • In VS2008 enter the IP address

The problem is, that you try to debug WEC2013 (CE8) with VS2008. You must either use

  • VS2008 with WEC7, or
  • VS2015 with WEC2013 (CE8)

Regards, Andy

Hi Andy,

Thanks for your answer. i followed all this steps.
After START → Programs → ColibriTools → Start debugger client , it shows IP ADDRESS only.
that i connect the LAN cable from my laptop to Toradex board. And than i click Start Debug , it show error

A WaitHandle with system-wide name 'Local\00000000-0000-0000-0000-000000000000' cannot be created. A WaitHandle of a different type might have the same name. Please rebuild the solution and try again.

screenshot

Dear @MK11

There are two issues which I see to be the problem:

  1. The module gets an auto-IP (169.254. …), which most likely means you connected the Evalboard directly to your development PC. We usually don’t do this, but connect PC and Evalboard both to a network with a DHCP server.
    However, your setup should work, we just don’t have experience with this setup. Try to deploy the solution. Does this work? If yes, then I think the network is not your issue.
  2. In order to build .NET applications, you first need to install the .NET framework V3.9 onto the module and reboot. This is a permanent installation, so you only need to do this once (until you clear the registry or empty the flash file system)

Regards, Andy

Hi Andy,

1.Yes. i already Installed & create an application used .NET framework V3.9 in my development
PC. And i do deployed the solution but it show an error that i have told you earlier.

  1. As you said, connect my development PC and Evaluation board both to a network with a
    DHCP server. Once its connect successfully, how it will run ?

Regards,
mk11

Dear Andy,

As you said, i connected my development PC and Evalboard both to a network with a DHCP server. But it still show an error.

A WaitHandle with system-wide name ‘Local\00000000-0000-0000-0000-000000000000’ cannot be created. A WaitHandle of a different type might have the same name. Please rebuild the solution and try again.

Dear @MK11
I don’t fully understand your setup, so let’s focus on this first:

  1. Please start with Visual Studio closed, Apalis powered off
  2. What exactly is your network hardware setup (cables, routers, …)
    Keep this setup constant, so don’t unplug/replug any cables!
  3. Windows PC: Did you modify anything in the network configuration (e.g. fixed IP, …)? If yes, please describe your exact configuration.
  4. Apalis iMX6: Did you modify anything in the network configuration (e.g. fixed IP, …)? If yes, please describe your exact configuration

Finally with your constant setup, please do the following to test the basic network connection:

  1. On the Apalis: Boot the system, double-click on the network icon to see the IP address. (Or start the debug client, which will show you the same).
    As an example, let’s assume the IP address is 192.168.66.77.
  2. On your PC, start the Windows PowerShell (START button → type powershell) → press ENTER
    Execute the following command (of course you need to adjust the IP address)
    Test-NetConnection 192.168.66.77
    You should receive an output similar to the following:

.

PS C:\Temp> Test-NetConnection 10.0.1.28

ComputerName           : 10.0.1.28
RemoteAddress          : 10.0.1.28
InterfaceAlias         : Ethernet
SourceAddress          : 10.0.1.50
PingSucceeded          : True
PingReplyDetails (RTT) : 0 ms

Please send me the output of your test.

Regards, Andy

Dear @MK11
I don’t fully understand your setup, so let’s focus on this first:

  1. Please start with Visual Studio closed, Apalis powered off
  2. What exactly is your network hardware setup (cables, routers, …)
    Keep this setup constant, so don’t unplug/replug any cables!

Regards, Andy

HI @andy.tx

Is this Correct ?

HI @andy.tx

1.first step done

2.cables

thanks mk11

Dear @MK11
I think you need local help from somebody with some Ethernet knowledge.
The issue you are facing is most probably related to your network configuration. It seems I am not able to ask the questions in a way that you can follow my instructions.
Regards, Andy