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

Understanding the build output sizes


  • Please log in to reply
5 replies to this topic

#1 g.d.carter

g.d.carter

    New Member

  • Members
  • Pip
  • 6 posts
  • LocationTopeka, KS

Posted 17 October 2010 - 04:02 AM

When I compile my project I get the message:

Total: (11024 RAM - 91748 ROM - 50406 METADATA)


   AssemblyRef    =      100 bytes (      25 elements)

   TypeRef        =      904 bytes (     226 elements)

   FieldRef       =       64 bytes (      16 elements)

   MethodRef      =     1224 bytes (     306 elements)

   TypeDef        =     2688 bytes (     336 elements)

   FieldDef       =     1060 bytes (     524 elements)

   MethodDef      =     3352 bytes (    1671 elements)



   DebuggingInfo  =     1688 bytes



   Attributes      =       48 bytes (       6 elements)

   TypeSpec        =       28 bytes (       7 elements)

   Resources Files =       72 bytes (       3 elements)

   Resources       =      304 bytes (      38 elements)

   Resources Data  =     1184 bytes

   Strings         =     8232 bytes

   Signatures      =     6654 bytes

   ByteCode        =    30015 bytes


Does this include the firmware, or is that separate? Does someone know exactly how much RAM/ROM we have to work with and what values I should look at in here to see if I am getting close?

#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 17 October 2010 - 04:59 AM

Hi Yacko, The current firmware for the Netduino Plus has 48KB of Flash and 28KB of RAM available for your Netduino apps. Chris

#3 g.d.carter

g.d.carter

    New Member

  • Members
  • Pip
  • 6 posts
  • LocationTopeka, KS

Posted 17 October 2010 - 02:38 PM

So what values should I be looking at in this output to determine where I'm at.

The very first number that it outputs:
Total: (11024 RAM - 91748 ROM - 50406 METADATA)

This would lead me to believe that I am over the 48KB of ROM data? But I assume this includes some of the assemblies. Is there a FAQ or a wiki that will help me understand this output?

#4 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 17 October 2010 - 05:55 PM

So what values should I be looking at in this output to determine where I'm at.


Just ignore that output and watch for the "deploying #### bytes" message that happens when you deploy and run your app. It'll be in the one of the windows at the bottom of Visual Studio. If you don't see it, we can take a screenshot of an app here with more details...but it should appear very briefly.

Chris

#5 g.d.carter

g.d.carter

    New Member

  • Members
  • Pip
  • 6 posts
  • LocationTopeka, KS

Posted 17 October 2010 - 06:06 PM

I assume this is the line I am looking for:

Deploying assemblies for a total size of 3304 bytes

This is in the Output window under the output from Micro Framework Device Deployment.

#6 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 17 October 2010 - 06:14 PM

I assume this is the line I am looking for:

Deploying assemblies for a total size of 3304 bytes

This is in the Output window under the output from Micro Framework Device Deployment.


Yes, that's it! You're using about 3KB of the available 48KB of Flash.

Chris




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.