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.

Cabadam's Content

There have been 83 items by Cabadam (Search limited from 13-May 23)


By content type

See this member's


Sort by                Order  

#21578 Long time to debug with 4.2 RC3?

Posted by Cabadam on 11 December 2011 - 03:20 PM in Beta Firmware and Drivers

OK, I created a new application from the ND+ template, simply:
    public class Program
    {
        public static void Main()
        {
            Debug.Print("Hello World");
        }

    }

I actually timed it this time, and it took almost exactly 50 seconds from the time "NotImplementedException" appeared in the Output window to print out the "Hello World" message.

My output window:

A first chance exception of type 'System.NotImplementedException' occurred in Microsoft.SPOT.Native.dll
The thread '<No Name>' (0x2) has exited with code 0 (0x0).
Hello World
The thread '<No Name>' (0x1) has exited with code 0 (0x0).
Done.
Waiting for debug commands...
The program '[2] Micro Framework application: Managed' has exited with code 0 (0x0).


I do not know if it is related, but that thread that ends right before the Hello World - that message prints at basically the same time as Hello World, which might imply it is waiting on whatever that thread is doing to complete before moving on to execute the program.



#21529 Long time to debug with 4.2 RC3?

Posted by Cabadam on 10 December 2011 - 12:51 AM in Beta Firmware and Drivers

I previously had I believe 4.2 RC1, since just upgrading to 4.2 RC3, when I "start debugging" from Visual Studio (2010), it now takes about a full minute for it to hit a breakpoint on the very first line of Main(). I get the "NotImplementedException" in the Output window fairly quickly, but then it just sits. At first, I thought it wasn't actually executing anything, but then I found if I just let it sit, it would eventually hit my breakpoint and be able to run my program. My program isn't horribly big, 20908 bytes. Is anyone else seeing this? Thanks, Adam



#21528 SD card not working on N+ 4.2 RC3

Posted by Cabadam on 10 December 2011 - 12:47 AM in Beta Firmware and Drivers

Hello. Any fix, idea, comment, help, progress... anything about this?


Not much help - but I can recreate the same issue. I just upgraded to 4.2 RC3, and now my app throws an IOException on:
Directory.GetDirectories("\\SD")



#17691 ushort to byte[]

Posted by Cabadam on 06 September 2011 - 07:15 PM in Netduino Plus 2 (and Netduino Plus 1)

Also, haven't used it, but could try taking a look at:
http://forums.netdui...8-bitconverter/



#17685 Unable to deploy without disconnect\reconnect USB cable

Posted by Cabadam on 06 September 2011 - 05:40 PM in Netduino Plus 2 (and Netduino Plus 1)

Question: Is the 4.2 update causing the PC to BSOD on usb unplug during deployment? If so, I definately dont want to add more frustration to the process to have to reboot every time I change 1 line of code during a debug session.


I do believe some people started experiencing the BSOD after upgrading to 4.2. That said, I did the upgrade this weekend and spent an evening doing development without experiencing a BSOD. I did have many occasions where the deployments stopped working and I had to unplug/plug it back in though.

I have not yet tracked it down to a particular cause yet. At one point I thought it might be somehow related to how the VS Debugger disconnects (aka: "Detach" vs "Stop"), but I believe I've now seen it occur both ways.



#17666 DateTime ticks inconsistent between .NET MF 4.2 and full .NET 4.0?

Posted by Cabadam on 06 September 2011 - 12:39 PM in Netduino Plus 2 (and Netduino Plus 1)

Ah, thanks to both. Since it is intentional, I'll just code in a +1600 years on the .NET 4.0 side of things to account for it (and guess I also need to remember to subtract when sending the opposite way). And thanks for pointing out the existing issue regarding the documentation - I won't open up another issue then.



#17621 DateTime ticks inconsistent between .NET MF 4.2 and full .NET 4.0?

Posted by Cabadam on 06 September 2011 - 12:52 AM in Netduino Plus 2 (and Netduino Plus 1)

Executed the following on my Netduino Plus (running the 4.2 RC1 firmware): Debug.Print(new DateTime(129597249849261120).ToString()); That printed: 09/05/2011 19:36:24 Looks good, basically what I expected. Now over in my full .NET 4.0 app (which is receiving that integer value from the Netduino): string str = new DateTime(129597249849261120).ToString(); That yields: 9/5/0411 7:36:24 PM They are exactly 1600 years apart?



#17614 State of ND+ 4.1.1 Beta vs 4.2 RC firmware

Posted by Cabadam on 05 September 2011 - 11:52 PM in Beta Firmware and Drivers

Just upgraded to 4.2 RC2 MF (4.2 RC1 firmware) - that resolved a OutOfMemory problem I had been running into. Still running into cases where I have to completely unplug the Netduino Plus and then plug it back in for it to deploy though...




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.