- Netduino Forums
- → Viewing Profile: Topics: erich
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.
About Me
I am freelance developer of UK original living France, mostly standard windows/internet DotNet stuff. Due to a client requirement , I am expanding into the new territory of Micro tech. Client is still undecided on final platform but I am quite into Netduino Plus. Lots of good stuff like expansion, Ethernet and SPI
Community Stats
- Group Members
- Active Posts 21
- Profile Views 7388
- Member Title Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
-
Location
France
-
Interests
C#, VB.NET, Javascript.
Taxi service for my kids
0
Neutral
User Tools
Friends
erich hasn't added any friends yet.
Topics I've Started
What should I do?
04 October 2011 - 02:15 PM
I have been working a project which basically has to be all things to all men - Serial Comms, lots of I/O, Internet access, SD card. We started off with a standard Arduino and Ethernet shield, but this did not have the "buffered" UART - useful Serial comms. We looked at a Chipkit Max32, but whilst it is advertised with Ethernet it requires a second shield the Arduino Ethernet does not work). We also tried out a PIC development board (but I am not an electronic engineer and that made my head hurt too much) We then looked at the Netduino Plus- on the face of it, it has everything - great price, buffered UART - Ethernet, SD Card, plenty of I/O, and it uses - NET MF, as we have lot of .Net code already - we thought we were in business.
The prototype was built and I started coding. This is when it started to fall apart - to use my mother's express it was like trying to squeeze a quart into a pint pot (too much into too small a space). I would get parts of it going on their own, merge it together and it would stop working sometimes with obvious memory related errors - sometimes it would just die. It has become very frustrating.
So to my question - what should I do?
1. Are there tricks I can use to make the use of memory very efficient so I can use Netduino?
2. Go back to one of the other platforms - if so which one?
3. Try a new platform - which one?
4. Go for a bespoke solution rather than off the shelf components?
Over ambitious ???
21 September 2011 - 08:45 AM
Hi,
I have a N+ on to which I am deploying a 19K application. It is flashed with RC 4.2 This uses the standard assembies plus Secretlabs.NetMF.IO assembly. It drives a LCD via SPI, a small webserver based on threaded sockets, and an SD card for data storage. I am getting memory allocation errors. "Failed allocation for 343 blocks 4416 bytes. A first chance exception of type System.Exception occurred".
My question is: am I being over ambitious with N+?
Secondly should I use static or dynamic classes? I have been experimenting with dynamic classes, hoping that the garbage collector will help me out.
Post Reflash RC4.2
20 September 2011 - 10:21 AM
Hi,
I have just upgraded to RC 4.2 and .NET MF 4.2 beta. Just tried rebuilding/deploying Blinky to check everything's working. The build works fine but there a link dependancies on the Assemblies between Secretlabs.NETMF.Hardware.* and Microsoft.Spot.Hardware and mscorlib. Is there an upgrade to the Secretlabs assemblies I am missing?
Thanks
Eric
Update: Tried changing Target framework to 4.1 result is unable to deploy mscorlib or satellite assemblies so back to 4.2 where I get a link failure: Assembles references can't be resolved
Update: Folowed this thread http://forums.netdui...k-v42-sdk-beta/ - I needed the beta SDK which was n't mentioned on another thread for the upgrade. It is a shame that website - does not have all the possible downloads on the downloads page and the hardware page does not have all the hardware - where is the N+ on the hardware page????????
Update: Depending on what you are doing secretlabs.netmf.io will also be useful http://forums.netdui...mfiodll-please/
Slow death
14 September 2011 - 12:31 PM
Hi,
I am using a N+ to do a variety of tasks (including a threaded process using sockets). Watching the debugger after a while it slows down and grinds to a halt with no exceptions.
I have tried using Debug.EnableGCMessages(true)-
at start - bytes used 30888 available 20088,
when it stops bytes used 31872, available 19104
I am using build 4.1.0.6 N+
regards
Eric
Deploying Microsoft.SPOT.TinyCore
05 September 2011 - 01:19 PM
I have just been trying to use the Microsoft.SPOT.TinyCore Assembly. I can build my project but the deployment just hangs. Remove the assembly and it deploys. Any ideas?
A follow-up thought: Are there some MF assemblies that don't work with Netduinos?
Thanks
Eric
- Netduino Forums
- → Viewing Profile: Topics: erich
- Privacy Policy