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.

chris9876

Member Since 12 Jun 2013
Offline Last Active Feb 09 2015 04:42 AM
-----

Posts I've Made

In Topic: Netduino Plus 2 Firmware v4.3.1

11 March 2014 - 11:02 AM

 

 Hallo Chris,

I got a brand new ND2 + yesterday. I plan to create

a small application which sent data from ND2 + to a web page.

Currently I have everything installt on 4.2Version (NETMF, SDK) (because Netduino GO). VSExpress10 and Window7

What do you think?

Should I immediately upgrade to the new NETMF4.3?

 

But i think this does also mean to install the new 4.3SDK? ... and ...

that also means upgradeing the ND2 +  to 4.3 firmware?

Or can I leave everything on 4.2Version? 

 

Thanks for your response...

 

regards

Christian


In Topic: New: Netduino Update application

31 December 2013 - 07:58 PM

Hi Chris, great tool, congratulations! Had to reflash my NGO about 15 times in recent days (you know .. unsafe code ... and so on ....). Have not hit upon the new updatetool until today ... OK ... But can now sleep by doing the reflashprocedur with the STtools. Regard and BTW happy new year Christian

In Topic: Best Practices to Minimize Garbage Collection

31 December 2013 - 12:16 AM

Hi Mario, Hi Sean, it seems you have some experience with the GC and tighter memory. Can you give me some answers and hints to the GC Output. Is it an Output from .NET MF? or is the Output Netduinofirmware specific? Is it documented somewhere what each line means exactly? Is there a C#(.NET MF) function that specifies how much memory is free? .. to print out at runtime or respond to it in any C#-tech way? One question more: If you have a C# function witch returns Array(Byte)Data in e.g.: public static byte[] GetBytes(long value) { var array = new byte[8]; InsertValueIntoArray(array, 0, value); return array; } By the caller it looks like this: byte[] bx; do{ bx = GetBytes(longValue); . . } while(forever) What happens with the 8Byte receiving from GetBytes? Where do they go when I call GetBytes again and again and again....(where they are located(Heap?)...how can i destroy them?) Do you have some idea...thanks for Help(ich glaube ich steh gerade ordentlich auf der Leitung) Output from GC(like mentioned above): GC: 3msec 1482048 bytes used, 2712036 bytes available Type 0F (STRING ): 108 bytes Type 11 (CLASS ): 428244 bytes Type 12 (VALUETYPE ): 72 bytes Type 13 (SZARRAY ): 664968 bytes Type 03 (U1 ): 664056 bytes Type 04 (CHAR ): 276 bytes Type 07 (I4 ): 36 bytes Type 11 (CLASS ): 600 bytes Type 15 (FREEBLOCK ): 2712036 bytes Type 17 (ASSEMBLY ): 15252 bytes Type 18 (WEAKCLASS ): 48 bytes Type 19 (REFLECTION ): 24 bytes Type 1B (DELEGATE_HEAD ): 72 bytes Type 1D (OBJECT_TO_EVENT ): 312 bytes Type 1E (BINARY_BLOB_HEAD ): 262512 bytes Type 1F (THREAD ): 744 bytes Type 20 (SUBTHREAD ): 96 bytes Type 21 (STACK_FRAME ): 780 bytes Type 27 (FINALIZER_HEAD ): 106584 bytes Type 28 (MEMORY_STREAM_HEAD ): 36 bytes Type 29 (MEMORY_STREAM_DATA ): 396 bytes Type 31 (IO_PORT ): 468 bytes Type 34 (APPDOMAIN_HEAD ): 72 bytes Type 36 (APPDOMAIN_ASSEMBLY ): 1260 Bytes regards Christian


In Topic: Netduino Go Firmware v4.2.2 (update 1)

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.

In Topic: Netduino Go Firmware v4.2.2 (update 1)

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

 


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.