Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] USB to RS232 adapter for Flash ISP Ultility downloads?

2005-12-08 by Rob Jansen

Joerg,

any USB-RS232 adapter will work, downloading only uses a standard UART 
protocol (115200 baud, 8 bits, no parity, 1 stop bit, no handshake). I 
have used two different USB-Serial adapters myself - no brand or product 
name detected on both of them ...

Some development board may use the modem control signals to reset the 
lpc and ty P0.14 low. The serial cable should support modem signals for 
this.

Only problem I have is that sending full speed 115200 baud serial data 
from LPC to my laptop may crash the driver of the USB cable.
Most likely a reinstall of my driver will be the solution for this.

Indeed, parallel port USB adapters won't work. The wiggler software 
needs direct access to I/O pins for this.
I tried something using the FT245 from FTDI but this results in very 
slow communications - the FT245 can bit-bang on high speed if only 
output or input is needed but when you have some input and some output 
signals you'll have to wait for the next USB packet to be sent (1 ms 
interval).

I am still working on my LPC2138/Ethernet based debugger pod - it should 
support RDI so that it can be used with gdb/insight and commercial tools 
like SDT/RealView.
(Are there still laptop without Ethernet interface ???)
Still having problems with single step/run though ... (need more input 
on the way TAP works and the exact connections to the E-ICE module).

Regards,

    Rob

Joerg Schulze-Clewing wrote:

> Hello,
>
> Downloading to boards such as Keil's MCB2103 via the Philips flash
> utility requires an RS232 port. However, most new laptops don't have
> one these days.
>
> In a post a while ago I read that one of the forum members (Varuzhan)
> did this but it wasn't with the newer LPC2103. So, is it likely that
> any USB-RS232 adapter could work or do I have to get a particular version?
>
> I am asking because this is a tough issue with other uC. For example,
> the JTAG interface for the MSP430 won't work with RS232-Parallel
> adapters even though some adapter vendors claim 100% compatibility.
>
> Regards, Joerg

Attachments

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.