EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

LPC2378 - Ethernet

Started by DeV March 19, 2012
Hello all...i own a lpc2378-stk kit and want to communicate
via Ethernet...Since i am entirely new to communication so i request all
the pros to pls suggest me some sources (online books, articles, links
etc.) that can help me to clearly understand set this communication as a
beginner...thanks alot!


An Engineer's Guide to the LPC2100 Series

Hi Dev,

This is a huge area, Ethernet is not like RS232, you don't just squirt data
in at one end and get data out at the other, there is a lot of sw that needs
to be running.

The first thing you need to do is decide what protocols you wish to
communicate with, then you can build up a list of the required protocols you
need installed, ( it will be quite a bit larger ).

For example are you planning on using it on a private network with static IP
address, or do you need it to have a DHCP client to get an IP address at
startup.

I suggest learning about Networking from a more general forum first, decide
what protocols you need to implement, and then it's more appropriate to ask
on the LPC forum about specifics of implementing them.

Regards

Phil.

From: l... [mailto:l...] On Behalf Of
DeV
Sent: 19 March 2012 07:06
To: l...
Subject: [lpc2000] LPC2378 - Ethernet

Hello all...i own a lpc2378-stk kit and want to communicate
via Ethernet...Since i am entirely new to communication so i request all
the pros to pls suggest me some sources (online books, articles, links
etc.) that can help me to clearly understand set this communication as a
beginner...thanks alot!





Thanks Phil.. so kind of you to advise me again..I have actually developed
a temperature controller..The data needs to be transmitted over to a remote
place..Since, i have successfully completed RS232 communication so one
option was buying ready made RS232 to RS485 / Ethernet converters which are
very expensive...Since my kit also has Ethernet on board and additionally I
am very interested in learning about Ethernet so that is the reason why I
am checking on the basics..However, as advised by you, I am searching for
some forums and also some books and online material to give me an idea to
begin with..However, I shall contact you again on this forum when I need
your guidance..Thanks so much Phil for your constant support and guidance..
On Mon, Mar 19, 2012 at 12:28 PM, Phil Young wrote:

> **
> Hi Dev,
>
> This is a huge area, Ethernet is not like RS232, you don't just squirt data
> in at one end and get data out at the other, there is a lot of sw that
> needs
> to be running.
>
> The first thing you need to do is decide what protocols you wish to
> communicate with, then you can build up a list of the required protocols
> you
> need installed, ( it will be quite a bit larger ).
>
> For example are you planning on using it on a private network with static
> IP
> address, or do you need it to have a DHCP client to get an IP address at
> startup.
>
> I suggest learning about Networking from a more general forum first, decide
> what protocols you need to implement, and then it's more appropriate to ask
> on the LPC forum about specifics of implementing them.
>
> Regards
>
> Phil.
>
> From: l... [mailto:l...] On Behalf
> Of
> DeV
> Sent: 19 March 2012 07:06
> To: l...
> Subject: [lpc2000] LPC2378 - Ethernet
> Hello all...i own a lpc2378-stk kit and want to communicate
> via Ethernet...Since i am entirely new to communication so i request all
> the pros to pls suggest me some sources (online books, articles, links
> etc.) that can help me to clearly understand set this communication as a
> beginner...thanks alot!
>
>
>
>
>
>
>

--

Dev Sampat****

Cell (Oman): (+968) - 9304 8932****

Email: d...@gmail.com


