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.

Edward's Content

There have been 35 items by Edward (Search limited from 29-April 23)


By content type

See this member's


Sort by                Order  

#26228 Redacted 00101100

Posted by Edward on 01 April 2012 - 09:33 AM in General Discussion

Today it says "need more input". I hope tomorrow it says "need more RAM" ;->



#15033 Netduino Firmware v4.2.0 BETA 1

Posted by Edward on 05 July 2011 - 10:13 AM in Beta Firmware and Drivers

We build the tuning down of buffer sizes into the v4.1.0.0 firmware, and it's now included in the v4.2 firmware as well.

What is the FAT file access count memory issue? If that has been changed in the 4.2 codebase, it's included as well.

The GC bugfixes are included for sure.

We'll be posting v4.2 beta 2 later this weekend, now with "WithEvents" support for VB programmers.

Chris

Not FAT file access count - in a previous thread (that I can't now find) relating to out of memory issues you'd said you were going to reduce both the number and size of buffers allocated by the FAT file system. You also said in that thread you were going to change the wording of the GC message "Failed to allocate..." to clarify that it was a compaction trigger rather than an out of memory situation. The old wording remains so I wondered if the memory tuning got done and whether all this is in 4.2.

Thanks for clearsing this up.

Edward



#16343 Netduino Firmware v4.2.0 BETA 1

Posted by Edward on 04 August 2011 - 11:52 PM in Beta Firmware and Drivers

I had it happen a couple times yesterday after going to 4.2 as well.



I just spotted that this issue despite a high vote count was closed on Codeplex this Monday by "lorenzte" with no explanation. Outrageous.

Seriously considering an alternative platform for my product development as NETMF is proving too painful and unproductive at the moment. I had high hopes for it.

:-/



#16400 Netduino Firmware v4.2.0 BETA 1

Posted by Edward on 06 August 2011 - 08:53 PM in Beta Firmware and Drivers

No problem, I'll do that, already have the debugger installed. By the way, yes I too have had the crashes where there is no bluescreen just straight to BIOS.



#14966 Netduino Firmware v4.2.0 BETA 1

Posted by Edward on 03 July 2011 - 10:07 AM in Beta Firmware and Drivers

My 2GB SD cards arrived but only hours before going on vacation. A quick test suggested that they do >not< exhibit the access problems described abover for the 128MB card. One question; clarification about what is in and what in not included in the 4.2 B1 release - is the tuning down of buffer sizes and counts for SD card FAT file access to alleviate memory allocation problems included in this firmware?



#14581 Netduino Firmware v4.2.0 BETA 1

Posted by Edward on 22 June 2011 - 10:08 AM in Beta Firmware and Drivers

I tried the v4.2 firmware briefly. Had big problems working with SD card (256MB) on the Plus. Seemed like it would only work with files in the root directory. Trying to access anything in a sub-directory (eg, GetFiles) would throw a NotSupported exception. Same code working fine in the 4.1 beta so rolled back to that for now.



#15549 Netduino Firmware v4.2.0 BETA 1

Posted by Edward on 16 July 2011 - 02:27 PM in Beta Firmware and Drivers

I agree, but I'm not an expert of things and like we say in Dutch: "van 't kastje naar de muur". Litteraly: "from the cupboard to the wall" but loosly translated being bounced around.
So perhaps you could reply on that issue, or take some other actions? If you need me to test anything, you know how to contact me ;)


The hang on deployment and the following BSOD on disconnect or reset is driving me crazy; makes serious development an absolute pain. It's happening to me on about 50% of deployments. Is there any known workaround? Is the 4.1 driver better than the 4.2? Is it happening only to a few people or everybody? Only 4 votes on codeplex. I'm using Win7 64bit and VS2010 Pro.

Edward



#14861 Netduino Firmware v4.2.0 BETA 1

Posted by Edward on 28 June 2011 - 09:35 PM in Beta Firmware and Drivers

Thanks all for the various helpful suggestions but no change for any of them. I'm awaiting delivery of some 2GB cards to compare results against. Will update again as soon as I get my hands on them.



#14610 Netduino Firmware v4.2.0 BETA 1

Posted by Edward on 22 June 2011 - 10:10 PM in Beta Firmware and Drivers

Thanks for trying to replicate. I'll install the firmware here again and retry.. Card is a 128MB SanDisk (dug out from the back of a dusty drawer, came with an old phone) Formatted as FAT32/2048 by Win7 - files were written by Win7. Path \\SD\www.



#14645 Netduino Firmware v4.2.0 BETA 1

Posted by Edward on 23 June 2011 - 10:04 PM in Beta Firmware and Drivers

Spoke to soon. The problem seems to be a power cycling one. If the netduino is powered up with the card in the slot then the exception is thrown. If I take the card out and re-insert it with the power kept on then the progtam will run. So is the problem that the card isn't being mounted at power on only on insertion?



#14643 Netduino Firmware v4.2.0 BETA 1

Posted by Edward on 23 June 2011 - 09:49 PM in Beta Firmware and Drivers

I reinstlled everything, reflashed everything and reformatted the card. And all is working fine now. Thanks for taking the time to run those tests it gave me the confidence to give 4.2 another try. Hopefully my next feedback will be more worthwhile!



#14698 Netduino Firmware v4.2.0 BETA 1

Posted by Edward on 24 June 2011 - 09:19 PM in Beta Firmware and Drivers

The code is:

using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using Microsoft.SPOT;
using Microsoft.SPOT.IO;
using Microsoft.SPOT.Hardware;
using SecretLabs.NETMF.Hardware;
using SecretLabs.NETMF.Hardware.NetduinoPlus;
using SecretLabs.NETMF.IO;

