EmbeddedRelated.com
Forums

Suggestion on Ethernet implementation using RCM4000

Started by sath...@microview-tech.com January 8, 2007
Hi,
We r working on a project called icubec which is nothing but lighting controller.we have to use 10Base-T ethernet using RCM4000.So please anyone tell me which protocol we have to use for the ethernet as there is so many protocol like TCP,UDP,PPP,Telnet,FTP etc.I am confused which protocols to use for my application and plz tell me whether i can use sample code provided by Rabbit.Waiting for earlist response from the group.

Thanks & Regards
s.sathyamurthy
Your project doesn't have specs?

----- Original Message ----
From: "s...@microview-tech.com"
To: r...
Sent: Sunday, January 7, 2007 9:29:56 PM
Subject: [rabbit-semi] Suggestion on Ethernet implementation using RCM4000

Hi,

We r working on a project called icubec which is nothing but lighting controller.we have to use 10Base-T ethernet using RCM4000.So please anyone tell me which protocol we have to use for the ethernet as there is so many protocol like TCP,UDP,PPP, Telnet,FTP etc.I am confused which protocols to use for my application and plz tell me whether i can use sample code provided by Rabbit.Waiting for earlist response from the group.

Thanks & Regards

s.sathyamurthy

Get a book on TCP/IP and start researching. Since no-one else knows what your
lighting controller is supposed to do, not what the communications are for then
you are the best person to solve this problem.

Steve Trigero wrote:
> Your project doesn't have specs?
>
> ----- Original Message ----
> From: "s...@microview-tech.com"
> To: r...
> Sent: Sunday, January 7, 2007 9:29:56 PM
> Subject: [rabbit-semi] Suggestion on Ethernet implementation using RCM4000
>
> Hi,
> We r working on a project called icubec which is nothing but lighting
> controller.we have to use 10Base-T ethernet using RCM4000.So please
> anyone tell me which protocol we have to use for the ethernet as there
> is so many protocol like TCP,UDP,PPP, Telnet,FTP etc.I am confused which
> protocols to use for my application and plz tell me whether i can use
> sample code provided by Rabbit.Waiting for earlist response from the group.
>
> Thanks & Regards
> s.sathyamurthy
>
I built some LED matrix display screen controllers using RCM3300's
hung off a 100BaseT network. The RCM3300 sent data it got from the
Ethernet port via serial port to 10 PIC chips which actually did the
control of all the LED's, I used DC8.51 and the supplied TCP/IP
stack. On the host machine, an embedded WinXP device I used
Microsoft Foundation Class C along with the CSocket class and used
effectivly TCP to establise a two link via my own ports no's, in the
range above 34000.

Each RCM3300 slave device on the networks establish a link via its
own unique port no. to the PC server when it boots. From then on the
PC host and RCM slaves just had to use the socket send/recieve
commands to pass blocks of data to and from each other. In effect I
was using the TCP to give me an individual serial line to each slave
from the host. Except its a bit easier than that as the TCP sorts
out all the buffering and handshaking. You just have to wait until
there is space in the buffer to send more data or wait unitl there is
data to be read.

You can still use your local network for all your other standard
applications as the port no'.s should not clash if you use the
reserved range. You might have problems if you open your router up
to try and send your TCP connections via the internet, I don't know
if service providers block trafic in the reserved port ranges. I
would be interested to know if this works ok for other people who
have tried it ?

I started by looking at the simple sample progs such as ECHO.C and
just trying to get the PC to get back what it sent. I think I might
have succeed at first by just using Telnet on the PC and RCM setup on
port 23. I then wrote small test prog on PC to see I could make it
work via port 34000.

Neil

--- In r..., sathyamurthy@... wrote:
>
> Hi,
> We r working on a project called icubec which is nothing but
lighting controller.we have to use 10Base-T ethernet using RCM4000.So
please anyone tell me which protocol we have to use for the ethernet
as there is so many protocol like TCP,UDP,PPP,Telnet,FTP etc.I am
confused which protocols to use for my application and plz tell me
whether i can use sample code provided by Rabbit.Waiting for earlist
response from the group.
>
> Thanks & Regards
> s.sathyamurthy
>
Hi,
Thanks for your reply and i need to do like this in my project.Our project
is a lighting controller which consists of 32 segments LED lighthead.We have
used cypress microcontroller EZB fx2 which is a USB based.At present we can
vary the intensity ,pulsewidth and other parameters in GUI which is
reflected to LED through USB .But we need to change USB protocol to Ethernet
to do this function.So we are using RCM4000 which has inbuilt ethernet.So
plz tell me how to implement ethernet protocol for our application.Can we
use sample program provided by the rAbbit for this purpose.Plz send me some
sample code which is related to this application.

Thanks & regards
s.sathyamurthy
-----Original Message-----
From: r... [mailto:r...]On
Behalf Of neil2452
Sent: Monday, January 08, 2007 2:50 PM
To: r...
Subject: [rabbit-semi] Re: Suggestion on Ethernet implementation using
RCM4000
I built some LED matrix display screen controllers using RCM3300's
hung off a 100BaseT network. The RCM3300 sent data it got from the
Ethernet port via serial port to 10 PIC chips which actually did the
control of all the LED's, I used DC8.51 and the supplied TCP/IP
stack. On the host machine, an embedded WinXP device I used
Microsoft Foundation Class C along with the CSocket class and used
effectivly TCP to establise a two link via my own ports no's, in the
range above 34000.

Each RCM3300 slave device on the networks establish a link via its
own unique port no. to the PC server when it boots. From then on the
PC host and RCM slaves just had to use the socket send/recieve
commands to pass blocks of data to and from each other. In effect I
was using the TCP to give me an individual serial line to each slave
from the host. Except its a bit easier than that as the TCP sorts
out all the buffering and handshaking. You just have to wait until
there is space in the buffer to send more data or wait unitl there is
data to be read.

You can still use your local network for all your other standard
applications as the port no'.s should not clash if you use the
reserved range. You might have problems if you open your router up
to try and send your TCP connections via the internet, I don't know
if service providers block trafic in the reserved port ranges. I
would be interested to know if this works ok for other people who
have tried it ?

I started by looking at the simple sample progs such as ECHO.C and
just trying to get the PC to get back what it sent. I think I might
have succeed at first by just using Telnet on the PC and RCM setup on
port 23. I then wrote small test prog on PC to see I could make it
work via port 34000.

Neil

--- In r..., sathyamurthy@... wrote:
>
> Hi,
> We r working on a project called icubec which is nothing but
lighting controller.we have to use 10Base-T ethernet using RCM4000.So
please anyone tell me which protocol we have to use for the ethernet
as there is so many protocol like TCP,UDP,PPP,Telnet,FTP etc.I am
confused which protocols to use for my application and plz tell me
whether i can use sample code provided by Rabbit.Waiting for earlist
response from the group.
>
> Thanks & Regards
> s.sathyamurthy
>

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.410 / Virus Database: 268.16.7/620 - Release Date: 8/1/2007