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 Plus update: 50% more RAM


  • Please log in to reply
21 replies to this topic

#1 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 11 April 2011 - 03:00 AM

First of all, a big thank you to community member KodeDaemon (David Stetz) for all his efforts measuring stack usage and helping free up more RAM on Netduino Plus. He's been doing a lot of work behind the scenes the past few weeks. By slimming the size of the native code stack, reducing the USB buffer count, and moving some functions out of RAM, Netduino Plus now has about 50% more RAM available for your app (42KB+ instead of 28KB). We plan to incorporate these enhancements into the official v4.1.1 beta 2 firmware...but I thought I'd publish a special build for interested parties to test first. This build is identical to the v4.1.1 beta 1 firmware--but it contains the memory enhancements and one SDHC card bugfix. Please post your experiences here--good and bad. If your Netduino app breaks using this firmware, please let us know. And please say 'thank you' to KodeDaemon if you see him around in Netduino Chat! Chris

Attached Files



#2 georgejh

georgejh

    Advanced Member

  • Members
  • PipPipPip
  • 87 posts
  • LocationGlasgow, UK

Posted 11 April 2011 - 06:31 AM

First of all, a big thank you to community member KodeDaemon (David Stetz) for all his efforts measuring stack usage and helping free up more RAM on Netduino Plus. He's been doing a lot of work behind the scenes the past few weeks.

By slimming the size of the native code stack, reducing the USB buffer count, and moving some functions out of RAM, Netduino Plus now has about 50% more RAM available for your app (42KB+ instead of 28KB).

We plan to incorporate these enhancements into the official v4.1.1 beta 2 firmware...but I thought I'd publish a special build for interested parties to test first.

This build is identical to the v4.1.1 beta 1 firmware--but it contains the memory enhancements and one SDHC card bugfix.

Please post your experiences here--good and bad. If your Netduino app breaks using this firmware, please let us know.

And please say 'thank you' to KodeDaemon if you see him around in Netduino Chat!

Chris


That's brilliant! Excellent work David!!! Thank you form all of us!

#3 AlfredBr

AlfredBr

    Advanced Member

  • Members
  • PipPipPip
  • 138 posts
  • LocationConnecticut, USA

Posted 11 April 2011 - 03:15 PM

What is "Netduino Chat" ? Is that another place for Netduino users to communicate? I'd love to join up!

#4 Stefan

Stefan

    Moderator

  • Members
  • PipPipPip
  • 1965 posts
  • LocationBreda, the Netherlands

Posted 11 April 2011 - 03:32 PM

What is "Netduino Chat" ? Is that another place for Netduino users to communicate? I'd love to join up!

http://forums.netdui....php?app=ipchat
See also the link above the forums :)
"Fact that I'm a moderator doesn't make me an expert in things." Stefan, the eternal newb!
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs

#5 foxxjnm

foxxjnm

    New Member

  • Members
  • Pip
  • 5 posts

Posted 14 April 2011 - 01:48 AM

http://forums.netdui....php?app=ipchat
See also the link above the forums :)


Fantastic work! I was having to be very creative with memory management on a project for work, it's nice to have the belt loosened a bit!

#6 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 21 April 2011 - 04:05 AM

How is the "50% more RAM" build working for everyone so far? We're working on integrating it into beta 2--but wanted to make sure nobody was having trouble with it first... Chris

#7 ColinR

ColinR

    Advanced Member

  • Members
  • PipPipPip
  • 142 posts
  • LocationCape Town, South Africa

Posted 21 April 2011 - 07:07 AM

Working very well. No issues on my side. Having the extra RAM has been great. My device has been creating WebRequests every minute for the last 9 days solid, without fail. Who can complain about extra RAM!

#8 georgejh

georgejh

    Advanced Member

  • Members
  • PipPipPip
  • 87 posts
  • LocationGlasgow, UK

Posted 21 April 2011 - 11:40 AM

