Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Netduino Plus Network Problem

Network problem Static IP

  • Please log in to reply
7 replies to this topic

#1 Bernd

Bernd

    Advanced Member

  • Members
  • PipPipPip
  • 39 posts
  • LocationGermany

Posted 09 June 2013 - 02:16 PM

Hello,

I have got a problem with my netduino plus. I would like to communicate via Ethernet with a pc. In the netduino I configure a static IP Adress. After I powered up the netduino it sometimes doesn`t build up a connection to the pc. So I can`t ping the netduino plus. When I reconnect the board sometimes it works and sometimes it doesn`t work. So my first thought was that I have a problem in the programm. So I delete the program and I have the same problem again. Can anybody help me with this problem ?



#2 Paul Newton

Paul Newton

    Advanced Member

  • Members
  • PipPipPip
  • 724 posts
  • LocationBerkshire, UK

Posted 09 June 2013 - 04:07 PM

Hi Bernd,

 

Which Netduino Plus do you have v1 or v2?

Which firmware is installed?

 

With the Netduino Plus v1 and the older firmware v4.1, the Ethernet only worked if the remote device was already active.

So the Netduino would have to be turned on after the other device, and after the Ethernet cable was connected.

Upgrading to v4.2 firmware fixed this for me.

 

Paul



#3 Bernd

Bernd

    Advanced Member

  • Members
  • PipPipPip
  • 39 posts
  • LocationGermany

Posted 09 June 2013 - 07:17 PM

Hello Paul, I have the Version 1. And I have install the Firmware Version 4.2.0.1 . I have also Problems with the WinUsb driver. Sometimes the NP1 is not detects by Win7. When I download the program and are in the debug mode Ethernet is going well. Otherwise I have to powered up the board again and sometines the Board is detect by the ping command and sometimes not.I have same problem with the WinUSB driver too.

#4 Bernd

Bernd

    Advanced Member

  • Members
  • PipPipPip
  • 39 posts
  • LocationGermany

Posted 10 June 2013 - 05:49 PM

I think I have found the problem. So  when I powered up the Wireless N-Adapter Netgaer WNCE2001 and the NP1 together the NP1 doesn't get a IP-Adress. Before I am looking for a hardware solution I have tested a software solution:

While True   Onboard_LED.Write(False)   Thread.Sleep(1000)   If (Eth0(0).IPAddress = "192.168.178.33") Then   Exit While   Else   Eth0(0).ReleaseDhcpLease()   Thread.Sleep(5000)   Eth0(0).RenewDhcpLease()   Onboard_LED.Write(True)   Thread.Sleep(10000)   End If   End While

But now I have the problem that when I would like to Renew the IP-Adress it doesn't work. The NP1 always get IP 0.0.0.0 . I don't know where the problem is. Does anybody have got a suggestion ?



#5 Bernd

Bernd

    Advanced Member

  • Members
  • PipPipPip
  • 39 posts
  • LocationGermany

Posted 10 June 2013 - 06:39 PM

I am not sure but I think there is a bug: 

Sub main()

While True

 If (Eth0(0).IPAddress = "192.168.178.33")) Then   Onboard_LED.Write(Not Onboard_LED.Read)   End If

  Thread.Sleep(1000)

End while

End Sub

When I debug the netduino the LED is blinking. When I stop Debugging and reboot the NP1, when the LED is not blinking but I can ping the Netduino with the IP Address 192.168.178.33. Thats strange I think or not ?



#6 Bernd

Bernd

    Advanced Member

  • Members
  • PipPipPip
  • 39 posts
  • LocationGermany

Posted 12 June 2013 - 04:59 PM

So I have make still some test. But I didn't get the right IP-Adress from the NetworkInterfaceClass, when didn't debug the netduino. Does anybody made a same experience with the this class ? Is the NP1 in the debug mode in the TinyCLR. Or is where a problem to get the right adress in the TinyCLR. Or does anybody have an another idea to the renew the address when DHCP failed during power up the system ?

#7 robbypet

robbypet

    New Member

  • Members
  • Pip
  • 7 posts

Posted 12 July 2013 - 04:43 PM

hi, i have some problems with ethernet port. My device info are:

Pinging... TinyCLR
DeviceInfo:
  HAL build info: 4.2.0.0, Netduino Plus 2 (v4.2.1.2) by Secret Labs LLC
  OEM Product codes (vendor, model, SKU): 34, 177, 4102
  Serial Numbers (module, system):
    00000000000000000000000000000000
    0000000000000000
  Solution Build Info: 4.2.1.2, Netduino Plus 2 (v4.2.1.2) by Secret Labs LLC
  AppDomains:
    default, id=1
  Assemblies:
    mscorlib,4.2.0.0
    Microsoft.SPOT.Native,4.2.0.0
    Microsoft.SPOT.Hardware,4.2.0.0
    Microsoft.SPOT.Net,4.2.0.0
    System,4.2.0.0
    Microsoft.SPOT.Hardware.SerialPort,4.2.0.0
    Microsoft.SPOT.IO,4.2.0.0
    System.IO,4.2.0.0
    Microsoft.SPOT.Hardware.PWM,4.2.0.1
    Microsoft.SPOT.Hardware.Usb,4.2.0.0
    SecretLabs.NETMF.Diagnostics,4.2.0.0
    SecretLabs.NETMF.Hardware.Netduino,4.2.1.0
    Microsoft.SPOT.Hardware.OneWire,4.2.0.0
    Microsoft.SPOT.Time,4.2.0.0
    NetduinoApplication1,1.0.0.0
    SecretLabs.NETMF.Hardware,4.2.0.0
 
so, when i use MFDeploy.exe and ping netduino by usb is all  (tinyCLR) ok but if i connect netduino by TCP/IP it doesn't respond
i am sure that the ip address is correct
Thanks


#8 seascan

seascan

    Advanced Member

  • Members
  • PipPipPip
  • 88 posts

Posted 07 February 2014 - 06:59 PM

Have any of you figured this one out?  I seem to be running into the same issue.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.