Netduino home hardware projects downloads community

Jump to content


Photo

Netduino Plus 2 Firmware v4.2.2 (update 2)


  • Please log in to reply
115 replies to this topic

#21 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 20 February 2013 - 09:17 PM

Hi Martijn,

Cool update! Any ETA on working UDP multicast? I've got multiple device lying around gathering dust and a working UPnP implementation on GHI G120HDR...

We're currently waiting on a patch to .NET MF 4.3, which contains a much newer version of the lwIP networking stack. We're very eager to play with this too, and will be using and testing it with one of our own (non-Netduino) product lines as well. The currently lwIP stack has been working well for a ton of people, but there are a few bug fixes which are going to be awesome with the update. If you're super-excited about the updated network stack, please post a note (work item) at netmf.codeplex.com as well. This will help the NETMF team allocate their resources and can help speed particular enhancements even more. Chris

#22 eddyogi

eddyogi

    New Member

  • Members
  • Pip
  • 5 posts

Posted 22 February 2013 - 02:02 PM

I'm noticing an issue only after upgrading to this new firmware version.  My MAC Address is resetting everytime the netduino is rebooted.  When I try to set it using MFDeploy I get an error saying "Memory: OUTOFMEMORY!! 8216".  Up until now I haven't encountered this issue.  Has anyone else encountered such an issue?

I'm also encountering this problem.  Any fixes yet?



#23 JerseyTechGuy

JerseyTechGuy

    Advanced Member

  • Members
  • PipPipPip
  • 870 posts

Posted 22 February 2013 - 05:17 PM

I'm also encountering this problem.  Any fixes yet?

 

I'm glad to see someone else is having this issue.  No one commented on my post and I'm not sure Chris Walker saw it, so no it has not be addressed as far as I know.



#24 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 22 February 2013 - 10:35 PM

Hi Dave,

I'm noticing an issue only after upgrading to this new firmware version.  My MAC Address is resetting everytime the netduino is rebooted.  When I try to set it using MFDeploy I get an error saying "Memory: OUTOFMEMORY!! 8216".  Up until now I haven't encountered this issue.  Has anyone else encountered such an issue?

I must have missed your original post on this; thank you for the additional ping. Are you using the NETMF 4.3 SDK or 4.2 SDK? If you set the MAC address via software, does the Netduino still lose its MAC address upon rebooting? We haven't seen this at all. We might be able to reproduce it by having you "upload" the firmware from your board to a .DFU file with DfuSe, posting it here as a .ZIP, and then flashing one of our boards here... You can zero out the last 6 digits of your MAC address if you want--before making the .DFU--for privacy. Chris

#25 JerseyTechGuy

JerseyTechGuy

    Advanced Member

  • Members
  • PipPipPip
  • 870 posts

Posted 23 February 2013 - 12:09 AM

Hi Dave,I must have missed your original post on this; thank you for the additional ping. Are you using the NETMF 4.3 SDK or 4.2 SDK? If you set the MAC address via software, does the Netduino still lose its MAC address upon rebooting? We haven't seen this at all. We might be able to reproduce it by having you "upload" the firmware from your board to a .DFU file with DfuSe, posting it here as a .ZIP, and then flashing one of our boards here... You can zero out the last 6 digits of your MAC address if you want--before making the .DFU--for privacy. Chris

 

Hi Chris.  This is still version 4.2.  Not sure how to set the MAC via software as it seems read only unless I am using the wrong method.

 

I did some more testing and it seems to throw the error when any of the Network settings have been altered.  If you are using the defaults on the board it allows setting of the MAC via MFDeploy.  Once I update the network settings via software they do stick however the MAC seems to be intermittently resetting and not sure what is causing it but if I go in to fix it via MFDeploy you can't change and save it.  I have to wipe the board in order to set the MAC.



#26 Martijn

Martijn

    Member

  • Members
  • PipPip
  • 13 posts

Posted 26 February 2013 - 08:22 PM

Hi Martijn,We're currently waiting on a patch to .NET MF 4.3, which contains a much newer version of the lwIP networking stack. We're very eager to play with this too, and will be using and testing it with one of our own (non-Netduino) product lines as well. The currently lwIP stack has been working well for a ton of people, but there are a few bug fixes which are going to be awesome with the update. If you're super-excited about the updated network stack, please post a note (work item) at netmf.codeplex.com as well. This will help the NETMF team allocate their resources and can help speed particular enhancements even more. Chris

