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 + 2 ethernet crashes

N+2 ethernet problem

  • Please log in to reply
7 replies to this topic

#1 m.lai

m.lai

    Member

  • Members
  • PipPip
  • 11 posts
  • LocationSardinia - Italy

Posted 26 March 2013 - 01:22 PM

Hello I recently purchased a N+2. I have problems with the ethernet. continuously pinging the N+2, after a few minutes, the N +2 crashes. At this point I have to turn off the power to reset the device.

 

The STM32 chip and the ENC28J60 chip are a little warm.

 

any ideas?


Marco Lai
www.logicaprogrammabile.it

#2 martin2250

martin2250

    Advanced Member

  • Members
  • PipPipPip
  • 37 posts
  • LocationGermany

Posted 26 March 2013 - 02:08 PM

that sounds like the garbage collection fails at some point, if you're debugging while pinging the device you should see "out of memory exception", it's normal that the chips get a little warm.



#3 m.lai

m.lai

    Member

  • Members
  • PipPip
  • 11 posts
  • LocationSardinia - Italy

Posted 27 March 2013 - 12:28 PM

 
If I connect my PC to the netduino not occur crash. when I connect to the corporate network netduino mysteriously after a few minutes the netduino crashes. code is minimal:
 
OutputPort led = new OutputPort((Cpu.Pin)Pins.ONBOARD_LED, false);while (true){  led.Write(true);  Thread.Sleep(250);  led.Write(false);  Thread.Sleep(250);}

 


Marco Lai
www.logicaprogrammabile.it

#4 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 27 March 2013 - 01:04 PM

Hi Marco, How much corporate network management traffic is on your corporate network? Netduino Plus 2 offloads some of the TCP stack to the dedicated ENC28J60 chip, but it's technically still possible to ping-flood or otherwise DoS the board. Can you configure the network port you're plugged into to only send traffic designated for your board's IP address (rather than all broadcast network traffic)? If you plug the board into your home network or a separate network, does it work alright then? Chris

#5 m.lai

m.lai

    Member

  • Members
  • PipPip
  • 11 posts
  • LocationSardinia - Italy

Posted 27 March 2013 - 01:40 PM

Hi Chris if I plug the card into the home network I dont' have problems, everything works perfectly. I have no control over the network configuration. I do not have the opportunity to request a network configuration for my Netduino. I'm sorry it's hard for me to find the problem by analyzing the lan packets.

thanks for reply


Marco Lai
www.logicaprogrammabile.it

#6 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 30 March 2013 - 05:04 PM

Hi Marco, It sounds like the issue is related to network configuration (most likely a huge number of packets which are flooding the Netduino Plus 2's network stack). If you can analyze the traffic and give us a better idea as to what the Netduino is seeing, we can help work through potential solutions (or improvements to the core lwIP network stack). Unfortunately there's no good way for us to diagnose a remote network-related issue without traces...I wish there was. :( Chris

#7 rensky

rensky

    New Member

  • Members
  • Pip
  • 8 posts

Posted 10 July 2013 - 08:16 AM

Hello,

 

I have the same problem, after some time, I do not see any network traffic.

I call every second a http page from the netduino . After a minute comes no answer from netduino.

No Ping and no Socket traffic.

 

Wireshark recording:

https://dl.dropboxus...orkcrash.pcapng

 

There is no exception and the program on netduino run.

 

Netduino Informations:

 

ClrInfo.targetFrameworkVersion: 4.2.0.0 SolutionReleaseInfo.solutionVersion: 4.2.2.0 SolutionReleaseInfo.solutionVendorInfo: Netduino Plus 2 (v4.2.2.0) by Secret Labs LLC SoftwareVersion.BuildDate: Jan 9 2013

 

I hope there is a solution.

 

Best regards 

Rensky


  • robbypet likes this

#8 rensky

rensky

    New Member

  • Members
  • Pip
  • 8 posts

Posted 15 July 2013 - 07:01 AM

I would like to contribute something. I've tried different switch. 2 from Dlink, one from centreCOM and a hub from CentreCOM.

If Netduino connect to DLink DES-1008D or DLink switch run reliably. 

If Netduino connect to DLink DGS-1008D or DLink switch run reliably. 

 

If Netduino connect to CentreCOM MR815T (10MBit Hub) the connection broke after 1-4 minutes.

(Minimal network environment with 1 PC, hub and the Netduino)

 

If Netduino connect to CentreCOM FS724i (100MBit Switch) the connection broke after 1-4 minutes.

 

Best regards

Rensky







Also tagged with one or more of these keywords: N+2, ethernet, problem

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.