Experimental Drivers for Wiznet-based Ethernet Shields
#61
Posted 09 October 2010 - 05:08 PM
#62
Posted 10 October 2010 - 09:32 AM
updated the code. I found I was not doing the bind/listen/accept cycle correctly. Not sure I have it right yet, I still can't connect more than once. Hope someone could tell me where I am going wrong.
Great stuff!! Now it works!
#63
Posted 10 October 2010 - 10:28 AM
Great stuff!! Now it works!
Probably not the way to do it, but I got it to accept multiple connects by moving these 2 lines of code inside the while(true) loop in the Main()
Socket listenSocket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); listenSocket.Bind(ep);
So the listening socket gets created and bound every time it finished a connection
No I can connect as many times to the Netduino as I want.
#64
Posted 10 October 2010 - 11:36 AM
Probably not the way to do it, but I got it to accept multiple connects by moving these 2 lines of code inside the while(true) loop in the Main()
Socket listenSocket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); listenSocket.Bind(ep);
So the listening socket gets created and bound every time it finished a connection
No I can connect as many times to the Netduino as I want.
I would never have thought to do it that way. I am used to using sockets under WinSocks and you would not normally have to recreate the socket to get a new connection. It looks to me like it is not dropping the connection when I close the socket. Your solution causes the socket to be desposed and that may explain why it works.
#65
Posted 26 November 2010 - 04:53 AM
Updated drivers are attached to the first post in this thread.
[Please note that TCP server ports can only serve one client at a time. If anyone has been successful getting the Wiznet shield to support multiple simultaneous clients per port, please let us know as we would love to support that scenario.]
DNS support is not yet implemented, but you should be able to use the MFToolkit to resolve hostnames to DNS addresses.
Although these drivers are experimental, they are approaching release quality. If you experience any issues with them, please let us know so that we can tweak and refine...
Enjoy!
Chris
P.S. Everyone please join us in saying "thank you" to klotz for his contribution, laying the groundwork for the Wiznet TCP server functionality... We also used klotz's test app extensively during development.
#66
Posted 09 January 2011 - 11:01 PM
#67
Posted 09 January 2011 - 11:29 PM
The experimental drivers are attached to the first post of this thread.
If you're using the Arduino Ethernet shield with the ICSP pins, be sure to solder a 6-pin header onto the ICSP area of the Netduino.
We'll enable simultaneous use of the SD card and Ethernet in the v4.1.1 beta firmware. Right now, you can use both (if you bridge the CS pin of the SD card to D10)--but not at the same time.
Chris
#68
Posted 10 January 2011 - 07:44 PM
#69
Posted 13 January 2011 - 12:26 AM
#70
Posted 13 January 2011 - 02:51 AM
#71
Posted 13 January 2011 - 08:50 AM
#72
Posted 29 March 2011 - 05:17 PM
#73
Posted 12 July 2011 - 10:06 PM
#74
Posted 13 July 2011 - 08:26 AM
Hi Eduardo,Hello, I do not understand electronics and I'm starting with the development of netduino, I wonder if someone could tell me how to connect the Arduino Ethernet Shield in netduino with this breadboard.
Actually you don't need a breadboard. You can just stack the ethernet shield on top of the Netduino. Perhaps this wiki page gives a nice example of what I mean: http://wiki.netduino...on-shields.ashx
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
#75
Posted 13 July 2011 - 01:02 PM
#76
Posted 13 July 2011 - 01:20 PM
Just put a breadboard next to your netduino and use jumper wires to connect things together.Hello Stefan, saving my life again, as you may have noticed I have asked questions in relation to RFID and LCD, if I connect the network card in netduino how I should connect the other components?
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
#77
Posted 30 July 2011 - 06:19 PM
#78
Posted 30 July 2011 - 08:06 PM
I believe that the experimental drivers are working pretty well. With the launch of the Netduino Plus, most users are using the integrated open source networking there...so these are here for the community.Hi is there any update to the wiznet code ? This thread is quite old and I wonder if there has been any progress.
BTW, welcome to the Netduino community!
Chris
#79
Posted 31 July 2011 - 05:15 PM
I believe that the experimental drivers are working pretty well. With the launch of the Netduino Plus, most users are using the integrated open source networking there...so these are here for the community.
Thanks for your welcome, I have a mini + wiznet system that I need to develop so unfortunately I need more fully implemented drivers [dhcp + wol] for my project and I was wondering if any progress was made before I begin re-inventing the wheel. Here is a picture of my project as it stands (IMAGE), As you can see I have a Wiznet Module and integrated PSU that I have used from an old arduino project that I built last year. I've just started with netduino so its all a bit new to me. I tried out a http server program found on this forum but it was throwing a socket exception, I really haven't spent much time deciphering the code yet so before I begin in ernest I thought I would check if there had been any improvements.
#80
Posted 31 July 2011 - 05:22 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users