I have a ND2P and want to move to VS2013 (currently using VS2010) MFv4.3. Reading through these posts I apparently need to update the firmware on the ND2P and install the MFv4.3 on my computer. I see the very first post here is a 'How To'. Is that post still accurate - I see that it is more than 2 years old?
- Netduino Forums
- → alharlow's Content
alharlow's Content
There have been 6 items by alharlow (Search limited from 30-March 23)
#65296 Netduino Plus 2 Firmware v4.3.1
Posted by alharlow on 04 July 2016 - 08:07 PM in Netduino Plus 2 (and Netduino Plus 1)
#64129 Stops writing to database
Posted by alharlow on 16 September 2015 - 03:48 AM in Netduino Plus 2 (and Netduino Plus 1)
I went to the site you provided and downloaded the code, swapped it in for my 'webrequest' class. Modified it slightly for my situation and ran it. It runs fine the first time through but on the second time around it hangs on the line after the debug.print("X4") line. Code shown below. This is a static class. Do the objects created within the class get recreated the second time through the code?
#64088 Stops writing to database
Posted by alharlow on 10 September 2015 - 11:52 PM in Netduino Plus 2 (and Netduino Plus 1)
I did the onboard LED thing. The LED stops blinking when it hangs (the LED stays on when it hangs).
Also used the debug.GC(true) call. The memory available stays around 94,448 so apparently its not a memory leak.
I added some additional debug.print statements and found that it's hanging on the dataStream = request.GetRequestStream(); in the DoThePost method. My understanding is that that statement is creating an object.
I have attache the code.
Help!
Attached Files
- TempRecorderCode.txt 7.1KB 17 downloads
#64054 Stops writing to database
Posted by alharlow on 09 September 2015 - 12:52 AM in Netduino Plus 2 (and Netduino Plus 1)
I have ND2+ reading a temperature sensor then calling a PHP web page on Apache using HTTP. The page writes the temp to a mySQL database. Works fine for maybe a day or two then just stops updating the database. I don't know how to tell if the ND2+ is still doing its thing or if it's hung. If I'm running it through the Visual Studio debugger I have a few debug.print statements that stop appearing like the ND2+ is hung.
Anyone have any ideas?
#63805 Post to HTTPS Rest URL
Posted by alharlow on 07 August 2015 - 01:30 AM in Netduino Plus 2 (and Netduino Plus 1)
I have some code very similar to this that repeatedly reads a temperature sensor and saves the value to a database. It has the 'keepalive' parameter set to 'true'. I assume this is so it can reuse the HTTP connection. Do you know if this is true? But each time the process reenters this routine it will reexecute the WebRequest.Create command and create a new object. Is this new object being used by the program to communicate with the HTTP object on the server that is still there because of the 'keepalive=true' parameter?
#63804 reg. Visual studio 2010
Posted by alharlow on 07 August 2015 - 01:10 AM in General Discussion
What's the difference between 'firmware' and the NETMF ?
- Netduino Forums
- → alharlow's Content
- Privacy Policy