Netduino home hardware projects downloads community

Jump to content


Photo

Netduino Go Firmware v4.2.2 (update 1)


  • Please log in to reply
25 replies to this topic

#21 Arron Chapman

Arron Chapman

    Advanced Member

  • Members
  • PipPipPip
  • 289 posts
  • LocationOregon, USA

Posted 16 May 2013 - 05:14 PM

Hi, I am just trying to understand netmf.

DFU file is 426kB, and part of it will be written to flash (for simplicity lets assume whole file).

Processor has 1MB of flash.

Description says: 384KB Flash available for your (C#) code.

Where is the rest (190kB)?

Thanks

The .NetMF runtime itself takes up roughly 1MB - 384KB.  There is some reserved space which allows SL to add more features back into the .NetMF (maybe we get some encryption libraries later on, or HTTP).


When you talk EE use small words, I'm just a Software Developer :)
My Blog/Site and Everything Else

If my post helped you please consider pressing the "Like This" button in the bottom right-hand corner.

 

Oh my. So many things, so little money!!

 


#22 MKelly

MKelly

    New Member

  • Members
  • Pip
  • 1 posts

Posted 21 May 2013 - 11:11 PM

[font="consolas;"]In a short NetduinoGo program for the LED module, got error messages The type of namespace NetduinoGo could not be found (are you missing a using directive or an assembly reference?) when using this code:[/font]

 

[font="consolas;"]NetduinoGo.RgbLed led = [color=#0000FF;]new[/color][/font] NetduinoGo.RgbLed();

[font="consolas;"]With .NET Microframework 4.2.[/font]

 

[font="consolas;"] - Have  tried upgrade procedure by erasing with STDFU testor followed by selection of the DFU demonstrator (all downloaded from Netduino website, per the initial post above).  Checking the version with .NET microframework deployment tool, seems that verson 4.2.0.0 remains installed (buildate March 30 2012).  Have tried and checked everything several times.  Im not sure whats supposed to happen, but it seems that the erase does not occur.  The deployment also does not seem occur.[/font]

 

[font="consolas;"]What else should be tried or checked? Are there other ways to get the modules to work?  Are there some examples code that will work on the Go with RgbLed and other modules?  Am new to Netduino.  Any help would be appreciated.  Thanks.  MK[/font]



#23 chris9876

chris9876

    New Member

  • Members
  • Pip
  • 7 posts
  • LocationAustria

Posted 28 December 2013 - 08:59 AM

Hi Chris,
I think I need some help,
I have a small application that is running in (Microsoft)emulator smoothly.
But when I try to run the App on Netduino Go (4.2.2.1 / board Rev. A)
I get the following error message:

"Eine nicht behandelte Ausnahme
des Typs "System.NotImplementedException"
ist in Microsoft.SPOT.Native.dll aufgetreten.
 
It seems to happen by running the following code:

public virtual void Write(float value)
{

var bytes = Reflection.Serialize(value, typeof(float));
for (int i = 1; i <= 4; i++)
_buffer[4 - i] = bytes[i];
_stream.Write(_buffer, 0, 4);

}

VS2010EXP reports the error at codeline:
var bytes = Reflection.Serialize(value, typeof(float));
I suppose "refection.Serialize()" is a function inside native.dll ??

I suppose by installing VS2010EXP C# -> .NET MF SDK 4.2 -> Netduino SDK 4.2.2
I did NO error.

Well...any idea what's going wrong with my code, or is there any problem with
versions dependencies( also see attached files NGO MFDeploy-DeviceCapabilities and the Report what VS says on deploying the App to NGO)

In short my inviroment:
WIN 7,
VS 2010 EXP C#
.NET MF SDK 4.2,
Netduino SDK 4.2.2
NGO FirmWare flashed:
HalSystemInfo.halVersion: 4.2.0.0
HalSystemInfo.halVendorInfo: Netduino Go (v4.2.2.1) by Secret Labs LLC

Thanks so much for your help. I struggling with this Problem for two days....
mfG Christian

 

Attached Files


mfG

Christian


#24 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 28 December 2013 - 09:16 AM

Hi Christian, The NETMF emulator typically supports all the possible features of NETMF--including those that only work on high-end boards with lots and lots of flash and RAM. Is there another way that you can accomplish your task without using reflection's Serialize feature? If this is something a feature that you could really use on Netduino, we can look at how much room it would take with a future firmware update. Chris

#25 chris9876

chris9876

    New Member

  • Members
  • Pip
  • 7 posts
  • LocationAustria

Posted 28 December 2013 - 10:30 AM

Hi Chris, (15 minutes for replay, Saturday morning, must even be dark at NY...that's realy good support) thank you for this clear answer............hm....'ll look around for a "replacement code". But now .. for the future to save time ... where can I find out what .NET MF function is definitely containt(or NOT) by NGO-Firmware(or shield base-Firmware)? Is that dokumented somewhere? Thanks and regards Christian PS: And yes ... you are absolutely right. I checked: when I wrote this program 6 months before, I never tested it on the real hardware. Only with emulator ... I'm crazy.

mfG

Christian


#26 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 28 December 2013 - 11:28 AM

Hi Christian, We don't have a comprehensive list of supported APIs, but that's probably something we could put together. Most features that apply to the board are included. There are a few such as DPWS and some serializations libraries that didn't fit early on--and we can review those again the future. 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.