How is the "50% more RAM" build working for everyone so far? We're working on integrating it into beta 2--but wanted to make sure nobody was having trouble with it first...

Chris



Works fine for me

#9 ngw

ngw

    New Member

  • Members
  • Pip
  • 1 posts

Posted 30 April 2011 - 02:46 PM

Extra memory: nom nom nom :) Working well for me too so far. Awesome. Thanks heaps, Chris and David.

#10 tibel

tibel

    Member

  • Members
  • PipPip
  • 14 posts

Posted 15 May 2011 - 08:37 AM

Hi Chris,

can you give us some info on Beta 2 already?

tibel


How is the "50% more RAM" build working for everyone so far? We're working on integrating it into beta 2--but wanted to make sure nobody was having trouble with it first...

Chris



#11 elettrozero

elettrozero

    Advanced Member

  • Members
  • PipPipPip
  • 58 posts

Posted 04 June 2011 - 08:03 AM

Seems quite fluid, nice work! Do you have any roadmap for FW releases ?

#12 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 04 June 2011 - 09:29 AM

Seems quite fluid, nice work! Do you have any roadmap for FW releases ?


v4.1.1 -- this summer
v4.2 -- this fall

#13 Dixon

Dixon

    Advanced Member

  • Members
  • PipPipPip
  • 32 posts

Posted 12 July 2011 - 10:30 AM

Hi Chris, Is this 50% more ram modification already included within the 4.2 beta that is actually available?

#14 Stefan

Stefan

    Moderator

  • Members
  • PipPipPip
  • 1965 posts
  • LocationBreda, the Netherlands

Posted 12 July 2011 - 10:54 AM

Is this 50% more ram modification already included within the 4.2 beta that is actually available?

It's not in 4.2 beta 1, the one that is currently available.
"Fact that I'm a moderator doesn't make me an expert in things." Stefan, the eternal newb!
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs

#15 baxter

baxter

    Advanced Member

  • Members
  • PipPipPip
  • 415 posts

Posted 31 July 2011 - 05:56 PM

Chris, It appears that something is broken or removed relative to System.IO. Ref topic, http://forums.netdui...6105#entry16105

#16 magarcan

magarcan

    Advanced Member

  • Members
  • PipPipPip
  • 43 posts

Posted 03 October 2011 - 02:18 PM

Is this going to be available in 4.2 final?

#17 ColinR

ColinR

    Advanced Member

  • Members
  • PipPipPip
  • 142 posts
  • LocationCape Town, South Africa

Posted 03 October 2011 - 05:41 PM

Is this going to be available in 4.2 final?


According to my free RAM on 4.2 RC1, yes it is.

#18 Niels R.

Niels R.

    Member

  • Members
  • PipPip
  • 28 posts

Posted 04 June 2012 - 11:41 AM

Hi, Is there any final 4.1 firmware release containing this improvements? I might be wrong, but the thread with the stable 4.1.0.6 firmware states 28+ KB RAM... Kind regards, Niels R.

#19 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 04 June 2012 - 02:42 PM

Hi Niels,

Is there any final 4.1 firmware release containing this improvements?

I might be wrong, but the thread with the stable 4.1.0.6 firmware states 28+ KB RAM...

The 4.1.1 beta (first post in this thread) has the improvements. 4.2.0 RC5+ free up even more RAM.

Chris

#20 microhax

microhax

    New Member

  • Members
  • Pip
  • 2 posts

Posted 05 June 2012 - 11:48 PM

So far this version works flawlessly on my Netduino+. I have tried 4.0.6 (what it came with and erased/reflashed for good measure, set mac address) and 4.2b and have suffered the nasty DHCP bug every time. This version, however, has worked through all of my tests. When there's no network connection my device has 0.0.0.0 (which I test for) and then receives an address shortly after plugging in. For what it's worth, everything was tested using a Cisco 871 serving DHCP.




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.