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.

Jim Davies's Content

There have been 48 items by Jim Davies (Search limited from 07-June 23)


By content type

See this member's


Sort by                Order  

#7203 Firmware WIsh List

Posted by Jim Davies on 07 January 2011 - 01:18 PM in Netduino Plus 2 (and Netduino Plus 1)

Port scans are not always appreciated in established networks either.

A HTTP HEAD might be better suited btw.


Agreed. I was thinking small network / one-off scan.



#7195 Firmware WIsh List

Posted by Jim Davies on 07 January 2011 - 11:21 AM in Netduino Plus 2 (and Netduino Plus 1)

Ummm... How do you get to the web page?


Sorry - too much Czech lager.

+1 from me for:

Ship it with 192.168.1.50 and allow the user to go to a web page at that address and change it to whatever they want if necessary. Many devices work this way now.


I had the same problem, and found an alternative simple-minded approach that works well for me (ahem):

Scan the local range 192.168.?.? using a short-timeout HTTP GET, and have the server respond with a 200 for some request string, e.g.

http://192.168.?.?/xyzconnect

Get the PC's local IP (e.g. mine's currently 192.168.11.6) and first scan the range 192.168.11.0 - 192.168.11.255. If that doesn't work, scan all the addresses 192.168.?.?.

This works fine here, and quick using the above with a timeout of 100 ms or less.

Of course this approach requires a PC app to do the work, but I think you could also do it in Javascript on the user's browser. Wouldn't this cover most situations with a router or whatever providing local DHCP?

FWIW,
Jim



#7128 Firmware WIsh List

Posted by Jim Davies on 06 January 2011 - 08:44 AM in Netduino Plus 2 (and Netduino Plus 1)

Hi phantomtypist,

You said:

how is the consumer going to find out the IP address of the device if the device's only user interface is a web page it hosts?

Why not just display the device's current IP address on the web page - I guess I'm missing something?

Jim



#6894 Suggestions, guidance,help

Posted by Jim Davies on 03 January 2011 - 09:49 AM in General Discussion

Mark - But maybe Frank wants other people to see the value - so different Sessions? Frank - How's GS #3 ?? Jim



#6834 Suggestions, guidance,help

Posted by Jim Davies on 02 January 2011 - 04:08 PM in General Discussion

Hi Frank, I guess you could also implement a web server in your N+ using an HttpListener, and then use an HTML <iframe> on your main web site to show the value(s). Jim



#6793 Suggestions, guidance,help

Posted by Jim Davies on 01 January 2011 - 06:48 PM in General Discussion

Happy New Netduino Year, Frank! You may find that you need a server on the web site, storing values in a file or database. You would ideally do an HTTP POST to the site with your new value(s), a process running there would store away the value(s), and visitors can then view present and/or past values on web pages setup for that purpose (which retrieve the value(s) from file or database). It's not quite as simple as you were imagining - however there are one or two sites that might make it easier, e.g. www.pachube.com, if you haven't come across it? Best, Jim



#6657 Ethernet - MFDeploy Ping query

Posted by Jim Davies on 29 December 2010 - 05:38 PM in Netduino Plus 2 (and Netduino Plus 1)

I'm pleased to say I'm having better luck now.

I managed to re-deploy 4.1.0.5 and now MFDeploy and VS2010 are behaving correctly with the board. I'm still not 100% sure what was happening - the main symptoms were:

  • MFDeploy 'Erase' hanging on 'Rebooting'.
  • MFDeploy 'Deploy' hanging on 'Executing application'.
  • VS2010 unable to restart the device when deploying.
Perhaps I'll get back to the Ethernet prob now!

Jim



#6647 Ethernet - MFDeploy Ping query

Posted by Jim Davies on 29 December 2010 - 04:07 PM in Netduino Plus 2 (and Netduino Plus 1)

Ah, thanks CW2 - I get it now. Some of the SAM-BA descriptions don't mention about the USB disappearing and the new COM port popping up!

I haven't erased yet. I'm just trying one more time to deploy NetduinoPlusFirmware_v4.1.1.0_ALPHA_A3 again. It starts OK, with 2 'Signature PASS' - but then hangs on 'Executing application...'. I'm going to leave it for a few minutes and see what happens. (Still there 35 minutes later - killing it now.)

I guess the TinyBooter is OK - should I erase or try something else, I wonder?

I don't have a clear picture of the different layers involved in this.

Jim



#6643 Ethernet - MFDeploy Ping query

Posted by Jim Davies on 29 December 2010 - 02:45 PM in Netduino Plus 2 (and Netduino Plus 1)

Many thanks for your replies, Chris and Illishar. I'm afraid things got worse - nothing to do with Ethernet now. I stupidly tried to install other Alpha/Beta versions of the 'plus' firmware to see if it made a difference (to the Ethernet issues). Unfortunately the netduino plus is now at least half-bricked and I can't even Erase in MFDeploy. It gets as far as 'Rebooting', but then hangs. I've also got a netduino here which is fine on the same machine. And this netduino plus was fine at first. MFDeploy shows the device name OK (I set the 2 boards to different USB names). I've tried keeping the button down while connecting the board (the blue LED stays on) - if I do a Ping or Erase, both hang with no visible output in MFDeploy. I'm looking at the drastic SAM-BA option, but neither SAM-BA 2.1 nor SAM-BA v2.10_cdc offer USB on the initial connection dropdown - only 'com2', 'com3' and 'com4'. I have an old album called 'Unhalfbricking' by the group Fairport Convention - maybe I can do something with that? Help please. Jim



#6282 Netduino Plus Firmware v4.1.1 ALPHA 3

