Netduino 3 Ethernet Firmware v4.3.2 (update 3)
#1
Posted 18 September 2015 - 07:16 AM
Download link
Download Netduino v4.3.2.3 firmware now
Updates in this release
1. DNS queries now fail over to secondary servers.
2. Empty list of DNS servers now work with MFDeploy.
3. DHCP maximum message length option (DHCP option 57) corrected.
Additional updates from recent releases
1. Pins.ONBOARD_BTN now disables the reset feature properly
Pre-requisites for this firmware
1. Visual Studio 2012 or Visual Studio 2013. Or Visual Studio 2015 (beta).
2. .NET Micro Framework SDK v4.3 QFE2 or newer
3. NETMF plug-in for Visual Studio 2012, NETMF plug-in for Visual Studio 2013 or NETMF plug-in for Visual Studio 2015 (beta).
4. Netduino SDK v4.3.2.1 or newer
How to flash this firmware
1. Detach your Netduino from your computer to turn it off.
2. Press and hold your Netduino's pushbutton while plugging it in via USB; this will put it in bootloader mode.
3. Run the Netduino Update tool (see link above).
a. If your device does not appear, install the STDFU drivers + tools v3.0.3.
b. If your device appears as "STM Device in DFU Mode", click on "Options", select your board type from the Product selection box and close the Options window.
4. Select the checkbox next to your device and press "Upgrade"
5. Wait while the upgrade operation completes. After flashing, your Netduino will reboot and will be removed from the upgrade list.
6. After flashing, set your network settings using MFDeploy. In MFDeploy, select the Target > Configuration > Networking menu. Re-enter your IP address and Wi-Fi settings.
How to find your current version of Netduino firmware
1. Go to the Start Menu > Programs > Microsoft .NET Micro Framework 4.3
2. Run MFDeploy.
3. Plug your Netduino into your PC using a Micro USB cable.
4. In the Device section at top, select USB instead of Serial. Your Netduino should appear in the drop-down; if not, select it.
5. Select the Target menu > Device Capabilities option.
6. In the output box, find the "SolutionReleaseInfo.solutionVersion" value. This is your firmware version.
Enjoy, and please let us know if you run into any troubles.
Chris
Download link
Download Netduino v4.3.2.3 firmware now
- DenisSON likes this
#2
Posted 19 September 2015 - 12:16 PM
Thanks Chris, updating right now. With the previous 4.3.2.2 FW my Netduino did not receive an address with DHCP. I will test it now
#3
Posted 19 September 2015 - 12:27 PM
Unfortunatelly it doesn't work ... The code below displays "0.0.0.0" and at some point there is a random thrown System.ArgumentOutOfRangeException in mscorelib ...
[ Obviously, network configuration has DHCP enabled ... ]
I think it might be related to my network setup: I have a UniFi switch and a UniFi security gateway, and I believe this could somehow send a different DHCP packet ? [ I have an offline Apple airport extreme as well, I will boot that up and verify my assumption in a couple of minutes. ]
while (true)
{
NetworkInterface[] interfaces = NetworkInterface.GetAllNetworkInterfaces();
for (int i = 0; i < interfaces.Length; i++)
{
Debug.Print("IP network interface [" + i + "]: " + interfaces[i].IPAddress);
}
Thread.Sleep(500);
}
#4
Posted 19 September 2015 - 12:44 PM
Actually it seems that the device doesn't receive an IP address from my Apple Airport Extreme either.
#5
Posted 19 September 2015 - 01:06 PM
( Sorry for duplicating posts, I just wanted to consolidate information into one single post)
Okay, I think I need a bit of a help here ... it seems my netduino 3 ethernet doesn't receive an address over DHCP at all. I have 2 other Netduino 3 Wifi boards, they do not have a problem - only the ethernet version.
Steps/checked:
1. There is no MAC address filtering in my router
2. I have the latest 4.3.2.3 FW update on my board
3. Checked with 2 routers (UniFi, Apple Airport Extreme)
Code used:
while (IPAddress.GetDefaultLocalAddress() == IPAddress.Any)
{
Debug.Print(IPAddress.GetDefaultLocalAddress().ToString());
}
Problem:
- IP address is always 0.0.0.0
- System.ArgumentOutOfRangeException in mscorelib is thrown in about 2/3 seconds after starting the app
If it helps, here is the output from Device Capabilities in MFDeploy:
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 <- ??? Is this okay ?
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
0.0.0.0
LCD.BitsPerPixel: 0
AppDomains: True
ExceptionFilters: True
IncrementalDeployment: True
SoftReboot: False
Profiling: False
ProfilingAllocations: False
ProfilingCalls: False
IsUnknown: False
#6
Posted 20 September 2015 - 06:01 AM
Hmm, very interesting. Do you happen to have a copy of Wireshark (free) handy? Any chance you could do a quick network capture of the data between your router and your board?
Also...can you take a quick screenshot of your device's network configuration (in MFDeploy, Tools menu > Config > Network Configuration)?
The SolutionVersion is fine.
Chris
#7
Posted 21 September 2015 - 09:52 AM
Hi Chris,
sure, I will do it today/tomorrow.
Moszi
#8
Posted 21 September 2015 - 07:59 PM
Hi Chris,
I did a capture of the traffic. Here are the exact steps I've did, let me know if you would like something different:
1. Set port x on the switch to mirror port y
2. Attached netduino to y, my computer to port x
3. Started wireshark, apply the filter: eth.dst == 5c:86:4a:01:31:28
4. Rebooted Netduino 2 times, each time left about 1 minute on power.
Capture file & screenshot with network configuration attached.
Moszi
Attached Files
#9
Posted 25 September 2015 - 01:35 PM
Hi Chris,
any chance on checking out the capture file above or otherwise any advice what I should do differently to be able to receive IP ?
Thanks a lot,
Moszi
#10
Posted 03 February 2016 - 05:29 PM
Hi Chris,
any chance on checking out the capture file above or otherwise any advice what I should do differently to be able to receive IP ?
Thanks a lot,
Moszi
Hi MosziNet, did you ever get past this?
I just received my new netduino 3 and cant connect to anywhere, i tried DHCP and static ip and i always get an exception when trying to connect to my server thru tcp...
My code is running fine on my old netduino ethernet 2 and a new wifi 3, there must be something wrong on the new netduino wthernet 3...
João Ladeira.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users