CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

PIC18F4550+ENC28J60

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
bbassem



Joined: 29 Mar 2015
Posts: 1

View user's profile Send private message

PIC18F4550+ENC28J60
PostPosted: Sun Mar 29, 2015 8:25 am     Reply with quote

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).
jgschmidt



Joined: 03 Dec 2008
Posts: 184
Location: Gresham, OR USA

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Tue Mar 31, 2015 10:42 am     Reply with quote

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
asmallri



Joined: 12 Aug 2004
Posts: 1634
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

Re: PIC18F4550+ENC28J60
PostPosted: Wed Apr 01, 2015 7:45 pm     Reply with quote

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!!
bkamen



Joined: 07 Jan 2004
Posts: 1611
Location: Central Illinois, USA

View user's profile Send private message

Re: PIC18F4550+ENC28J60
PostPosted: Thu Apr 02, 2015 8:35 am     Reply with quote

[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
ezflyr



Joined: 25 Oct 2010
Posts: 1019
Location: Tewksbury, MA

View user's profile Send private message

Re: PIC18F4550+ENC28J60
PostPosted: Thu Apr 02, 2015 8:42 am     Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group