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 CCS Technical Support

Ethernet........?

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








Ethernet........?
PostPosted: Sat Apr 05, 2008 4:28 am     Reply with quote

Hi,
I need help in Ethernet connection. I have easyPic 5 board along with its ethernet board having ENC28J60 IC and i connected it to network (LAN).
if someone can post me an example of CCS code in which i can connect to a remote computer and exchange data with it.... it will be very helpful.

Best regards,
Sohail
Ttelmah
Guest







PostPosted: Sat Apr 05, 2008 8:38 am     Reply with quote

Have you looked at the examples?.
ex_email.c, shows how to send a simple email.
ex_websv.c, gives a limited demo, of the PIC providing a web page, and updating an ADC value on this page.
ex_st_udp.c, shows using a UDP connection to talk between two boards.

Best Wishes
mike
Guest







PostPosted: Mon Apr 07, 2008 5:22 am     Reply with quote

But if somebody can give me a simple example of ethernet connectivity using enc28j60 driver.
It will be really helpful
because
i am not able to make connection of my hardware with ethernet.
i dont know where i need to mention the ip address and mac address and subnet mask of hardware connected to ethernet.

I need to ping it first

so if any body have a ping or simple example using enc28j60 driver.

PLZ help......
klebaum



Joined: 01 Oct 2010
Posts: 5
Location: Brazil

View user's profile Send private message Visit poster's website

where can these examples ?
PostPosted: Thu Apr 07, 2011 6:07 am     Reply with quote

Ttelmah wrote:
Have you looked at the examples?.
ex_email.c, shows how to send a simple email.
ex_websv.c, gives a limited demo, of the PIC providing a web page, and updating an ADC value on this page.
ex_st_udp.c, shows using a UDP connection to talk between two boards.

Best Wishes


Hello, where can these examples? The example of e-mail until I got in my directory, but the other two not, and they are exactly what I need. If it was not too much to ask, what would it be possible to send me by e-mail these examples.

Thanks.

kleber.xgames@gmail.com
kmp65



Joined: 06 Apr 2011
Posts: 4

View user's profile Send private message

PostPosted: Thu Apr 07, 2011 6:24 am     Reply with quote

Normally found here:

C:\Program Files\PICC\Examples
dyeatman



Joined: 06 Sep 2003
Posts: 1934
Location: Norman, OK

View user's profile Send private message

PostPosted: Thu Apr 07, 2011 9:50 am     Reply with quote

Quote:
Ttelmah wrote:
Have you looked at the examples?.
ex_email.c, shows how to send a simple email.
ex_websv.c, gives a limited demo, of the PIC providing a web page, and updating an ADC value on this page.
ex_st_udp.c, shows using a UDP connection to talk between two boards.

Best Wishes


Hello, where can these examples? The example of e-mail until I got in my directory, but the other two not, and they are exactly what I need. If it was not too much to ask, what would it be possible to send me by e-mail these examples.


The first two can be found in the PICC/examples directory and the last one is found in the TCP-IP Examples directory.

If you do not have these you will have to upgrade your compiler. When you download your upgrade, get the TCP-IP examples from the same download page.

We are not allowed to send them to you. That is specifically prohibited by CCS as a violation of their copyright.
_________________
Google and Forum Search are some of your best tools!!!!
klebaum



Joined: 01 Oct 2010
Posts: 5
Location: Brazil

View user's profile Send private message Visit poster's website

PostPosted: Thu Apr 07, 2011 10:13 am     Reply with quote

kmp65 wrote:
Normally found here:

C:\Program Files\PICC\Examples


Normally yes, but not in this folder or any folder the files of the compiler "ex_websv.c"and "ex_st_udp.c", the version of my compiler is 4.093.
Need to implement a communication between two PIC microcontrollers, through the ethernet, so using the integrated circuit ENC28J60.
Again, who can send me two sample files eses would be grateful.
Thanks.
klebaum



Joined: 01 Oct 2010
Posts: 5
Location: Brazil

View user's profile Send private message Visit poster's website

PostPosted: Thu Apr 07, 2011 10:17 am     Reply with quote

dyeatman wrote:
Quote:
Ttelmah wrote:
Have you looked at the examples?.
ex_email.c, shows how to send a simple email.
ex_websv.c, gives a limited demo, of the PIC providing a web page, and updating an ADC value on this page.
ex_st_udp.c, shows using a UDP connection to talk between two boards.

Best Wishes


Hello, where can these examples? The example of e-mail until I got in my directory, but the other two not, and they are exactly what I need. If it was not too much to ask, what would it be possible to send me by e-mail these examples.


The first two can be found in the PICC/examples directory and the last one is found in the TCP-IP Examples directory.

If you do not have these you will have to upgrade your compiler. When you download your upgrade, get the TCP-IP examples from the same download page.

We are not allowed to send them to you. That is specifically prohibited by CCS as a violation of their copyright.


Thanks for clarifying, then all forms will have to provide the upgrade to compile.
Thanks to everyone who helped.
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