Tagli
Member level 2
- Joined
- Mar 24, 2010
- Messages
- 45
- Helped
- 15
- Reputation
- 30
- Reaction score
- 8
- Trophy points
- 1,288
- Location
- Istanbul, Turkey
- Activity points
- 1,586
I want to access a PIC controlled device from the LAN, and I'm planning to use ENC28J60. Microchip provides a TCP/IP stack but I don't want to use it because of 2 reasons:
1) The only PIC programming language I know is the assembly language and Microchip TCP/IP stack is written for C.
2) I don't want an internet access. For an LAN - only access, TCP/IP stack will be waste of resources.
So, my questions are: Is it possible to implement a LAN communication by using only raw ethernet packages? Do routers (like an ADSL modem + router combo we use at home) require special protocols to accept a newly connected device? I mean, do routers accept a device which doesn't do anything to receive an IP address? Or can I just connect the device (PIC + ENC28J60) to the router and send data from computer to the device (and from device to computer) by using only MAC addresses?
1) The only PIC programming language I know is the assembly language and Microchip TCP/IP stack is written for C.
2) I don't want an internet access. For an LAN - only access, TCP/IP stack will be waste of resources.
So, my questions are: Is it possible to implement a LAN communication by using only raw ethernet packages? Do routers (like an ADSL modem + router combo we use at home) require special protocols to accept a newly connected device? I mean, do routers accept a device which doesn't do anything to receive an IP address? Or can I just connect the device (PIC + ENC28J60) to the router and send data from computer to the device (and from device to computer) by using only MAC addresses?