|
|
View previous topic :: View next topic |
Author |
Message |
Guest
|
Ethernet........? |
Posted: Sat Apr 05, 2008 4:28 am |
|
|
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
|
|
Posted: Sat Apr 05, 2008 8:38 am |
|
|
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
|
|
Posted: Mon Apr 07, 2008 5:22 am |
|
|
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
|
where can these examples ? |
Posted: Thu Apr 07, 2011 6:07 am |
|
|
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.
[email protected] |
|
|
kmp65
Joined: 06 Apr 2011 Posts: 4
|
|
Posted: Thu Apr 07, 2011 6:24 am |
|
|
Normally found here:
C:\Program Files\PICC\Examples |
|
|
dyeatman
Joined: 06 Sep 2003 Posts: 1934 Location: Norman, OK
|
|
Posted: Thu Apr 07, 2011 9:50 am |
|
|
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
|
|
Posted: Thu Apr 07, 2011 10:13 am |
|
|
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
|
|
Posted: Thu Apr 07, 2011 10:17 am |
|
|
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. |
|
|
|
|
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
|