cassyarduino wrote:cassyarduino wrote:The ethercard's readme.md say:"Hardware: Non-AVR boards are NOT currently supported (101/Zero/Due) #211"
The UIPEthernet supports: DHCP,DNS,UDP,TCP,ARP,ICMP.
My modified UIPEthernet supported more MCUs:AVR arduinos, STM32F MCU-s, ESP8266 MCU.
I already tested (modified UIPEthernet) on arduino nano, and maple mini (STM32F103CBT),
i will wiring ESP8266 with ENC28j60, and i will test it. (You can compile UIPEthernet to ESP8266 now, but i not tested yet on this hardware.)
I tested the hardware and software on ESP8266.
Direct connecting between ESP-07, and ENC28j60 module doesn't working.
On ESP8266 the SPI SS/CS pin shared with boot configuration pin GPIO15.
For booting from SPI flash the GPIO15 must pull down to GND.
The ENC28j60 SS/CS pin pulled up to 3,3V.
I will try two BS170 FET as open collector line driver, or bus driver IC.
The UIPEthernet software doesn't working properly if can't communicate with ethernet device(ENC28j60).
The ESP8266 multitasking enviroment is not easy too (watchdog resets).
I will add error detection, and bypass algoritmus to the code.
Use a different pin on ESP8266 for CS, not GPIO15. Generally any pin can be used as cable select.