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.

Klop

Member Since 05 May 2011
Offline Last Active May 14 2012 05:59 AM
-----

Topics I've Started

Async read from SD card?

29 June 2011 - 01:28 PM

Hi, Does anyone know if it is possible to read from the SD card asynchronously? The FileStream class seems to be missing the .BeginRead method. Did Microsoft not implement it in the MF? Would it be possible to create a thread that handles the file reading? Thanks.

Why so slow processing time?

07 June 2011 - 02:40 PM

Hi,

Why does this simple piece of code take approx 1 second to execute for each while loop?

public static void Main()
{
	while (true)
	{
		byte result = 0;
		led.Write(true);
		for (int i = 0; i < 20000; i++)
		{
			result += 1;
		}
		led.Write(false);
		for (int i = 0; i < 2000; i++)
		{
			// Blink...
		}
	}
}

At 48 Mhz this results in 2.400 assembly cycles (20000 * 2400 = 48M) to do: result += 1; This does not make sense at all for me.

Am I missing something? Or does the Netduino framework really take so much overhead? That can be true can it. Or is it the debugging feature that messes it up - can it be disabled/removed?

Please can anyone help me out here.

Thanks.

How to ensure UART pin does not go tristate when closed?

01 June 2011 - 02:30 PM

Hi, Everytime I close the UART the UART pin goes tristate. How can I ensure this doesn't happen? Eg. the port must be kept high after the close command. Thanks.

Avoid flash storage A/B being erased on VS build/debug?

16 May 2011 - 05:18 PM

Hi, Does anyone know if it's possible to keep data stored in Storage A/B when deploying/debugging via Visual Studio? It's very annoying that my data is erased every time I start the debugger (app code build and deployed). Maybe a parameter/command build event can be added in Visual Studio? Thanks.

How to manual read/write internal flash?

09 May 2011 - 04:13 PM

Hi all, I'm new here and new to the micro framework and netduino plus. I think it's very cool you can write C# code for the microprocessor and debug you code using VS 2010. I have a program were schedules are managed. These schedules needs to be loaded to the flash at a specific memory location. The running netduino main program will then look at this specific memory location for the schedules. So it should be possible to write schedules/data to the internal flash without using the development tool and without writing the "main" running program to the microprocessor. The two parts are decoupled from each other. I believe that should be possible? Does anyone of you know how to manual read/write to the internal flash? How do you access the netduino usb driver - which .dll file is it using and which methods are accessible? Is there any source code for the micro framework so the implementation can be looked at? Hope you can help me. Thank you.

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.