Posted by Jim Davies on 20 December 2010 - 04:10 PM in Netduino Plus 2 (and Netduino Plus 1)

My MFDeploy is getting stuck on "Executing application" - any advice please? Ta, Jim



#6279 Ethernet - MFDeploy Ping query

Posted by Jim Davies on 20 December 2010 - 02:39 PM in Netduino Plus 2 (and Netduino Plus 1)

Thanks Illishar. I'm currently having to plug/unplug the ethernet and plug/unplug the USB in a fairly frequent and usually random fashion! Jim



#6277 Ethernet - MFDeploy Ping query

Posted by Jim Davies on 20 December 2010 - 11:22 AM in Netduino Plus 2 (and Netduino Plus 1)

I'm getting the following:

  • Often unable to deploy from VS2010 when ethernet is connected to the board.
  • Often unable to use MFDeploy when ethernet is connected to the board.
  • DHCP sometimes doesn't work.
Question - I notice that if I have ethernet connected when I connect the board and then run MFDeploy and do a 'Ping', I get:

Pinging... TinyCLR

whereas if the ethernet is not connected, I get:

Pinging... TinyBooter
Bootloader build info: Netduino Plus by Secret Labs LLC

Is this expected behaviour please? (device capabilities listed below)

Jim


Pinging... TinyBooter
Bootloader build info: Netduino Plus by Secret Labs LLC
HalSystemInfo.halVersion: 4.1.2821.0
HalSystemInfo.halVendorInfo: Netduino Plus by Secret Labs LLC
HalSystemInfo.oemCode: 34
HalSystemInfo.modelCode: 177
HalSystemInfo.skuCode: 4097
HalSystemInfo.moduleSerialNumber: 00000000000000000000000000000000
HalSystemInfo.systemSerialNumber: 0000000000000000
ClrInfo.clrVersion: 4.1.2821.0
ClrInfo.clrVendorInfo: Netduino Plus by Secret Labs LLC
ClrInfo.targetFrameworkVersion: 4.1.2821.0
SolutionReleaseInfo.solutionVersion: 4.1.0.5
SolutionReleaseInfo.solutionVendorInfo: Netduino Plus by Secret Labs LLC
SoftwareVersion.BuildDate: Nov 7 2010
SoftwareVersion.CompilerVersion: 400771
FloatingPoint: True
SourceLevelDebugging: True
ThreadCreateEx: True
LCD.Width: 0
LCD.Height: 0
LCD.BitsPerPixel: 0
AppDomains: True
ExceptionFilters: True
IncrementalDeployment: True
SoftReboot: True
Profiling: False
ProfilingAllocations: False
ProfilingCalls: False
IsUnknown: False



#6276 Save Custom Settings

Posted by Jim Davies on 20 December 2010 - 09:24 AM in General Discussion

+1 for Option 3 please.



#6215 Netduino Iambic Morse Code Keyer

Posted by Jim Davies on 18 December 2010 - 06:23 PM in Project Showcase

Nice - thanks for posting it. No replies - not many Morse Code users out there, I guess! When I was an active 'G8', I used 'phone' myself - one day I'll get back to amateur radio... Jim



#6209 Netduino Plus - First impressions from a beginner

Posted by Jim Davies on 18 December 2010 - 10:59 AM in Netduino Plus 2 (and Netduino Plus 1)

Thanks Bill - maybe I will... (after clearing some snow, making coffee, and maybe other stuff!) Jim



#6208 USB Interface – Need High Speed Device Support

Posted by Jim Davies on 18 December 2010 - 10:56 AM in General Discussion

No, please don't apologize for anything - I just wanted to check 'where you are'. I hope some people can give you pointers, and I'm sure they would be of general interest and help to strengthen the netduino's portfolio of applications. Best, Jim



#6162 Netduino Plus - First impressions from a beginner

Posted by Jim Davies on 16 December 2010 - 08:07 PM in Netduino Plus 2 (and Netduino Plus 1)

Thanks Bill. Er, what can I do with it? Jim



#6161 USB Interface – Need High Speed Device Support

Posted by Jim Davies on 16 December 2010 - 08:05 PM in General Discussion

Dear Protobuilder, I wonder if this is a data acquisition device, e.g. a fast ADC? You want to connect your device to a PC program, but I'm not sure you're in the right place. Normally manufacturers of USB DAQ boards and similar devices supply their own specialised USB drivers and libraries for popular PC programming languages, and the USB device would be connected directly to the PC. Examples include Data Translation (www.datx.com), IOtech (www.iotech.com), Measurement Computing etc. Could you some more about your device / application please? Regards, Jim



#6154 Netduino Plus - First impressions from a beginner

Posted by Jim Davies on 16 December 2010 - 03:42 PM in Netduino Plus 2 (and Netduino Plus 1)

Yes, what is the "multi color barcode paper" for???

Jim



#6152 Two applicable articles

Posted by Jim Davies on 16 December 2010 - 03:37 PM in General Discussion

Interesting articles - Thanks Frank! Jim



#6085 Special Netduino Pluses on sale.

Posted by Jim Davies on 14 December 2010 - 06:10 PM in Netduino Plus 2 (and Netduino Plus 1)

WannaFly:

Check out This upcoming book

Jim



#5971 net micro framework porting questions

Posted by Jim Davies on 10 December 2010 - 01:11 PM in General Discussion

+1 on the colour scheme point!



#5969 Pyxis 2.0

Posted by Jim Davies on 10 December 2010 - 12:02 PM in General Discussion

Wow - makes the old blinking LEDs look a bit tame!

Thanks Jonny.

windowsuino ???

I guess this would run fine on a GHI EMX Dev Board ?




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.