You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
follower 5e153c539e
A quick fix to enable things to work again. The bug occurred because the socket number supplied to the socket creation/activation routine was never correctly initialised. I had thought a call to 'socket' routine returned the socket number in the first parameter, but it turns out I was supposed to _supply_ the socket number. (I had misunderstood what was hidden behind the 'SOCKET' type definition.) Oddly enough it took nearly two months before this mistake caused something to stop working (seemingly)--it seems nonsensical values didn't always cause failure. TODO: Investigate this further? TODO: FIx properly to allow multiple sockets and tracking thereof.
17 years ago
..
src A quick fix to enable things to work again. The bug occurred because the socket number supplied to the socket creation/activation routine was never correctly initialised. I had thought a call to 'socket' routine returned the socket number in the first parameter, but it turns out I was supposed to _supply_ the socket number. (I had misunderstood what was hidden behind the 'SOCKET' type definition.) Oddly enough it took nearly two months before this mistake caused something to stop working (seemingly)--it seems nonsensical values didn't always cause failure. TODO: Investigate this further? TODO: FIx properly to allow multiple sockets and tracking thereof. 17 years ago
LICENSE.txt Add basic license and readme files. 17 years ago
README.txt Clarify the install instructions a little as to which files go where. 17 years ago

README.txt


WIZnet W5100 / WIZ810MJ Hardwired TCP/IP Ethernet Chip/Module Driver for Arduino
================================================================================

For more information see:

<http://code.rancidbacon.com/LearningAboutArduinoWIZ810MJ>

Based on the W5100 driver from WIZnet.


Installation and Building
-------------------------

Arduino will compile the library automatically if you put the correct
files in the library directory of the Arduino application.

If you are installing this library from SVN you should put the files
from 'src/lib/' in a directory named 'WIZ810MJ' and then put that
directory in the Arduino library directory.

For Arduino version 0010 the library directory location is:

<ARDUINO>/hardware/libraries/

For Ardino version 0009 the library directory location was:

<ARDUINO>/lib/targets/libraries/

If you want to compile the library manually you can use the following:

avr-gcc -mmcu=atmega168 -Wall -Os -fsigned-char -combine -c socket.c w5100.c -o wiz810mj.o

avr-strip --strip-debug --strip-unneeded -X -x *.o


From the original driver README
-------------------------------

(You're almost certainly not going to need this.)

+ How to Change the interface mode
Change the value of the __DEF_IINCHIP_BUS__ in the types.h file.