Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
vampire:vsa-v4:ethernet [2019/11/07 11:02]
muaddib
vampire:vsa-v4:ethernet [2019/11/08 00:12] (current)
muaddib
Line 6: Line 6:
   * Apollo Team is not responsible for any damage made to your card.   * Apollo Team is not responsible for any damage made to your card.
 </​callout>​ </​callout>​
- 
-===== Quickstart guide ===== 
  
 **1) Either get an ENC28J60 module like [[https://​www.ebay.com/​itm/​221921619405|this one]] or one of [[https://​www.ebay.com/​sch/​i.html?​_odkw=enc28j60&​_osacat=0&​_from=R40&​_trksid=p2045573.m570.l1313.TR0.TRC0.H0.Xenc28j60+3.3V.TRS2&​_nkw=enc28j60+3.3V&​_sacat=0|these ones]], or get a W5500 module like [[https://​www.ebay.com/​itm/​223447889511|this one]]. (Make sure it's 3.3V!)** **1) Either get an ENC28J60 module like [[https://​www.ebay.com/​itm/​221921619405|this one]] or one of [[https://​www.ebay.com/​sch/​i.html?​_odkw=enc28j60&​_osacat=0&​_from=R40&​_trksid=p2045573.m570.l1313.TR0.TRC0.H0.Xenc28j60+3.3V.TRS2&​_nkw=enc28j60+3.3V&​_sacat=0|these ones]], or get a W5500 module like [[https://​www.ebay.com/​itm/​223447889511|this one]]. (Make sure it's 3.3V!)**
Line 17: Line 15:
 {{ ::​p22.jpg?​direct&​400 |}} {{ ::​p22.jpg?​direct&​400 |}}
  
-**4) Download ​and install latest [[saga:​updates|SAGA Drivers]].** +**4) Install ​and configure ​the network ​driver ​by following the instructions ​on [[:system_tools:​ethernet|this page]].**
-  * For the ENC28J60 module, ​the required SANA-II ​driver ​is ''​v2expeth.device''​. +
-  * For the W5500 module, the required SANA-II driver is ''​vwiznet500ex.device''​. +
-  * The installation script will copy these drivers to DEVS:​Networks/​.  +
-  * The installation script will copy a test program named ''​v2expethtest''​ to C:. +
- +
-**5) Configure the driver.** +
- +
-  * ''​v2expeth.device''​ and ''​vwiznet500ex.device''​ support interrupt-driven receive timing. You can enable the interrupt-driven mode with the following ​CLI command sequence: +
- +
-  makedir ENVARC:​sana2 +
-  echo "​TIMER=0 INTERRUPT PRI=6" >​ENVARC:​sana2/​$driver.config ​ ; Replace $driver with either v2expeth or vwiznet500ex. +
- +
-  * Less commonly used configuration options are outlined in the README file that comes with the SDNet distribution. +
- +
-**6) Enjoy your Ethernet device!** +
-  * Please consult the manual of your chosen TCP/IP stack for how to add an Ethernet interface. +
- +
----- +
- +
-===== Testing ===== +
- +
-  * 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 ==== +
- +
-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. +
- +
-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. +
- +
-===== Additional information ===== +
- +
-The full distribution of SDNet and V2Expeth can be downloaded here: [[http://​bax.comlab.uni-rostock.de/​fileadmin/​downloads/​SDNet-1.95.lha|SDNet-1.95.lha]]. In that archive you can find the drivers, documentation and test programs. Source code included.+
  
 ---- ----
Last modified: le 2019/11/08 00:12