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.

Earthed

Member Since 13 Mar 2011
Offline Last Active Sep 30 2013 09:24 AM
-----

Topics I've Started

Exception in DateTime.Tostring()

04 September 2011 - 05:10 AM

Exceptions internal to DateTime.ToString() CODE: string sTime = ""; DateTime t = DateTime.Now; sTime = t.ToString("yyyy-MM-dd HH:mm:ss.fff") + "> "; OUTPUT (as Expected): sTime = "2011-06-01 00:30:12.265> " GENERATED OUTPUT (On 'Step Into" during debug): Step into: Stepping over non-user code 'System.DateTime.ToString' Step into: Stepping over non-user code 'System.Globalization.DateTimeFormatInfo.UniversalSortableDateTimePattern.get' Step into: Stepping over non-user code 'System.Globalization.CultureInfo.NumberFormat.get' Step into: Stepping over non-user code 'System.Globalization.CultureInfo.DateTimeFormat.get' Step into: Stepping over non-user code 'System.Globalization.CultureInfo.NumberFormat.get' Step into: Stepping over non-user code 'System.Globalization.DateTimeFormatInfo.UniversalSortableDateTimePattern.get' Step into: Stepping over non-user code 'System.Globalization.DateTimeFormatInfo.UniversalSortableDateTimePattern.get' Step into: Stepping over non-user code 'System.DateTime.ToString' Step into: Stepping over non-user code 'System.Globalization.CultureInfo.CultureInfo' Step into: Stepping over non-user code 'System.Globalization.CultureInfo.CultureInfo' Step into: Stepping over non-user code 'System.Globalization.CultureInfo.CultureInfo' Step into: Stepping over non-user code 'System.Globalization.CultureInfo.CultureInfo' Step into: Stepping over non-user code 'System.Globalization.CultureInfo.CultureInfo' Step into: Stepping over non-user code 'System.Globalization.CultureInfo.CultureInfo' ***Step into: Stepping over non-user code 'System.IndexOutOfRangeException.IndexOutOfRangeException' Step into: Stepping over non-user code 'System.Globalization.NumberFormatInfo.NumberFormatInfo' Step into: Stepping over non-user code 'System.Globalization.CultureInfo.NumberFormat.get' Step into: Stepping over non-user code 'System.Globalization.CultureInfo.DateTimeFormat.get' Step into: Stepping over non-user code 'System.Globalization.CultureInfo.NumberFormat.get' Step into: Stepping over non-user code 'System.Globalization.NumberFormatInfo.NumberFormatInfo' Step into: Stepping over non-user code 'System.GC.WaitForPendingFinalizers' Step into: Stepping over non-user code 'System.Globalization.NumberFormatInfo.NumberFormatInfo' ***Step into: Stepping over non-user code 'System.IndexOutOfRangeException.IndexOutOfRangeException' Step into: Stepping over non-user code 'System.Math.Max' Step into: Stepping over non-user code 'System.Math.Max' ***Step into: Stepping over non-user code 'System.IndexOutOfRangeException.IndexOutOfRangeException' Step into: Stepping over non-user code 'System.Globalization.CultureInfo.CultureInfo' Step into: Stepping over non-user code 'System.Globalization.CultureInfo.CultureInfo' Step into: Stepping over non-user code 'System.Globalization.CultureInfo.CultureInfo' Step into: Stepping over non-user code 'char.ToString' Step into: Stepping over non-user code 'char.ToString' Step into: Stepping over non-user code 'System.DateTime.ToString' CONCERN: Refer to *** exception output above.

"An error has occurred. Please check your hardware"

31 August 2011 - 05:49 AM

Background: In a mild panic, converting a C# Express NetduinoPlus project from 4.1.0.6 to 4.2 RC1..... I had to remove the 4.1.0.6 reference DLL's from the project and replace the equivalent 4.2 RC1 versions of the same thing. I got carried away and forgot to write down which ones SHOULD have put back in, and before I knew it I had added almost everything. Symptoms: 1. on Starting debug I get the message window popup with "There were deployment errors. Continue Y/N" 2. The Debug\Output Window shows : Incrementally deploying assemblies to device Deploying assemblies for a total size of 185780 bytes <<<< This is a bit big for Netduino> Assemblies not successfully deployed to device. Deployment to the device was not successful. Solution: I found I went crazy and added too many reference Dll's and once I had removed them it deployed again just fine! Recommendation (nice to have): If possible is there a way for the error to be changed to "Insufficient Space for download" or similar, or do a check against target capacity and show this in a popup error.

4.2 RC1 predefined type ... is defined in multiple assemblies

30 August 2011 - 10:55 PM

On upgrading from 4.1 NETMF to 4.2 RC1 I get the following warning The predefined type 'System.Runtime.CompilerServices.ExtensionAttribute' is defined in multiple assemblies in the global alias; using definition from 'c:\Program Files\Microsoft .NET Micro Framework\v4.2\Assemblies\le\mscorlib.dll' prj_NetduinoPlus I have loaded the following references: <ItemGroup> <Reference Include="MFDpwsClient" /> <Reference Include="MFDpwsDevice" /> <Reference Include="MFDpwsExtensions" /> <Reference Include="Microsoft.SPOT.Hardware" /> <Reference Include="Microsoft.SPOT.Hardware.SerialPort" /> <Reference Include="Microsoft.SPOT.Hardware.Usb" /> <Reference Include="Microsoft.SPOT.IO" /> <Reference Include="Microsoft.SPOT.Native" /> <Reference Include="Microsoft.SPOT.Net" /> <Reference Include="Microsoft.SPOT.Time" /> <Reference Include="SecretLabs.NETMF.Diagnostics, Version=4.2.0.0, Culture=neutral, processorArchitecture=MSIL" /> <Reference Include="SecretLabs.NETMF.Hardware, Version=4.2.0.0, Culture=neutral, processorArchitecture=MSIL" /> <Reference Include="SecretLabs.NETMF.Hardware.Netduino, Version=4.2.0.0, Culture=neutral, processorArchitecture=MSIL" /> <Reference Include="SecretLabs.NETMF.Hardware.NetduinoPlus, Version=4.2.0.0, Culture=neutral, processorArchitecture=MSIL" /> <Reference Include="SecretLabs.NETMF.IO, Version=4.2.0.0, Culture=neutral, processorArchitecture=MSIL" /> <Reference Include="System" /> <Reference Include="System.Ftp" /> <Reference Include="System.Http" /> <Reference Include="System.IO" /> <Reference Include="System.Xml" /> </ItemGroup> What is interesting is that I added 'mscorlib' in teh IDE (saved teh project etc) and opened the *.csproj file to get the above snapshot of references, but it shows no record with 'mscorlib'!, yet all others are present! Is this expected?

NetduinoPLus - Hitting GPIO limitations

01 August 2011 - 01:01 AM

Hi List, I'm trying top do a project that uses the following features: - Web Host (OK) - Serial (OK) - keypad 3x4 matrix (OK) - SD card, (OK) - Keypad Buzzer (OK) - External Keypad / Mode LED (NO ROOM!!!!) Already the NetduinoPlus is fully utilized (as per pin assignments below). Are there plans to do a Netduino with capability of the Arduino Mega? This would be really powerful. My only alternate solution at present is to use an SPI I/O Expansion Thoughts Welcome? GPIO0 DRXD GPIO1 DTXD GPIO2 KBD INPUT GPIO3 KBD INPUT GPIO4 SPI1_NPCS0 GPIO5 KBD INPUT GPIO6 KBD INPUT GPIO7 BUZZER OUTPUT GPIO8 KBD OUTPUT GPIO9 KBD OUTPUT GPIO10 KBD OUTPUT GPIO11 SPI1_MOSI GPIO12 SPI1_MISO_RSV GPIO13 SPI1_SPCK

Unable to deploy without disconnect\reconnect USB cable

25 July 2011 - 11:40 PM

Hi List, Problem: I'm finding that I can not deploy and debug each time without disconnecting and reconnecting the USB cable to the NetduinoPlus RevB. I'm worried I'll wear out the USB socket! Besides that, it's damned annoying! and a total time waste. I'm using the following: C#.NET Express 2010 v4.0.30319 SP1 Rel .NET Micro Framework v4.1 01014-169-2560017-70953 Netduino Plus Rev.B Board Is anyone else experiencing this? I find that the project builds fine, and runs fine after a disconnect\reconnect Sometimes the Error window shows: An error has occurred: please check your hardware If I stop debugging - and program does not exit programatically, and then try and restart the debugger the output window only shows the following: (no errors are show) ===================================================================================== Incrementally deploying assemblies to device Deploying assemblies for a total size of 18652 bytes ===================================================================================== Below is the Output window when its working correctly: ===================================================================================== Rebooting... TinyCLR (Build 4.1.2821.0) Starting... Found debugger! Create TS. Loading start at 14d29c, end 162dd4 Attaching file. Assembly: mscorlib (4.1.2821.0) (3880 RAM - 33236 ROM - 19134 METADATA) Attaching file. Assembly: Microsoft.SPOT.Native (4.1.2821.0) (1144 RAM - 6516 ROM - 4479 METADATA) Attaching file. Assembly: Microsoft.SPOT.Hardware (4.1.2821.0) (1752 RAM - 11440 ROM - 7371 METADATA) Attaching file. Assembly: Microsoft.SPOT.Net (4.1.2821.0) (704 RAM - 5060 ROM - 2452 METADATA) Attaching file. Assembly: System (4.1.2821.0) (872 RAM - 5992 ROM - 3206 METADATA) Attaching file. Assembly: Microsoft.SPOT.IO (4.1.2821.0) (740 RAM - 4620 ROM - 2522 METADATA) Attaching file. Assembly: System.IO (4.1.2821.0) (1548 RAM - 13292 ROM - 5862 METADATA) Attaching file. Assembly: Microsoft.SPOT.Hardware.SerialPort (4.1.2821.0) (508 RAM - 3440 ROM - 1527 METADATA) Attaching file. Assembly: Microsoft.SPOT.Hardware.Usb (4.1.2821.0) (580 RAM - 3740 ROM - 1844 METADATA) Attaching file. Assembly: SecretLabs.NETMF.Hardware (4.1.0.0) (256 RAM - 1108 ROM - 491 METADATA) Attaching file. Assembly: SecretLabs.NETMF.Diagnostics (4.1.0.0) (180 RAM - 440 ROM - 166 METADATA) Loading Deployment Assemblies. Attaching deployed file. Assembly: SecretLabs.NETMF.Hardware.NetduinoPlus (4.1.0.0) (268 RAM - 816 ROM - 423 METADATA) Attaching deployed file. Assembly: SecretLabs.NETMF.Hardware.Netduino (4.1.0.0) (268 RAM - 796 ROM - 423 METADATA) Attaching deployed file. Assembly: Microsoft.SPOT.Graphics (4.1.2821.0) (388 RAM - 2268 ROM - 1357 METADATA) Attaching deployed file. Assembly: NetduinoPlusLibrary (1.0.0.0) (1532 RAM - 14768 ROM - 5198 METADATA) Resolving. Total: (12776 RAM - 107532 ROM - 56455 METADATA) Total: (12776 RAM - 107532 ROM - 56455 METADATA) The debugging target runtime is loading the application assemblies and starting execution. Ready. 'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.1\Assemblies\le\mscorlib.dll', Symbols loaded. 'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.1\Assemblies\le\Microsoft.SPOT.Native.dll', Symbols loaded. 'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.1\Assemblies\le\Microsoft.SPOT.Hardware.dll', Symbols loaded. 'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.1\Assemblies\le\Microsoft.SPOT.Net.dll', Symbols loaded. 'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.1\Assemblies\le\System.dll', Symbols loaded. 'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.1\Assemblies\le\Microsoft.SPOT.IO.dll', Symbols loaded. 'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.1\Assemblies\le\System.IO.dll', Symbols loaded. 'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.1\Assemblies\le\Microsoft.SPOT.Hardware.SerialPort.dll', Symbols loaded. 'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.1\Assemblies\le\Microsoft.SPOT.Hardware.Usb.dll', Symbols loaded. 'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files\Secret Labs\Netduino SDK\Assemblies\v4.1\le\SecretLabs.NETMF.Hardware.dll', Symbols loaded. 'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'SecretLabs.NETMF.Diagnostics' 'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files\Secret Labs\Netduino SDK\Assemblies\v4.1\le\SecretLabs.NETMF.Hardware.NetduinoPlus.dll', Symbols loaded. 'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files\Secret Labs\Netduino SDK\Assemblies\v4.1\le\SecretLabs.NETMF.Hardware.Netduino.dll', Symbols loaded. 'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files\Microsoft .NET Micro Framework\v4.1\Assemblies\le\Microsoft.SPOT.Graphics.dll', Symbols loaded. 'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'F:\NETDIONU.MASTER\Dev\NetdionoPlus_ALL\Blinking LED\bin\Debug\le\NetduinoPlusLibrary.exe', Symbols loaded. The thread '<No Name>' (0x2) has exited with code 0 (0x0). Gateway: 10.0.0.138, IP: 10.0.0.111, Mask: 255.255.255.0 =====================================================================================

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.