View previous topic :: View next topic |
Author |
Message |
bbassem
Joined: 29 Mar 2015 Posts: 1
|
PIC18F4550+ENC28J60 |
Posted: Sun Mar 29, 2015 8:25 am |
|
|
Hi, I'm working in web server project using PIC 18f4550 + ENC28j60. I found 2 examples. I tested them to know the working principle of the TCP / IP stack, but it doesn't work. I've looked for a solution from many forums but I didn't found any solution. Can anyone help me please.
(Sorry for my bad english). |
|
![](templates/subSilver/images/spacer.gif) |
jgschmidt
Joined: 03 Dec 2008 Posts: 184 Location: Gresham, OR USA
|
|
Posted: Tue Mar 31, 2015 10:42 am |
|
|
I recommend you perform searches for TCP/IP and for ENC28J60 in this forum. This issue has been discussed here many times. _________________ Jürgen
www.jgscraft.com |
|
![](templates/subSilver/images/spacer.gif) |
asmallri
Joined: 12 Aug 2004 Posts: 1634 Location: Perth, Australia
|
Re: PIC18F4550+ENC28J60 |
Posted: Wed Apr 01, 2015 7:45 pm |
|
|
bbassem wrote: | Hi, I'm working in web server project using PIC 18f4550 + ENC28j60. I found 2 examples. I tested them to know the working principle of the TCP / IP stack, but it doesn't work. I've looked for a solution from many forums but I didn't found any solution. Can anyone help me please.
(Sorry for my bad english). |
This is not a very good combination. The ENC28J60 is a basic Etherent controller. It does not implement any higher layer networking functions like IP, UDP, TCP and everything else that rides on top of this. When using this Ethernet controller the PIC has to implement the TCP/IP stack and your application.
The PIC18F4550 has only 32K of program memory and only 2K of RAM. You will struggle to implement any useful Web application on it. That is the reason Microchip's PIC18F97J60 family of micro controllers with embedded Ethernet controllers have significantly more program memory and RAM. _________________ Regards, Andrew
http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!! |
|
![](templates/subSilver/images/spacer.gif) |
bkamen
Joined: 07 Jan 2004 Posts: 1611 Location: Central Illinois, USA
|
Re: PIC18F4550+ENC28J60 |
Posted: Thu Apr 02, 2015 8:35 am |
|
|
[quote="asmallri"] bbassem wrote: |
The PIC18F4550 has only 32K of program memory and only 2K of RAM. You will struggle to implement any useful Web application on it. That is the reason Microchip's PIC18F97J60 family of micro controllers with embedded Ethernet controllers have significantly more program memory and RAM. |
Not to mention an 8K buffer exclusive to the Ethernet MAC.
So in addition to their 4K of general purpose RAM, they have 8K of RAM hiding in the MAC to handle buffering transmit and receiver packets.
however, the ENC28j60 also has an ethernet buffer. (but it needs to be pushed around over the SPI port. Slooooooowwww)
I would also say to stick to the PIC18F ethernet pics. You can do more with them. _________________ Dazed and confused? I don't think so. Just "plain lost" will do. :D |
|
![](templates/subSilver/images/spacer.gif) |
ezflyr
Joined: 25 Oct 2010 Posts: 1019 Location: Tewksbury, MA
|
Re: PIC18F4550+ENC28J60 |
Posted: Thu Apr 02, 2015 8:42 am |
|
|
bbassem wrote: | I've looked for a solution from many forums but I didn't found any solution. Can anyone help me please. |
Also, I'd be willing to bet that this request has nothing whatsoever to do with CCS C!
John |
|
![](templates/subSilver/images/spacer.gif) |
|