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

Introducing Netduino 3 Ethernet


  • Please log in to reply
12 replies to this topic

#1 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 06 August 2015 - 07:27 PM

Dear Friends,

Netduino Plus 2 is a great board. But we can do even better :)

Introducing Netduino 3 Ethernet, a major upgrade to Netduino Plus 2.
Netduino 3 Ethernet Specs
Where to Buy (resellers)

Here are a few highlights of what is new and improved with Netduino 3 Ethernet:
  • Micro: STM32F427VI Rev 3
    2MB dual-bank flash (twice as much as NP2)
    256KB RAM including 64KB core-coupled RAM (33% more than NP2)
  • Ethernet: 10/100 mbps chip, featuring the awesome Asix AX88796CLF MAC/PHY chip.
  • Three GoBus 2.0 ports (for plug and play components)
  • Support for even more Arduino shields (with ICSP header pads)
  • New miniature shield-friendly pushbutton
  • Brand new power subsystem and power management
  • Over half of all components are new. Too much to cover here.
For networking, Netduino 3 Ethernet sheds the lwIP networking stack and features the shiny new Netduino.IP stack out of the box (fully integrated into the CLR). Just write regular NETMF code using System.Net.Socket, HttpWebRequest, etc.

Of course Netduino 3 Ethernet is firmware upgradable and will gain even more rich functionality over time.

Netduino 3, Netduino 3 Ethernet, and Netduino 3 Wi-Fi: the future of Netduino is here.

I can't wait to see what cool things you build with this new gear!

Chris

Attached Files



#2 JoopC

JoopC

    Advanced Member

  • Members
  • PipPipPip
  • 148 posts

Posted 07 August 2015 - 06:28 AM

The shipping cost from MOUSER to the Netherlands is 20 euro, (so the total for the little board is 80 euro).

When you live in the USA it is for free with Amazon.

Amazon.com do not deliver in the Netherlands.

Do they all think we are stupid overseas?



#3 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 07 August 2015 - 07:01 AM

Hi JoopC,