namespace SD_Card_test
{
    public class Program
    {
        public static void Main()
        {
           var fs= Directory.GetFiles(@"SD");
        }

    }
}

and the exception is:
A first chance exception of type 'System.NotSupportedException' occurred in Microsoft.SPOT.IO.dll
An unhandled exception of type 'System.NotSupportedException' occurred in Microsoft.SPOT.IO.dll

By the way, remember, beta software can always contain a few flaws, it's a risk using Beta firmware.
appairently you found a flaw


yup - trying to help find them and fix them!



#17409 Beta driver for .NET MF 4.2 RC3+

Posted by Edward on 01 September 2011 - 08:59 PM in Beta Firmware and Drivers

P.S. Does anyone have a simple project (something along the lines of "Hello world" or maybe a little more sophisticated) which regularly causes a BSOD?

Chris


My experience is that the problem is strongly exacerbated by the size of the project. I've a project that has a deployment size of 57k and it'll cause the BSOD on the second deployment; every time. I'm on Win7 x64 and Netduino Plus. So to get something reproducible just write "Hello World" and link in a buch of extra libraries.

The debug stack trace I posted pretty clearly shows a recusive behaviour around the operation completion continuation function. I also see that there's a check in of the driver code for RC2 that may be an attempt to fix this by putting a monitor on the completion.



#17415 Beta driver for .NET MF 4.2 RC3+

Posted by Edward on 01 September 2011 - 11:45 PM in Beta Firmware and Drivers

Are you sending large amounts of debug info from the device by any chance?


It'd be nice to be able to get to the point where I could look at the debug info ;->

But no, with that project size the steps are:
Boot windows
Start VS
Deploy project
Click stop debug
Deploy project
Deploy hangs
Reset NP -> BSOD (or 50% of the time straight to BIOS)



#18497 Beta driver for .NET MF 4.2 RC3+

Posted by Edward on 27 September 2011 - 02:07 PM in Beta Firmware and Drivers

What's happening on this? The Codeplex status is "Several suggestions are in the hands of SecretLabs to produce a new firmware image" For me the problem happens alot with ND+ and 4.2. But it also happens on 4.1 and other targets e.g. GHI Cobra albeit a lot less frequently. Feels luke the ball is in the wrong court to me (hope that translates).



#17163 Beta driver for .NET MF 4.2 RC3+

Posted by Edward on 27 August 2011 - 08:09 PM in Beta Firmware and Drivers

After one false start with the symbols but the non-debug build of the driver still loaded I think I've captured an informative debug trace of the driver issue. I've put the info up on the work item CodePlex.



#17422 Beta driver for .NET MF 4.2 RC3+

Posted by Edward on 02 September 2011 - 02:58 AM in Beta Firmware and Drivers

In the app which is currently on your Netduino, is it writing out lots of Debug info?


Nope - it just prints an "I'm alive" message every 10 seconds from the main thread.
The app is a little HTTP server hosting a SilverLight client, so it's just sitting idle waiting for a connect.



#16853 Beta driver for .NET MF 4.2 RC3+

Posted by Edward on 19 August 2011 - 10:41 PM in Beta Firmware and Drivers

Nope, sorry, just got the same BSOD. cc'd CodePlex.



#16856 Beta driver for .NET MF 4.2 RC3+

Posted by Edward on 20 August 2011 - 12:50 AM in Beta Firmware and Drivers

Feels so like a memory/resource leak. After fresh boot deplyment is fast, responsive etc. Then after a few deploy/debug cycles deplyment starts to struggle to get the devices attention, reset button works a few times but after 6-10 deployments the bug check BSOD.

I also observe that moving to a different USB port at the unresponsive stage (before the BSOD) buys more time so it's like there's a leak per port that hits some limit (hence the reference to nt!ExAllocatePoolWithTag+0x11 in the stack trace.

HTH



#16840 Beta driver for .NET MF 4.2 RC3+

Posted by Edward on 19 August 2011 - 10:58 AM in Beta Firmware and Drivers

Got the driver loaded. Testing...



#17158 Beta driver for .NET MF 4.2 RC3+

Posted by Edward on 27 August 2011 - 04:47 PM in Beta Firmware and Drivers

What other files do you need?

Got it - I'd not spotted your edit with the debug version just an hour earlier.



#16858 Beta driver for .NET MF 4.2 RC3+

Posted by Edward on 20 August 2011 - 01:08 AM in Beta Firmware and Drivers

Done



#17137 Beta driver for .NET MF 4.2 RC3+

Posted by Edward on 26 August 2011 - 11:55 PM in Beta Firmware and Drivers

Are the symbols for the beta driver available? I caught a full dump but have no symbols so it's not very useful.



#16924 Netduino Plus Firmware v4.2.0 RC1

Posted by Edward on 21 August 2011 - 06:10 PM in Beta Firmware and Drivers

No. We're awaiting a revised build from Secret Labs. See http://netmf.codeple...m/workitem/1166



#17575 Netduino Plus Firmware v4.2.0 RC1

Posted by Edward on 05 September 2011 - 01:11 PM in Beta Firmware and Drivers

I bumped into this too. The regex library is a port of an old (but worthy) Apache Java library (Jakarta)to C# (it's not native). It doesn't support quite the same syntax as the desktop .Net regex library (which is a little irritating). One thing that's not implemented is named capture groups af far as I'm aware. There are also some differences on what characters have to be escaped. I ended up downloading the library source and compiling it to find this out. Maybe these inconsistencies are worthy of a 'bug' on CodePlex. For me the performance from a non-native library and its cosiderable memory footprint made me look for simpler techniques for what I was trying to achieve.




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.