Ethernet module
Hi all
Does anyone have a working example for using the ethernet module? I am having a lot of troubles..
Best Regards
Hi there,
We're seeing an issue here as well with Ethernet.begin on some Industruino 1286 boards with Wiznet W5500 ethernet modules.
We've got three units. One unit works perfectly, one hangs at Ethernet.begin consistently and one worked a couple of times but otherwise hangs at Ethernet.begin. We've tried powercycling the Ethernet modules but that doesn't help.
So we suspect either an intermittent software timing/config issue on startup or the hardware issue with the Ethernet module circuitry being close to design tolerance in some way -- so some units are just inside tolerance and others just outside tolerance.
Could a schematic for the Ethernet module be shared?
Damon.
Looking at the schematic, it seems that the Fujitsu FRAM chip select line is floating when it should be (by software or hardware) driven high -- in theory this means it could be interfering with the W5500 as they share the spi bus. We're seeing the W5500 MISO line not responding even though a scope shows MOSI being driven by the Industruino example code. We've tried driving FRAM CS high but that hasn't helped -- unless we've already corrupted some state inside the W5500..
We've ended up tracking our issues down to a couple of faulty solder joints on the topboards! Resoldered and all is working again now. (FRAM CS line control comment above still applies though..)
I have used the example of EthernetIndustruino, the emon example is very complete, and works out of the box with an account in emoncms.com
On the other way, almost every program designed to work with the Ethernet library works.
This example for implementing a web server, works:
http://inaciojr9.blogspot.com.es/2012/07/arduino-como-webserver-utilizando.html
Have a nice day!
Tried the emon example as mentioned in the reply. The code is blocked at the Setup function line "if (Ethernet.begin(mac) == 0)". The program cannot continue. If I remove this line, the code can continue and come to loop. Could there be the hardware problem? Or development tool problem? I am using 1.6.5 and Mac OS 10.11.1.
Your answer
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
Keep Informed
About This Forum
This community is for professionals and enthusiasts of our products and services.
Read GuidelinesQuestion tools
Stats
Asked: 1/18/16, 12:27 PM |
Seen: 3316 times |
Last updated: 3/25/16, 4:01 PM |
Further to this, the schematic is published here. https://static.industruino.com/downloads/schematics/IndustruinoEthernet.pdf