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

How much is 192kb code storage?

hardware netduino2

  • Please log in to reply
3 replies to this topic

#1 malcomfrexner

malcomfrexner

    New Member

  • Members
  • Pip
  • 2 posts

Posted 14 January 2014 - 09:17 PM

I got myself a netduino2 and the LED blinks like hell. And I don't stop here!

 

My plan is to port a simple java robot software to .NET. Its BSim on http://www.behaviorb...rogramming.net/.

 

I only want to port the robot software, not the simulation part. 

 

Is this possible on my hardware? 192kb desn't sound to much and my first "blink" already uses 4kb (12kb for the pdb). 

 

The original project uses 80 classes with some 100lines of code each.



#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 14 January 2014 - 09:19 PM

Hi malcomfrexner, We're running projects with 10,000+ of lines of code in 192KB of flash. NETMF IL code is surprisingly compact :) Welcome to the Netduino community, Chris

#3 CW2

CW2

    Advanced Member

  • Members
  • PipPipPip
  • 1592 posts
  • LocationCzech Republic

Posted 15 January 2014 - 07:38 AM

... "blink" already uses 4kb (12kb for the pdb). 

 

Those *.pdb files contain information for Visual Studio debugger, they are not deployed to the microcontroller board - .NET Micro Framework uses a little bit different mechanism than "full" desktop .NET Framework, the actual code that uses microcontroller flash memory is stored in *.pe files (which are basically stripped-down .dll-s).



#4 jrlyman3

jrlyman3

    Advanced Member

  • Members
  • PipPipPip
  • 67 posts
  • LocationNorth St Paul. MN

Posted 16 January 2014 - 03:23 AM

Btw, Visual Studio has a tool to convert Java to C#.  It takes care of a lot of the stupid stuff, and it works pretty good.  It doesn't convert GUI components though.







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.