Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

RE: [lpc2000] TCP/IP over USB

RE: [lpc2000] TCP/IP over USB

2006-01-12 by Paul Curtis

The best solution for this is EEM.  However, there arre no class drivers
for this on Windows and Apple say they'll write class drivers when EEM
devices start to arrive.  Chicken and egg.  EEM is an absolutely great
idea, but unfortunately it's just not here.  :-(

I haven't written a CDC ECM yet, and looking at the specification it
looks pretty nasty.  I'll probably give it a go at some point.

--
Paul Curtis, Rowley Associates Ltd  http://www.rowley.co.uk
CrossWorks for MSP430, ARM, AVR and now MAXQ processors
Show quoted textHide quoted text
> -----Original Message-----
> From: Jan Szymanski [mailto:janek@...] 
> Sent: 12 January 2006 22:01
> To: lpc2000@yahoogroups.com
> Subject: [lpc2000] TCP/IP over USB
> 
> Has anyone investigated TCP/IP over USB?
> I need to implement an webserver on LPC2148 based datalogger and was 
> thinking of using usb as one of the options, so any hints 
> will help and 
> save time.
> 
> Jan
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
>

TCP/IP over USB

2006-01-12 by Jan Szymanski

Has anyone investigated TCP/IP over USB?
I need to implement an webserver on LPC2148 based datalogger and was 
thinking of using usb as one of the options, so any hints will help and 
save time.

Jan

TCP/IP over USB

2006-01-12 by Jan Szymanski

Has anyone investigated or implemented TCP/IP over USB?
I need an embedded web server on LPC2148 based datalogger and was 
thinking of TCP/IP over USB as one of the options.
Any comments or hints will be helpful.

Jan

Re: [lpc2000] TCP/IP over USB

2006-01-12 by David Hawkins

Jan Szymanski wrote:
> Has anyone investigated TCP/IP over USB?
> I need to implement an webserver on LPC2148 based datalogger and was 
> thinking of using usb as one of the options, so any hints will help and 
> save time.

An around-about way is to get a serial connection over
USB, and get that recognized correctly by the host OS,
eg. Win or Linux. Then setup SLIP to run over the serial
connection. Then run LwIP on the micro with its TCP/IP
stack taught to understand SLIP.

However, if you're going to connect it to a host via
USB, then you might want to consider just running the
web server on the host, and using a serial protocol to
get the data from the logger.

Dave

RE: [lpc2000] TCP/IP over USB

2006-01-12 by Joel Winarske

> Has anyone investigated or implemented TCP/IP over USB?
> I need an embedded web server on LPC2148 based datalogger and was
> thinking of TCP/IP over USB as one of the options.
> Any comments or hints will be helpful.

Yes.  I started an RNDIS driver prior to purchasing a USB hardware analyzer.
I have it enumerating and showing up as a windows network interface,
although I haven't worked on it since.  I'm currently using CDC ACM serial
emulation.  The plan is to convert to RNDIS. 

The RNDIS model is currently supported by Win32, Linux, and Mac OS X.  EEM
currently has no support on Mac OS X, and Apple has no current plans for
implementation.  The RNDIS model has decent documentation available from MS
for download.  RNDIS is pretty straight forward.


Joel

Re: [lpc2000] TCP/IP over USB

2006-01-13 by Sean

You could always use serial, if you don't need high bandwidth.  I don't 
think you will be able to serve data faster than 12KB/sec off the device 
anyway, so serial should work just fine.  If you need a bit more speed, you 
can get a USB/RS232 adapter that can handle 230kbit, then you'll have 
23KB/sec.  I'm sure you can find a pile of PPP+TCP/IP based stacks that can 
easily be put onto an LPC.

At 05:05 PM 1/12/2006, you wrote:
Show quoted textHide quoted text
>Has anyone investigated or implemented TCP/IP over USB?
>I need an embedded web server on LPC2148 based datalogger and was
>thinking of TCP/IP over USB as one of the options.
>Any comments or hints will be helpful.
>
>Jan

Re: TCP/IP over USB

2006-01-13 by Jan Szymanski

Thanks to everyone, who responded.
Doing a search I have found 
http://www.asix.com.tw/FrootAttach/datasheet/Ax88172.pdf 
and a driver http://www.asix.com.tw/download.php 
Not exactly, what I'm after, but it proves, it's possible to do.

Jan

--- In lpc2000@yahoogroups.com, Sean <embeddedrelated@w...> wrote:
>
> 
> You could always use serial, if you don't need high bandwidth.  I 
don't 
> think you will be able to serve data faster than 12KB/sec off the 
device 
> anyway, so serial should work just fine.  If you need a bit more 
speed, you 
> can get a USB/RS232 adapter that can handle 230kbit, then you'll 
have 
> 23KB/sec.  I'm sure you can find a pile of PPP+TCP/IP based stacks 
that can 
Show quoted textHide quoted text
> easily be put onto an LPC.
> 
> At 05:05 PM 1/12/2006, you wrote:
> >Has anyone investigated or implemented TCP/IP over USB?
> >I need an embedded web server on LPC2148 based datalogger and was
> >thinking of TCP/IP over USB as one of the options.
> >Any comments or hints will be helpful.
> >
> >Jan
>

Re: [lpc2000] Re: TCP/IP over USB

2006-01-13 by Micron Engineering

Jan Szymanski ha scritto:

>Thanks to everyone, who responded.
>Doing a search I have found 
>http://www.asix.com.tw/FrootAttach/datasheet/Ax88172.pdf 
>and a driver http://www.asix.com.tw/download.php 
>Not exactly, what I'm after, but it proves, it's possible to do.
>
>Jan
>  
>
It is just an ethernet MAC with usb interface replacing a more normally 
a memory/pci bus interface.
I also think that you need to learn about RNDIS protocol.
Massimo Manca, Micron Engineering

>--- In lpc2000@yahoogroups.com, Sean <embeddedrelated@w...> wrote:
>  
>
>>You could always use serial, if you don't need high bandwidth.  I 
>>    
>>
>don't 
>  
>
>>think you will be able to serve data faster than 12KB/sec off the 
>>    
>>
>device 
>  
>
>>anyway, so serial should work just fine.  If you need a bit more 
>>    
>>
>speed, you 
>  
>
>>can get a USB/RS232 adapter that can handle 230kbit, then you'll 
>>    
>>
>have 
>  
>
>>23KB/sec.  I'm sure you can find a pile of PPP+TCP/IP based stacks 
>>    
>>
>that can 
>  
>
>>easily be put onto an LPC.
>>
>>At 05:05 PM 1/12/2006, you wrote:
>>    
>>
>>>Has anyone investigated or implemented TCP/IP over USB?
>>>I need an embedded web server on LPC2148 based datalogger and was
>>>thinking of TCP/IP over USB as one of the options.
>>>Any comments or hints will be helpful.
>>>
>>>Jan
>>>      
>>>
>
>
>
>
>
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
>
>
>  
>


  ----------

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.16/225 - Release Date: 09/01/2006


[Non-text portions of this message have been removed]

Re: [lpc2000] Re: TCP/IP over USB

2006-01-13 by FabioDB

Micron Engineering ha scritto:

> It is just an ethernet MAC with usb interface replacing a more normally 
> a memory/pci bus interface.
> I also think that you need to learn about RNDIS protocol.
> Massimo Manca, Micron Engineering


If you don't need a physical access on ethernet or other networks,
usually ppp protocol il used over serial connections (RS232, USB).
You can try an embedded ppp stack (something like ethernut or others).

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.