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

Send and receive data thru Eth w/ PIC16F

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



Joined: 31 Aug 2009
Posts: 6

View user's profile Send private message

Send and receive data thru Eth w/ PIC16F
PostPosted: Thu Dec 26, 2013 6:41 pm     Reply with quote

Hi, I bought a board with Ethernet RJ45 and ENC28J60 built in. Do you have any example software (with pic 16F) to send and receive data thru this board (SPI). Let’s suppose an Ethernet net ...lets example a PC sending data thru eth to a PIC. Depending of data sending, its turn on a LED...
temtronic



Joined: 01 Jul 2010
Posts: 9221
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Thu Dec 26, 2013 8:14 pm     Reply with quote

comment: Have you looked in the examples folder that CCS supplies? A fairly recent version of the compiler probably has a sample code there.

If not, try the 'code library' here,some one might have posted their efforts there.

hth
jay
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: Send and receive data thru Eth w/ PIC16F
PostPosted: Fri Dec 27, 2013 7:31 am     Reply with quote

Jasen wrote:
Hi, I bought a board with Ethernet RJ45 and ENC28J60 built in. Do you have any example software (with pic 16F) to send and receive data thru this board (SPI). Let’s suppose an Ethernet net ...lets example a PC sending data thru eth to a PIC. Depending of data sending, its turn on a LED...


Don't waste your time. A PIC16f series does not have the resources or memory structure to do anything useful with this controller and a top/ip stack.
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
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: Fri Dec 27, 2013 10:09 am     Reply with quote

If you have an Ethernet network communication requirement then look at the Wiznet 5100 boards out there. They handle the TCP/IP heavy lifting and you can talk to them via serial port. This allows you to connect anything with a serial port to a TCP/IP network and the Internet. The WIZ105SR and WIZ110SR boards are my favorites for this. They're available from most electronics suppliers.
_________________
Jürgen
www.jgscraft.com
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