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 or Internet prototyping board

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



Joined: 12 Sep 2006
Posts: 5

View user's profile Send private message

Ethernet or Internet prototyping board
PostPosted: Tue Sep 12, 2006 11:33 am     Reply with quote

Hi all,

I've some experience with microcontroller programming, but I'm usely programming software for the windows platform. I've done some CAN and I2C projects and now I want to build an embedded webserver which must have the ability to controll a machine connected to it via internet. I've some experience with TCP and HTTP but not very low level, so this will be all new for me. That's why I desided not to begin from scratch but insteat buy a prototyping board with examples. I was already interrested in the C compiler from CCS because I didn't liked the C18 compiler. I think the CCS compiler is a big improvement for the cost of it. But now my question. I found two prototyping board on the site of CCS, an ethernet board and an internet board. As far as I can see they both can be used for the perpose I want to use them for. What is the difference between them? What is your experience with these boards? And which one would you recommend me?

Thanks in advance,
Bas Wensveen
Mattr0



Joined: 27 Mar 2005
Posts: 30

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

PostPosted: Tue Sep 12, 2006 1:29 pm     Reply with quote

Well it depends on what you may need to operate your machine. If you do not need a modem then I would get the embedded ethernet kit. Also the ethernet kit also uses the new Microchip enc38j60 ehternet controller instead of the realtek. The ENC28j60 is a lot easier to use and for board layouts.

also if you are just starting with CCS C i would recommend getting a copy of 3.249 instead of version 4 it is alot more stable.

I hope this helps
asmallri



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

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

PostPosted: Tue Sep 12, 2006 7:52 pm     Reply with quote

The ENC28J60 is easy to connect to any PIC with an SPI port. You require a minimum of 4 connections between the PIC and the ENC. The ENC28J60 is VERY power hungry consuming around 200mA at 3.3 volts.

The Realtek RTL8019AS has a parallel interface with data, address and control lines. It takes a lot of i/o pins to interface to it. The Realtek contoller is very mature and is based on the NE2000 archhitecture. It draws about 5mA at 5 volts.

From a driver perspective, they require different drivers but are conceptually similar however the RealTek has been around for years and is both stable and well known.

From a throughput perspective, I have a high throoughput application that achieve a higher throughput on the ENC than on the RTL primarily due to the hassles of managing a bidirectional data bus with the PIC's I/O ports. However, if you add the typical upper layer stack overhead (no applicable in my very lean implementation) then the throughput difference would be minimal as the MHCP stack (and variants) has a lot of overhead which effectively minimizes the difference between the controller performance.

MCHP will soon be releasing (power hungry) PICs with the ENC embedded without requiring the SPI connection. If this is likley to be of future interest then you might consider going now to the ENC however, while architectually similar, the drivers are completely different as the SPI bus is gone and registers are remapped.
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
LJBass



Joined: 12 Sep 2006
Posts: 5

View user's profile Send private message

PostPosted: Wed Sep 13, 2006 2:21 pm     Reply with quote

Thanks for the reply's,

I'm now almost sure what to buy.
I'll follow your advice on using version 3.249 of the compiler.
But i still have some doubts about which board to take.
I think the ethernet board is the best choise, but then I saw this post:
https://www.ccsinfo.com/forum/viewtopic.php?t=27533&highlight=ethernet
Is this problem already resolved? I don't think it's a good idea to buy a unmodified product from CCS that doesn't even work properly.
Then I might better go for the internet board.

Actualy I'm having some doubts about the whole thing. Is its just the v4 compiler and ethernet board that doesn't work properly, or does CCS have more products that doesn't work properly? I want to be sure I buy something that is perfect for what I want to use it for.
What do you think I should do?

Thanks,
Bas Wensveen
Mattr0



Joined: 27 Mar 2005
Posts: 30

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

PostPosted: Wed Sep 13, 2006 3:04 pm     Reply with quote

The ethernet board should work just fine. The problem is the new version 4 comiler. Seeing it is a new major release it is very buggy (check out the v4 sticky at the top of the post). Both boards should preform just fine.
Darren Rook



Joined: 06 Sep 2003
Posts: 287
Location: Milwaukee, WI

View user's profile Send private message Send e-mail

PostPosted: Wed Sep 13, 2006 7:18 pm     Reply with quote

Does the Realtek part really only take 5mA? How does it get power to drive the PHY?
_________________
I came, I saw, I compiled.
asmallri



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

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

PostPosted: Wed Sep 13, 2006 7:26 pm     Reply with quote

Quote:
Does the Realtek part really only take 5mA? How does it get power to drive the PHY?


I have various PIC16F87x / PIC18F252 / PIC18F452 implementations with the Realtek. The PIC16Fs run at 20MHz and the 18Fs run at 40MHz. The total current consumtpion of alls these is around 35mA which includes driving LEDs and serial interfaces. Based on the current consumption of the similar circuits without the Realtek I estimate the Realtek to be drawing 5mA. Maybe I am way out and it draws 10mA but it is way below that of the ENC controller.
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
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