I had a look through the forums but I don't seem to be able to find any information regarding deploying via network, or running the application from SD.
What are our options for unattended upgrade in the field with a Netduino Plus? Do I need to hack on the bootloader (someone mentioned a bootloader with TCP support), or is there another direction I should be looking in?
Goals for this project:
* Update application via network (required).
* Update Netduino firmware via network (strongly recommended).
* Sending binary via some standard transport (strongly recommended).
Ideally I'd like all of this to work like a basic wireless router - embedded webpage, update firmware button, possibly ability to check the web for new firmware as a nicety.
Also it sure would be nice to be able to search the forum for "sd", but I can't figure out how to meet the minimum string length requirement for the search.
Starting points appreciated..
- Netduino Forums
- → Viewing Profile: Topics: ritchie
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.
Community Stats
- Group Members
- Active Posts 7
- Profile Views 4609
- Member Title New Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
0
Neutral
User Tools
Friends
ritchie hasn't added any friends yet.
Topics I've Started
Deploy over network / run from SD
09 January 2012 - 08:24 PM
Multicast on Netduino?
16 December 2011 - 07:43 PM
Hi, I'm trying to build a little networked sensor widget based around the Netduino Plus. If possible, I'd like to be a marginally good network citizen and keep my traffic to those clients who are interested, and multicasting seems a fair approach for this. So far I haven't had a lot of luck, however.
It appears as though NETMF supports setting up multicast group membership using a bunch of SetSocketOption() calls, something like the following:
However, when I try any of these I get a first chance exception of type 'System.Net.Sockets.SocketException' in Microsoft.SPOT.Net.dll.
Any suggestions on where to start prodding to get this working? Is this a problem with LwIP or the Netduino firmware, or somewhere else entirely? I assume multicast works at some level within NETMF, as DPWS depends on it. However DPWS as a package is too big to deploy to the Netduino, so I can't really check it it works there and I've just got the magic incantations wrong.
Thanks for considering!
It appears as though NETMF supports setting up multicast group membership using a bunch of SetSocketOption() calls, something like the following:
multicastSocket.SetSocketOption( SocketOptionLevel.IP, SocketOptionName.MulticastInterface, (int) 0 ); multicastSocket.SetSocketOption( SocketOptionLevel.IP, SocketOptionName.AddMembership, new byte[ ] { 224, 5, 6, 7 } ); multicastSocket.SetSocketOption( SocketOptionLevel.IP, SocketOptionName.MulticastTimeToLive, 2 );
However, when I try any of these I get a first chance exception of type 'System.Net.Sockets.SocketException' in Microsoft.SPOT.Net.dll.
Any suggestions on where to start prodding to get this working? Is this a problem with LwIP or the Netduino firmware, or somewhere else entirely? I assume multicast works at some level within NETMF, as DPWS depends on it. However DPWS as a package is too big to deploy to the Netduino, so I can't really check it it works there and I've just got the magic incantations wrong.
Thanks for considering!
- Netduino Forums
- → Viewing Profile: Topics: ritchie
- Privacy Policy