ntruchsess / arduino_uip

UIPEthernet: A plugin-replacement of the stock Arduino Ethernet library for ENC28J60 shields and breakout boards. Full support for persistent (streaming) TCP-connections and UDP (Client and Server each), ARP, ICMP, DHCP and DNS. Build around Adam Dunkels uIP Stack. Further developed version can be found on https://github.com/UIPEthernet/UIPEthernet
489 stars 212 forks source link

Arduino micro and enc28j60 doesn't work for me #190

Open AleksandarFilipov opened 6 years ago

AleksandarFilipov commented 6 years ago

Arduino Micro is simliar to ardunio Leonardo ethernet, that is; it has a spi breakout. I've found that there are diffrences when it comes to SPI_SC.

I thought that this excellent post would solve the issues i'm having http://microcontrollerelectronics.com/arduino-leonardo-and-spi-communications/

Please help me on how to proceed with this. Right no i'm so stuck.

Fascinating is that there are 0 traces of arduino micro and enc28j60 on the web. Alternatively everyone has it running and don't have any problems.....

ErencanErkarakas commented 5 years ago

enc28j60 server connection only 4 times while (true) { if (!client.connect(IPAddress(192, 168, 1, 111), 123)) { delay(100); Serial.println("not connection"); } else{ break; } } //action repeats this process only 4 times

AleksandarFilipov commented 5 years ago

I actually fixed this in uipethernet library, not sure how they are related. The fix can be found here: https://github.com/UIPEthernet/UIPEthernet/pull/40