Hi Chris, Thanks for the reply! With the 4.3 beta drivers for the G120 (GHI), issues with multicast are no longer present. Given this, did they apply an internal fix themselves? work item created :-)

--Martijn.



#27 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 27 February 2013 - 04:17 AM

Hi Dave,

I did some more testing and it seems to throw the error when any of the Network settings have been altered.  If you are using the defaults on the board it allows setting of the MAC via MFDeploy.  Once I update the network settings via software they do stick however the MAC seems to be intermittently resetting and not sure what is causing it but if I go in to fix it via MFDeploy you can't change and save it.  I have to wipe the board in order to set the MAC.

Are you able to reproduce this every time the board reboots? If not, can you tell how to reproduce the issue? If so, we'd really like to image your board and try to reproduce the issue here... Chris

#28 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 27 February 2013 - 04:19 AM

Hi Martijn,

Given this, did they apply an internal fix themselves? work item created :-)

The network settings on modules with tons of flash and RAM are a bit different. Chris

#29 Martijn

Martijn

    Member

  • Members
  • PipPip
  • 13 posts

Posted 27 February 2013 - 10:56 AM

makes sense to have other network settings, but I thought the broken multicast was a bug :)



#30 JerseyTechGuy

JerseyTechGuy

    Advanced Member

  • Members
  • PipPipPip
  • 870 posts

Posted 27 February 2013 - 12:33 PM

Hi Dave,Are you able to reproduce this every time the board reboots? If not, can you tell how to reproduce the issue? If so, we'd really like to image your board and try to reproduce the issue here... Chris

I'll have to play around and see if I can get it to reproduce reliably so I can notate the steps.  Will report back.



#31 eddyogi

eddyogi

    New Member

  • Members
  • Pip
  • 5 posts

Posted 27 February 2013 - 10:05 PM

I'm glad to see someone else is having this issue.  No one commented on my post and I'm not sure Chris Walker saw it, so no it has not be addressed as far as I know.

I reflashed the new firmware and lo and behold, I was able to change the network settings via MFDeploy.exe, DHCP now turned on and mac address changed successfully, no more out of memory error. :)



#32 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 28 February 2013 - 06:25 AM

Hi Martijn,

makes sense to have other network settings, but I thought the broken multicast was a bug :)

The way lwIP is structured, different features are enabled and disabled through #ifdefs and memory settings. Additionally some bugs can crop up in low memory conditions which would never be apparent with lots of RAM. One of the nice things about running directly from flash/ram on a microcontroller is that we're living in a relatively small resource pool... That does mean that some bugs can crop up more easily...but it also means that we fix more bugs and overall can have a higher-quality runtime experience. There are a lot of little bugs and a few bigger ones that are patched in the newer versions of lwIP. Not sure which way this goes...but as we pull in the newer codebase we'll also have WireShark to help hunt down the stragglers that weren't caught in the update. Chris

#33 zenmanenergy

zenmanenergy

    New Member

  • Members
  • Pip
  • 4 posts

Posted 06 March 2013 - 04:14 PM

I am unable to complete the steps  you have listed on my netduino plus, when I do this:

 

"[color=rgb(40,40,40);font-family:helvetica, arial, sans-serif;]5. Select the Target menu, Device Capabilities option."[/color]

 

[color=rgb(40,40,40);font-family:helvetica, arial, sans-serif;]MFDeploy just hangs. With 4.1 it would spit out a bunch of text.[/color]

 

[color=rgb(40,40,40);font-family:helvetica, arial, sans-serif;]If I ping the device it returns this: [/color]

Pinging... TinyBooter

Bootloader build info: Netduino Plus (v4.2.0.1) by Secret Labs LLC
 
When I load up: STDFU_tester the Netduino doesn't show up in the list of devices. So I can't do any of those steps.  It does show up in the MFDeploy and the device is listed in my device manager. I've tried erasing via the MFDeploy and Deploying the Bin/Hex files but it fails and gives me this error:
 
Invalid address 8020000 and range 65e38 Ram Start 0, Ram end 20000
 
 
Any ideas?
 
Steve
 


#34 zenmanenergy

zenmanenergy

    New Member

  • Members
  • Pip
  • 4 posts

