ENC28 Ethernet for Hydra

@ Ahmed2
No no, the lwip driver is included in the distribution firmware. You must arrange cables for the gadgeteer (using extender for example).

Yes, users do not need to do anything beside loading the Ethernet firmware. All is included.

@ Gus,

I didn’t receive an email from GHI or distributor yet.

If you ordered from GHI then you should have already, if you ordered from distributor then contact them as thy should have received an email from us about this.

I’ve send an email to http://shop.microframework.eu

How are we doing on the ENC28 driver? I’ve got one on the way for GameSlate and I really look forward to being able to use it when it arrives :slight_smile:

It is already supported since last release.

Hm, I most not have the most recent version on this machine. Sorry about that. I know it’s #1 on the check before posting. :wink:

Shame on you :slight_smile:

Maybe you are looking for it in the designer and you will not find it there. Just load the Ethernet firmware.

Yeah that’s what I was talking about. I know you can use it if you recompile firmware, but I’d rather not have to make end users do that and having a driver would be nice for developers too. :smiley:

You do NOT need to compile anything. We gave you all you need. I thought this is in the release notes.

I have also tried to set the network with FEZ Hydra and ENC28 1.1 into operation, but unfortunately without success.

The module was updated to the latest firmware with ethernet:
c:\Program Files\GHI Electronics\GHI OSH NETMF v4.1 SDK\FEZ Hydra\Firmware\FEZ Hydra Ethernet Firmware\ER_CONFIG 6.968 23.02.2012 17:24 -a–
c:\Program Files\GHI Electronics\GHI OSH NETMF v4.1 SDK\FEZ Hydra\Firmware\FEZ Hydra Ethernet Firmware\ER_CONFIG.sig 128 23.02.2012 17:24 -a–
c:\Program Files\GHI Electronics\GHI OSH NETMF v4.1 SDK\FEZ Hydra\Firmware\FEZ Hydra Ethernet Firmware\ER_FLASH 2.227.280 23.02.2012 17:24 -a–
c:\Program Files\GHI Electronics\GHI OSH NETMF v4.1 SDK\FEZ Hydra\Firmware\FEZ Hydra Ethernet Firmware\ER_FLASH.sig 128 23.02.2012 17:24 -a–

After the update I can see one network interface in my software:

            
            NetworkInterface[] interfaces = NetworkInterface.GetAllNetworkInterfaces();
            if (interfaces != null && interfaces.Length > 0)
            {
                NetworkInterface networkInterface = interfaces[0];
                ...
                networkInterface.EnableStaticIP(ipAddress, subnetMask, gatewayAddress);
                networkInterface.EnableStaticDns(new[] { dnsAddresses });

Ping doesn’t work. I’ve also set the IP-Address with MFDeploy. Both IP-Address and sbnet mask fit into my network.

What can I do?

Do you see any activity on LEDs?

And welcome to the community :slight_smile:

I had the same problem until I put the Ethernet version of the firmware on my hydra.

@ Gus:
The green LED on the ENC28 is on, the other LED is off. On my switch the LED the line connected to Hydra is orange, but all other, which are active, are green.

I have also checked with Wireshark, and I can’t see any messages from Hydra.
All what I described I checked with two different ethernet cables and also two ENC28.

The only thing left is to check that you have the Ethernet version of the firmware loaded.

qGus

In reply 51 I mentioned the files I flashed. Are they correct?

This is the device info from MFDeploy:


HalSystemInfo.halVersion:               4.1.2821.0
HalSystemInfo.halVendorInfo:            Microsoft Copyright (C) Microsoft Corporation.  All rig
HalSystemInfo.oemCode:                  255
HalSystemInfo.modelCode:                0
HalSystemInfo.skuCode:                  65535
HalSystemInfo.moduleSerialNumber:       FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
HalSystemInfo.systemSerialNumber:       FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
ClrInfo.clrVersion:                     4.1.2821.0
ClrInfo.clrVendorInfo:                  Microsoft Copyright (C) Microsoft Corporation.  All rig
ClrInfo.targetFrameworkVersion:         4.1.2821.0
SolutionReleaseInfo.solutionVersion:    4.1.3.1
SolutionReleaseInfo.solutionVendorInfo: Copyright (C) GHI Electronics, LLC
SoftwareVersion.BuildDate:              Feb 23 2012
SoftwareVersion.CompilerVersion:        410462
FloatingPoint:                          True
SourceLevelDebugging:                   True
ThreadCreateEx:                         True
LCD.Width:                              320
LCD.Height:                             240
LCD.BitsPerPixel:                       16
AppDomains:                             True
ExceptionFilters:                       True
IncrementalDeployment:                  True
SoftReboot:                             True
Profiling:                              False
ProfilingAllocations:                   False
ProfilingCalls:                         False
IsUnknown:                              False


Or what else can I do to check the version?

@ Gus:

And this is the device info froom MFDeploy debug menu:


DeviceInfo:
  HAL build info: 4.1.2821.0, Microsoft Copyright (C) Microsoft Corporation.  All rig
  OEM Product codes (vendor, model, SKU): 255, 0, 65535
  Serial Numbers (module, system):
    FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
  Solution Build Info: 4.1.3.1, Copyright (C) GHI Electronics, LLC
  AppDomains:
    default, id=1
  Assemblies:
    mscorlib,4.1.2821.0
    Microsoft.SPOT.Native,4.1.2821.0
    Microsoft.SPOT.Hardware,4.1.2821.0
    Microsoft.SPOT.Graphics,4.1.2821.0
    Microsoft.SPOT.TinyCore,4.1.2821.0
    Microsoft.SPOT.IO,4.1.2821.0
    System.IO,4.1.2821.0
    Microsoft.SPOT.Hardware.Usb,4.1.2821.0
    System.Xml,4.1.2821.0
    Microsoft.SPOT.Hardware.SerialPort,4.1.2821.0
    Microsoft.SPOT.Net,4.1.2821.0
    System,4.1.2821.0
    Microsoft.SPOT.Touch,4.1.2821.0
    Microsoft.SPOT.Ink,4.1.2821.0
    Gadgeteer,2.41.0.0
    Gadgeteer.WebClient,2.41.0.0
    GTM.GHIElectronics.SDCard,4.1.2.0
    Microsoft.SPOT.Net.Security,4.1.2821.0
    Gadgeteer.WebServer,2.41.0.0
    System.Http,4.1.2821.0
    tovisMc,1.0.0.0
    GTM.GHIElectronics.UsbClientDP,4.1.1.0
    System.Net.Security,4.1.2821.0
    GHIElectronics.OSH.NETMF.Hardware,4.1.3.0
    GHIElectronics.Gadgeteer.FEZHydra,4.1.1.0


Uwe3,

The Ethernet firmware has the same version number as the non Ethernet one. There would be no way to tell which version you have other than by this test: Do you have a screen module? If so, the screen would appear to be blank when you boot up your Hydra and the module is not present in socket 3. This happens because the firmware is looking for the module. If the module is not present, it waits until the module is present to finish booting. If you remove the module and the Hydra boots without any issues then you have the non Ethernet version. You will at this point need to reflash with the Ethernet firmare.

Aaron,

I don’t have a screen module. Am I lost now?