- Netduino Forums
- → Coding Smackdown's Content
Coding Smackdown's Content
There have been 72 items by Coding Smackdown (Search limited from 15-May 23)
#37389 OnInterrupt firing multiple times
Posted by Coding Smackdown on 18 October 2012 - 01:55 PM in Netduino 2 (and Netduino 1)
#35718 Netduino Plus Built in Sketch
Posted by Coding Smackdown on 21 September 2012 - 04:51 PM in General Discussion
#35503 Netduino Mini Firmware v4.2.0
Posted by Coding Smackdown on 18 September 2012 - 10:28 PM in Netduino Mini
Hi. I successfully updated my netduino, but I've tried twice now to update my mini following the directions, and everything seems to go fine, but at the end I have an unresponsive board. I'm using the 232 firmware and at the end of the process I can't ping it using mfdeploy ("No response from device"). I tried switching to TTL interface and giving it an escape command in a terminal and I also don't get a response. Is there something wrong with the 232 firmware image, or any suggestions on how I might troubleshoot a problem on my end?
Thanks,
MR
Yep, there is an issue with the 232 firmware. The ETA for an update should be coming up within the next day or two. For now, you'll have to use the TTL firmware.
Good Luck!
#20973 Netduino for beginners - Gentle introduction with basic electronic project
Posted by Coding Smackdown on 25 November 2011 - 03:52 PM in Project Showcase
Hello,
Thank you for the nice work.
I am a teatcher also, and I would like to know how did you do that nice Netduino Views to how the wiring connections? Do you use any CAD model or image you could share?
Thank you,
Igor.
You can get those nice breadboard images using a tool called Fritzing. Its a free tool that you can down load from http:// www.fritzing.org
It also gives you the ability to view the schematic and a PC Board of the circuit as well.
Cheers
Jim Lavin
#21010 NeonMika.Webserver
Posted by Coding Smackdown on 27 November 2011 - 03:51 AM in Project Showcase
#21028 NeonMika.Webserver
Posted by Coding Smackdown on 27 November 2011 - 04:52 PM in Project Showcase
#21023 NeonMika.Webserver
Posted by Coding Smackdown on 27 November 2011 - 03:36 PM in Project Showcase
Are you running in debug mode?
There you can check if incoming requests get ignored...
Probably you get a outofmemory-exception?
I sometimes had the problem that it just worked fine for a time and then it stopped receiving requests, i will look into that as soon as i have time
It mustbe something in the Server-class' Listening loop...
Probably you can find an error there (about 20 lines of code)...
Greets
Markus,
It is not throwing an exception of any kind, but I think you are right with it running out of resources. I was playing with the server listening loop and did make some changes and now it runs without issue. Let me spend some time comparing my changes to the original code and I'll post an issue to the codeplex page.
I also made some changes to the Handle Request method and changed from an array list to a hashtable to speed up request processing. I'll also post those changes as well.
Thanks,
Jim Lavin
#21105 NeonMika.Webserver
Posted by Coding Smackdown on 29 November 2011 - 01:29 PM in Project Showcase
#21174 NeonMika.Webserver
Posted by Coding Smackdown on 30 November 2011 - 05:29 PM in Project Showcase
#21049 NeonMika.Webserver
Posted by Coding Smackdown on 28 November 2011 - 01:04 AM in Project Showcase
#21104 NeonMika.Webserver
Posted by Coding Smackdown on 29 November 2011 - 01:22 PM in Project Showcase
#31097 Need Help with LCD Display Board
Posted by Coding Smackdown on 22 June 2012 - 06:07 PM in General Discussion
#37924 Multiple Threads v. While Loop
Posted by Coding Smackdown on 24 October 2012 - 02:23 PM in Netduino Plus 2 (and Netduino Plus 1)
#35717 Modbus-TCP library
Posted by Coding Smackdown on 21 September 2012 - 04:46 PM in Project Showcase
#34085 Mini Upgrade Woes
Posted by Coding Smackdown on 23 August 2012 - 05:35 AM in Netduino Mini
#35786 Mini Upgrade Woes
Posted by Coding Smackdown on 22 September 2012 - 05:31 AM in Netduino Mini
#21110 Lightweight JSON parser
Posted by Coding Smackdown on 29 November 2011 - 03:30 PM in Project Showcase
Thanks Fabien,
I figured system.Net was not the way to go and have been playing with the NetMF WebRequest instead.
The page I need to collect is a simple 4k xhtml - so I could write a very basic XML parser (the tags etc will be consistent)
system.XML is of course too big for the NetduinoPlus too - so I was hoping you had an example where you were using your JSON parser with a simple web request that worked on the Netduiino (I assumed that you already had this code)
Thanks for the reply - it was infact helpful and has pointed me in a new direction (did not consider using the SD for storage)
The clases in KloutKlock definitely open some new options - so I'll see how i get on and post back - thanks for the help
I've gone down the route your suggesting and even with a bare bones XML parser you'll be bouncing up against the memory constraints of the device. If you can get something even simpler to parse you'll be much better off.
Sometimes even though you love a device it may not be the right thing for the job and you may need to pick a device that has the capabilities you need. I originally wanted to use the Netduino Plus for a print agent that would pull XML from a service and dump it out to a receipt printer, but by the time I got web request and xml parsing coded I didn't have enough resources to do the IP based printing.
If you really want to use the device you may have to rethink how you'll get the data and process it in order to keep within the constraints of the device.
Regards,
Jim Lavin
#38801 Introducing Netduino Plus 2
Posted by Coding Smackdown on 08 November 2012 - 11:10 PM in Netduino Plus 2 (and Netduino Plus 1)
#37744 Internet Printing (IPP) from Netduino
Posted by Coding Smackdown on 22 October 2012 - 02:31 AM in General Discussion
#30230 Inductive sensor input problem
Posted by Coding Smackdown on 05 June 2012 - 01:09 PM in Netduino 2 (and Netduino 1)
#30252 Inductive sensor input problem
Posted by Coding Smackdown on 05 June 2012 - 07:36 PM in Netduino 2 (and Netduino 1)
#21278 How to set a static ip address?
Posted by Coding Smackdown on 03 December 2011 - 12:27 AM in Netduino Plus 2 (and Netduino Plus 1)
#35525 How to install (or upgrade to) .NET Micro Framework v4.2 SDK
Posted by Coding Smackdown on 19 September 2012 - 05:42 AM in General Discussion
#35514 How to install (or upgrade to) .NET Micro Framework v4.2 SDK
Posted by Coding Smackdown on 19 September 2012 - 01:11 AM in General Discussion
#35079 Homebrew fermentation temperature controller
Posted by Coding Smackdown on 12 September 2012 - 09:47 PM in General Discussion
- Netduino Forums
- → Coding Smackdown's Content
- Privacy Policy