Posted 06 March 2013 - 04:25 PM

Scratch this last post. I just discovered that I'm trying to shove a square peg into a round hole. 4.2.2 is for Netduino Plus 2, I'm trying it on a Netduino Plus. 



#35 Adeian

Adeian

    New Member

  • Members
  • Pip
  • 2 posts
  • LocationColorado

Posted 06 March 2013 - 07:10 PM

I just bought a shiny new Netduino Plus 2 that came with firmware 4.2.0.0 installed.  Booted just fine and ran a quick little program on it and it's MAC address matched the one on the board.  I upgraded the firmware to 4.2.2.2 using the information at the top of this post and everything seems to have gone fine.  MFDeploy shows:

ClrInfo.targetFrameworkVersion: 4.2.0.0

SolutionReleaseInfo.solutionVersion: 4.2.2.2

SolutionReleaseInfo.solutionVendorInfo: Netduino 2 (v4.2.2.2) by Secret Labs LLC

 

Now MFDeploy shows no MAC address and DHCP is disabled.  When I try to change the settings I get an "Unable to erase configuration sector memory".

 

I've read through all the posts here and I see that some people are able to get it working for them but I'm pretty new to all this hardware stuff and I'm stuck.  Is there a way to fix this so I could at least get DHCP and a MAC address set?



#36 mhkr

mhkr

    New Member

  • Members
  • Pip
  • 1 posts

Posted 07 March 2013 - 01:13 PM

hello! I am  a new user, with few queries regarding netduino . Does Netduino provides with the Wifi as i need to work wirelessly.  If not ,  Kindly mention the alternative way . Thank-you.



#37 JerseyTechGuy

JerseyTechGuy

    Advanced Member

  • Members
  • PipPipPip
  • 870 posts

Posted 07 March 2013 - 02:07 PM

hello! I am  a new user, with few queries regarding netduino . Does Netduino provides with the Wifi as i need to work wirelessly.  If not ,  Kindly mention the alternative way . Thank-you.

 

No, the Netduino does not have built in Wireless.  This thread is regarding the ND+2 Firmware Version 4.2.2.  You should either use the "Search" function on the forums to find threads that pertain to your question or you should post a new thread in the appropriate section with your question.



#38 elettrozero

elettrozero

    Advanced Member

  • Members
  • PipPipPip
  • 58 posts

Posted 08 March 2013 - 07:46 PM

What's wrong with that? :

 

 

 

OutputPort d8 = new OutputPort(Pins.GPIO_PIN_D8, false); 

 

 

A first chance exception of type 'System.ArgumentException' occurred in Microsoft.SPOT.Hardware.dll

 

An unhandled exception of type 'System.ArgumentException' occurred in Microsoft.SPOT.Hardware.dll

 

 

---

 

Answer: ME!!

 

I didn't noticed I had to install the new Netduino SDKs :P

 

---

 

What an idiot am I!! I've wasted 3 days thinking I've misswired the board, now everything is working with charm (UDP Server, HTTP Server, SPI, HTTP Client) fast and stable (just a PC restart while removing the cable Windows 8 x64)

 

Great job, keep up the good work!



#39 Adeian

Adeian

    New Member

  • Members
  • Pip
  • 2 posts
  • LocationColorado

Posted 10 March 2013 - 06:25 AM

Well Never mind I guess.... :wacko:

 

I wrote my own loader.  The whole reason I started using and developing for Windoes was I didn't like banging the hardware and now I'm back to it.  LOL.  Anyway I'm now all updated to the almost latest and greatest.  From the posts I've seen on the forum it doesn't look like there is a big hurry to get 4.3 so I'll tackle that as it comes.

 

Thanks, 



#40 QED58

QED58

    New Member

  • Members
  • Pip
  • 1 posts

Posted 12 March 2013 - 09:44 PM

Hi guys,

 

I'm fairly new on this forum and I need  A BIG HELP HERE!!

In short..installed MF 4.3 on a ND+2 using VS2012..full of bugs...try to reinstall MF4.2 by erasing firmware via the 3V3 method.

Now the ND+2 is not recognized by win7 and also SAM-BA fails because no COM port is installed. I think I completely screwed up here.

Do I need to reinstall a bootloader on the ND+2 ???

Please HELP me out!

Many thanks in advance!

 

Rob (QED58)






1 user(s) are reading this topic

1 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.