Also Phil, Please advise me some other mode of communication (e.g. CAN, USB
etc) which will be suitable for me to learn as a beginner..Thanks again..
> Hi Dev,
>>
>> This is a huge area, Ethernet is not like RS232, you don't just squirt
>> data
>> in at one end and get data out at the other, there is a lot of sw that
>> needs
>> to be running.
>>
>> The first thing you need to do is decide what protocols you wish to
>> communicate with, then you can build up a list of the required protocols
>> you
>> need installed, ( it will be quite a bit larger ).
>>
>> For example are you planning on using it on a private network with static
>> IP
>> address, or do you need it to have a DHCP client to get an IP address at
>> startup.
>>
>> I suggest learning about Networking from a more general forum first,
>> decide
>> what protocols you need to implement, and then it's more appropriate to
>> ask
>> on the LPC forum about specifics of implementing them.
>>
>> Regards
>>
>> Phil.
>>
>> From: l... [mailto:l...] On Behalf
>> Of
>> DeV
>> Sent: 19 March 2012 07:06
>> To: l...
>> Subject: [lpc2000] LPC2378 - Ethernet
>> Hello all...i own a lpc2378-stk kit and want to communicate
>> via Ethernet...Since i am entirely new to communication so i request all
>> the pros to pls suggest me some sources (online books, articles, links
>> etc.) that can help me to clearly understand set this communication as a
>> beginner...thanks alot!
>>
>>
>>
>>
>>
>>
>> --
>
> Dev Sampat****
>
> Cell (Oman): (+968) - 9304 8932****
>
> Email: d...@gmail.com
--

Dev Sampat****

Cell (Oman): (+968) - 9304 8932****

Email: d...@gmail.com


On Mon, 2012-03-19 at 12:51 +0400, DeV wrote:
> Also Phil, Please advise me some other mode of communication (e.g. CAN, USB
> etc) which will be suitable for me to learn as a beginner..Thanks again..

I would start with the CAN bus out of the two you mentioned.
The USB connection is a bitch if you, like me !, do not know
a thing about it. I spend the whole weekend trying to figure
it out, got it working thanks to an app note from NXP for
the lpcxpresso lpc1343 I am using. Still have to get data
from one end to the other end and I'm looking for information.
The source code is there but I can not find the documentation
in it/for it as promised with "documented source code".
Also the source code for the m$ windoze application is a
secret which we are not allowed to have a look at :-(

CAN is more like the serial UART port and apart from a few
quirks much easier than USB.

So my advise is : start with CAN.

roelof

ps. I do know about jcwren and the chinese (?) person that lives
and eat's usb (sorry, can't remember your name)

Hello Roelof,

> ps. I do know about jcwren and the chinese (?) person that lives
> and eat's usb (sorry, can't remember your name)

Tsuneo ?
Xiafan ?

Best regards,

Martin

Il 19/03/2012 10.46, capiman26061973 ha scritto:
> Hello Roelof,
>
> > ps. I do know about jcwren and the chinese (?) person that lives
> > and eat's usb (sorry, can't remember your name)
>
> Tsuneo ?
> Xiafan ?
>
Tsuneo Chinzei :)

--

Ciao, Dario
--
Cyberdyne
On Mon, 2012-03-19 at 10:48 +0100, Dario Greggio wrote:
> > > ps. I do know about jcwren and the chinese (?) person that lives
> > > and eat's usb (sorry, can't remember your name)
> >
> > Tsuneo ?
> > Xiafan ?
>
> Tsuneo Chinzei :)

Yes, xiafan rings a bell :-)

roelof

> ...I have actually developed
> a temperature controller..The data needs to be transmitted over to a
remote
> place..Since, i have successfully completed RS232 communication so one
> option was buying ready made RS232 to RS485 / Ethernet converters

Obviously the key question is what are your bus types going to that
location,
and what the distances are. If this is some kind of local run, and less
than
a couple thousand feet, I'd suggest RS232. You can use RS485 equally well.

USB over large distance is a non-starter. Not going to work.

Enet will work, but you will have to learn the interface, structure, and
terminology.
No way around that. It is orders of magnitude more complex than USB,
RS-232, etc.

But for a very basic Enet system requiring only low performance,
you can get Enet software setup at a very basic level.

I would suggest uIP software, and/or getting:

"Embedded Ethernet and Internet Complete", Jan Axelson
Chris.

Thank u all for your help and support..I really appreciate all your
valuable guidance to a beginner like myself..Well, Martin, my present
concern is as a hobby project but I have an idea to commercialize it if
things work out well..anyways that is all later stages..commercialization
or no commercialization - my main concern is learning this communication
technology out of my interest! However, pls drop me yr personal email id
for any commercial requirements...also Roelof, I shall certainly check out
CAN as per your advise...but guys pls advise me of any other communication
channels too which can be suitable for us beginners to learn
easily...thanks again friends...



The 2024 Embedded Online Conference