Ethernet

SwordfishUser.Ethernet History

Hide minor edits - Show changes to markup

Changed lines 19-22 from:

Some PIC microcontrollers have ethernet support built in. For example, the 18F97J60. The current Swordfish implementation does not support this device. However, the Microchip firmware is well designed at it should be a fairly trivial task to port the 18F97J60 physical layer "C" code. Like the ENC28J60.bas file, this would sit beneath the MAC.bas file and so no other changes to the library source code should be required.

NOTE: the Ethernet V2 library download below adds support for the internal MAC of the 18F97J60 and also the ENC424J600 10/100 ethernet controller

to:

Some PIC microcontrollers have ethernet support built in. For example, the 18F97J60. The current Swordfish implementation does not support this device*. However, the Microchip firmware is well designed at it should be a fairly trivial task to port the 18F97J60 physical layer "C" code. Like the ENC28J60.bas file, this would sit beneath the MAC.bas file and so no other changes to the library source code should be required.

  • NOTE: the Ethernet V2 library download adds support for the internal MAC of the 18F97J60 and also the ENC424J600 10/100 ethernet controller. See readme.txt in the zip file for details.
Changed lines 29-30 from:
to:

http://www.sfcompiler.co.uk/swordfish/images/download.gif Download Ethernet Library V2 (with 18F97J60 and ENC424J600 support)

Added lines 21-22:

NOTE: the Ethernet V2 library download below adds support for the internal MAC of the 18F97J60 and also the ENC424J600 10/100 ethernet controller

Added lines 29-30:
Added lines 118-134:

Usage Notes

To use this module with boards that have RESET pins that are not tied high, a modification should be made to ENC28J60.bas. It does not appear to set the RESET pin high. In the MACInit sub-routine (about line 1263, add the following code:

Output(ENC_RST_IO)
ENC_RST_IO = 1

And then define the RESET pin in your main application near where you set your CS pin option:

#option ENC28J60_RST = PORTC.0

Then things work much better.