Table of Contents
Installing the Ethernet driver
- If you have an ENC28J60 Ethernet Module, then the required SANA-II driver is
- If you have a W5500 Ethernet Module, then the required SANA-II driver is
- Download and install the latest SAGA Drivers.
- The installation script will copy the required SANA-II drivers (
vwiznet500ex.device) to DEVS:Networks/.
- The installation script will copy a test program named
- Configure the driver.
- The drivers support interrupt-driven receive timing. You can enable the interrupt-driven mode with the following CLI command sequence:
; IMPORTANT: Replace $driver below with either v2expeth or vwiznet500ex. makedir ENVARC:sana2 echo "TIMER=0 INTERRUPT PRI=6" >ENVARC:sana2/$driver.config
- Less commonly used configuration options are outlined in the README file that comes with the SDNet distribution.
- Please consult the manual of your chosen TCP/IP stack for how to add an Ethernet interface.
- Please make sure that the TCP/IP stack is inactive/offline before conducting the test.
- Please make sure that a LAN cable is connected from the module to an active Ethernet port (Switch, Router, …).
Testing the ENC28J60 module and driver
Open a CLI/Shell window and call
v2expethtest without further arguments.
The tool will first verify that communication to the module is possible via SPI and then test available speeds. Please note that the speed index 0 is expected to fail. That is normal. Depending on the installed Core speed you may or may not be able to run speed index 1 successfully (speed 1 should work on Core x11, may fail on Core x12 and above).
After the memory transfer test, the tool will send out valid DHCP requests. You should see at least one of the LEDs blink periodically. Typical home networks do have a DHCP server running. In that case it should answer the requests.
The tool quits automatically after about 1 minute and prints out a conclusion to the performed tests.
Testing the W5500 module and driver
Not yet available.