Table of Contents
Installing the Ethernet driver
- Download and install the latest SAGA Drivers package.
- The installation script will copy the required SANA-II drivers to DEVS:Networks/.
- For the ENC28J60 Ethernet Module, the driver is
- For the on-board Ethernet of the Vampire Standalone, the driver is
- The installation script will copy a test program named
- Configure the driver.
- For the ENC28J60 Ethernet Module, you can enable the interrupt-driven mode with the following CLI command sequence:
makedir ENVARC:sana2 echo "TIMER=0 INTERRUPT PRI=6" >ENVARC:sana2/v2expeth.config
- Note: Less commonly used configuration options are outlined in the README file that comes with the SDNet & V2Expeth distribution.
- For the on-board Ethernet of the Vampire Standalone, you do not need to configure anything.
- 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 Vampire 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 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.