Shipping...oh how I wish it were free everywhere :(

Does Watterott Electronic deliver to the Netherlands?
http://www.watterott...uino-3-Ethernet

Adafruit and others should have the new boards in stock shortly as well.

Chris

#4 JoopC

JoopC

    Advanced Member

  • Members
  • PipPipPip
  • 148 posts

Posted 07 August 2015 - 09:17 AM

Watterott....adjust with Mouser price, naturally.

 

There was a selling point for the EU who has competitive prices. But for some reason .... No Netduino's anymore in their store.

 

http://floris.cc/shop/en

 

There is work to do for more distribution points, so that the Netduino is for every budget. Now I believe that the shops (no competition) walks away with our program code efforts (that makes the Netduino populair) and that is not the intention.



#5 pdii

pdii

    Member

  • Members
  • PipPip
  • 29 posts

Posted 11 August 2015 - 04:45 AM

Does the Netduino 3 Ethernet support SSL like the Netduino 3 Wifi?



#6 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 11 August 2015 - 05:33 AM

Hi pdii,
 

Does the Netduino 3 Ethernet support SSL like the Netduino 3 Wifi?

Netduino Plus 2 and Netduino 3 Ethernet support sockets, HTTP, etc. -- but no SSL at this time.

Netduino 3 Wi-Fi features SSL/TLS support, hooked into the Wi-Fi chip's crypto.

Netduino 3 Ethernet does have enough flash and RAM to fit a _small_ SSL stack...if a few folks from the community would like to collaborate on integrating Netduino.IP with mBed.TLS (formerly PolarSSL), we could add official Apache-open-source-licensed SSL support to Netduino 3 Ethernet as well.

Chris

#7 joao_ladeira

joao_ladeira

    New Member

  • Members
  • Pip
  • 8 posts

Posted 03 February 2016 - 03:10 PM

Hi,

 

I just received my netduino ethernet 3 and im very disapointed with it, i have code that works with my netduino wifi 3 and my other netduino ethernet 2, but just uploaded my code to the new netduino 3 and it does not work because it cant connect to my server using simple sockets...

 

This is the exception :

An unhandled exception of type 'System.Net.Sockets.SocketException' occurred in Netduino.IP

 

when calling Socket.Connect().

 

What is wrong and what can i do to overcome this?

 

This is my new nd3 information :

HalSystemInfo.halVersion:               4.3.1.0
HalSystemInfo.halVendorInfo:            Netduino 3 Ethernet (v4.3.2.3) by Secret Labs LLC
HalSystemInfo.oemCode:                  34
HalSystemInfo.modelCode:                177
HalSystemInfo.skuCode:                  4104
HalSystemInfo.moduleSerialNumber:       00000000000000000000000000000000
HalSystemInfo.systemSerialNumber:       0000000000000000
ClrInfo.clrVersion:                     4.3.1.0
ClrInfo.clrVendorInfo:                  Netduino 3 Ethernet (v4.3.2.3) by Secret Labs LLC
ClrInfo.targetFrameworkVersion:         4.3.1.0
SolutionReleaseInfo.solutionVersion:    4.3.2.2
SolutionReleaseInfo.solutionVendorInfo: Netduino 3 Ethernet (v4.3.2.3) by Secret Labs LLC
SoftwareVersion.BuildDate:              Sep 18 2015
SoftwareVersion.CompilerVersion:        410894
FloatingPoint:                          True
SourceLevelDebugging:                   True
ThreadCreateEx:                         True
LCD.Width:                              0
LCD.Height:                             0
LCD.BitsPerPixel:                       0
AppDomains:                             True
ExceptionFilters:                       True
IncrementalDeployment:                  True
SoftReboot:                             False
Profiling:                              False
ProfilingAllocations:                   False
ProfilingCalls:                         False
IsUnknown:                              False
 

 

Joo



#8 TechnoGuy

TechnoGuy

    Advanced Member

  • Members
  • PipPipPip
  • 51 posts
  • LocationCanada

Posted 04 February 2016 - 02:29 AM

Hello - a useful approach for you to take would be to look into the code you have that DOES work on the Netduino 3 WiFi & Netduino Plus 2 and DOES NOT work on the Netduino 3 Ethernet and extract from that a SMALL piece of code that DEMONSTRATES the problem (complete with output from both).  Post your sample code here on the forums.  Consider starting a new forum thread rather than tacking onto ages old threads that are no longer current.

 

In addition, please post details of your development environment & what Netduino & .NET Micro Framework SDKs you have installed.  You'll find them listed on the Downloads page.  Visual Studio version?  .NET MF version?  Netduino SDK version?

 

With the above, members of the community are probably in a better position to help youfigure out what the problem is.

 

I can tell you that the Netduino 3 boards make use of a different TCP/IP protocol stack than what was on the Netduino Plus 2.  I think some functionality works differently.  With regard to the Netduino 3 WiFi & Netduino 3 Ethernet, they have DIFFERENT networking chips.  Consequently, I think there are some TCP/IP stack implementation differences that have arisen from that as well.

 

You posted in another thread about where you could return your device.  I think that would be to the company that you purchased it from, if it's within their return period.


- Ian

 

My Current Dev Boards:

  • 3 x Netduino Plus 2
  • 1 x Netduino 3 WiFi

#9 Nevyn

Nevyn

    Advanced Member

  • Members
  • PipPipPip
  • 1072 posts
  • LocationNorth Yorkshire, UK

Posted 04 February 2016 - 08:03 AM

Have you confirmed that the Netduino 3 has successfully connected to your WiFi network (Green LED)?

 

There is a piece of code in the forums which shows you how to detect if you have a good connection.

 

Regards,

Mark


To be or not to be = 0xFF

 

Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life

Follow @nevynuk on Twitter


#10 joao_ladeira

joao_ladeira

    New Member

  • Members
  • Pip
  • 8 posts

Posted 04 February 2016 - 10:20 AM

Hello - a useful approach for you to take would be to look into the code you have that DOES work on the Netduino 3 WiFi & Netduino Plus 2 and DOES NOT work on the Netduino 3 Ethernet and extract from that a SMALL piece of code that DEMONSTRATES the problem (complete with output from both).  Post your sample code here on the forums.  Consider starting a new forum thread rather than tacking onto ages old threads that are no longer current.

 

In addition, please post details of your development environment & what Netduino & .NET Micro Framework SDKs you have installed.  You'll find them listed on the Downloads page.  Visual Studio version?  .NET MF version?  Netduino SDK version?

 

With the above, members of the community are probably in a better position to help youfigure out what the problem is.

 

I can tell you that the Netduino 3 boards make use of a different TCP/IP protocol stack than what was on the Netduino Plus 2.  I think some functionality works differently.  With regard to the Netduino 3 WiFi & Netduino 3 Ethernet, they have DIFFERENT networking chips.  Consequently, I think there are some TCP/IP stack implementation differences that have arisen from that as well.

 

You posted in another thread about where you could return your device.  I think that would be to the company that you purchased it from, if it's within their return period.

Hi TecnoGuy,

Thank you for your reply, the piece of code that doesent work is pretty simple its just a socket connect...

 

IPEndPoint endpoint = new IPEndPoint(IPAddress.Parse("192.168.1.47"), 1951);

Socket clientSocket;

clientSocket.Connect(endpoint);

 

If i have time i will post a sample solution and post here when i get back from work.

My visual studio is the 2015 community edition, and i have all the latest sdk listed from the download page (since i formated my pc one month ago so i had to reinstall all the latest sdk) so they are working just fine with my other netduinos but not the ND ethernet 3 wich cant connect to my service runing on that ip address, i have the other two connected just now, and i even have a esp8622 (nodemcu) connected to my service (they all use the same communications protocol that i have developed).

 

Regards,

Joo.



#11 joao_ladeira

joao_ladeira

    New Member

  • Members
  • Pip
  • 8 posts

Posted 04 February 2016 - 11:34 AM

Have you confirmed that the Netduino 3 has successfully connected to your WiFi network (Green LED)?

 

There is a piece of code in the forums which shows you how to detect if you have a good connection.

 

Regards,

Mark

Hello Nevyn,

 

I the netduino that does not work is a ethernet one (ND3) so its connected thru a network cable.

I tried also with this code (wich i had in the past but sometimes it hangs so i just removed in my old netduinos...)

 

if (!Microsoft.SPOT.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()[0].IsDhcpEnabled)
{
// using static IP
while (!System.Net.NetworkInformation.NetworkInterface.GetIsNetworkAvailable()) ; // wait for network connectivity
}
else
{
// using DHCP
while (IPAddress.GetDefaultLocalAddress() == IPAddress.Any) ; // wait for DHCP-allocated IP address
}

 

im not able to connect to my service using the code i posted above witch should be pretty straightforward (and my old netduinos and my new wifi 3 work with the same code...).

 

Thanks for your reply.



#12 djr1965

djr1965

    New Member

  • Members
  • Pip
  • 2 posts

Posted 05 February 2016 - 07:39 PM

Hi Chris,

 

I recently purchased a Netduino 3 Ethernet running the latest MF 4.3 firmware update.

 

In the past I've been setting the static IP address for my Netduino Plus 2 using .NET MF 4.2 as listed below:

 

public static void Main()
        {
            //Set the Neduino Plus 2 Static IP
            NetworkInterface.GetAllNetworkInterfaces()[0].EnableStaticIP("172.24.16.98", "255.255.255.0", "172.24.16.1");
            string localip = NetworkInterface.GetAllNetworkInterfaces()[0].IPAddress;
            Debug.Print("The local IP address of your Netduino Plus 2 is " + localip);
            
            // Create and initialize the program instance
            Program Initiate = new Program();
 
            Initiate.InitTimers();
 
            //Thread.Sleep is necessary to keep the program running
            Thread.Sleep(Timeout.Infinite);
 
        }
 
I created a test program for my Netduino 3 Ethernet with the same NetworkInterface information.
 
When I deploy and debug the application I get the error "An unhandled exception of type 'System.ArgumentException' occurred in mscorlib.dll" at the line of code NetworkInterface.GetAllNetworkInterfaces()[0].EnableStaticIP("172.24.16.98", "255.255.255.0", "172.24.16.1");
 
I've referenced SecretLabs.NETMF.Hardware.Netduino for the device. Static IP is also enabled with MFDeploy.
 
Is there another networking related reference I need to add to my application and possibly a different method for setting a static IP than above?


#13 martinarcher

martinarcher

    Member

  • Members
  • PipPip
  • 16 posts

Posted 01 May 2016 - 11:37 PM

Has anyone found a solution to this?  I've now transitioned to Netduino 3's (I should say am trying to transition) but am struggling with the same issue.  My Netduino 2 Plus I could set a static IP using...

 

Microsoft.SPOT.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()[0].EnableStaticIP(ipAddress,subnetMask,gateway);

 

Now I get....

 

A first chance exception of type 'System.ArgumentException' occurred in mscorlib.dll
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred in mscorlib.dll
An unhandled exception of type 'System.ArgumentOutOfRangeException' occurred in mscorlib.dll
 
Any help would be really appreciated.  I need to get this working quickly (or find more Netduino Plus 2's!)





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.