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.
Photo

Memory, Power, or Code?


  • Please log in to reply
1 reply to this topic

#1 Dan W

Dan W

    New Member

  • Members
  • Pip
  • 5 posts

Posted 09 August 2011 - 05:40 AM

I got either a bug or error I can’t fix or find. I spent a week problem solving and I am ready to ask for assistance. I would normally post the program, but it has gotten too big at this point and I don’t think it is reproducible w/o my hardware. I am suspecting that because I don’t have any build errors and debugging just freezes rather than gives errors, it might be a hardware related issue. The Netduino is not powering anything other than a servo, two LED’s, ping distance sensor and LCD display. All the other devices such as the Traxis ESC, xbee, GPS, accelerometer, camera and 5.8 ghz transmitter are a shared ground but powered through separate switching and linear 3.3 v DC/DC regulators. The basic description of the issue is a Netduino plus receiving GPS on Com1 Then sending it back out Com2 to an xbee while also receiving data from the remote Arduino that is sending joystick values. The program will operate all of the functions with high reliability pretty quickly until it gets a good GPS lock then it will inexplicably lock up at random intervals. Press the reset button and it will run for a random amount of time (seconds to minutes) and then lock up again (GPS stays powered and sending while N+ is rebooting). If I have it connected to the PC and have the Debug / output window running I get no errors just the Netduino Plus freezing. The GPS continues to send data and the xbee shows connected. My guesses Memory issue (deploy size at 22411)? How would you check to see if it is an out of memory issue? Too much drain on the DC/DC 5.1 V Regulator? Again, how would you know and is this a possible symptom? Code error? Wouldn’t it give an error when Debugging and connected to PC? - I've checked for loops and places the program goes when it has a lock, but cant find any thing suspicious other than empty “try” “catch”es. Any guesses or thoughts would be appreciated. Dan W PS tried the new firmware and got deploy errors when deploying the "buggie" code " Link failure: some assembly references cannot be resolved!! Assembly: SecretLabs.NETMF.Hardware.NetduinoPlus (4.1.0.0) needs assembly 'Microsoft.SPOT.Hardware' (4.1.2821.0) Assembly: SecretLabs.NETMF.Hardware.NetduinoPlus (4.1.0.0) needs assembly 'mscorlib' (4.1.2821.0) Error: a3000000 " unloaded and redeployed w/ 4.1.2 and fixed it. What obvious error did I miss?

#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 09 August 2011 - 05:48 AM

Hi Dan, When you update the firmware to 4.2, you need to make two changes in your project: 1. In project properties, select ".NET Micro Framework 4.2" instead of 4.1. 2. If Visual Studio doesn't do it for you automatically when you do #1, remove the two SecretLabs.NETMF.* assemblies as references and add the ones in "\Program Files (x86)\Secret Labs\Netduino SDK\Assemblies\v4.2" Chris




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

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.