EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

Virtual com port bootloader on Olime LPC2148 board?

Started by lpcarmed November 7, 2006
I wonder how to use the Olimex LPC2148 board - it only has USB
connector and no RS232. A virtual com port based bootloader would be
nice. I'm not considering JTAG.

An Engineer's Guide to the LPC2100 Series


To:
Sent: Tuesday, November 07, 2006 10:03 PM
Subject: [lpc2000] Virtual com port bootloader on Olime LPC2148 board?
> I wonder how to use the Olimex LPC2148 board - it only has USB
> connector and no RS232. A virtual com port based bootloader would be
> nice. I'm not considering JTAG.
>

If you connect this board to PC via USB, WinXP has default driver for serial
port.
For others like win98, linux you will have to install driver for serial
port.

Warm Regards,
Mukund Deshmukh,
Beta Computronics Pvt Ltd,
10/1 IT Park, Nagpur.
Cell 9422113746
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

lpcarmed wrote:
> I wonder how to use the Olimex LPC2148 board - it only has USB
> connector and no RS232. A virtual com port based bootloader would be
> nice. I'm not considering JTAG.

You mean the LPC2148 *header* board?

I'm working on an USB virtual COM port myself, but I have never
heard/read anything about doing ISP over a USB virtual COM port
for the LPC2148. It is possible by using a custom bootloader that
uses vendor specific USB requests but you still need to put the
bootloader on the chip initially using other means (JTAG / serial
port).

I suppose you can get to the regular serial lines through the
big connector on the underside.

Have you contacted Olimex?

Regards,
Bertrik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFUiUiETD6mlrWxPURAu3fAKCccm+dJW67fbIcKvoVWgLL+gwROACguh69
EQ7i/FvOTWh20jM3c7TyiLY=qRMJ
-----END PGP SIGNATURE-----
7:50:31 AM, Wednesday, November 8, 2006, Mukund wrote:

>> I wonder how to use the Olimex LPC2148 board - it only has USB
>> connector and no RS232. A virtual com port based bootloader would be
>> nice. I'm not considering JTAG.
> If you connect this board to PC via USB, WinXP has default driver for serial
> port.

Where can be found description of this default driver for USB->serial
port? Is it present in all versions of XP (SPx, updates, etc)?

> For others like win98, linux you will have to install driver for serial
> port.

For W2000?

WBR, Alex
Windows 2000 and all modern versions of Linux have built in support for
virtual com ports (the USB spec calls it the CDC class - they show up in
some linxues as /dev/ACM...)

For all versions of Windows, however, if you are making your own virtual
COM device (i.e. not using one that Windows already knows about in it's
driver database) you will need to supply a properly created .INF file.

*Brian

Brian Schmalz // Sr. Embedded Systems Engineer

LOGIC product development
411 Washington Ave. N. Suite 400
Minneapolis, MN 55401
T // 612.436.5134
F // 612.672.9489

b...@logicpd.com
www.logicpd.com

/ / / / / / / / / / / / / / / / / / / / / / / / / / / /

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and is
protected by law. If you are not the intended recipient, you should
delete this message and are hereby notified that any disclosure,
copying, or distribution of this message, or the taking of any action
based on it, is strictly prohibited.

-----Original Message-----
From: l... [mailto:l...] On Behalf
Of Alexey Bishletov
Sent: Thursday, November 09, 2006 12:03 AM
To: Mukund Deshmukh
Subject: Re[2]: [lpc2000] Virtual com port bootloader on Olime LPC2148
board?

7:50:31 AM, Wednesday, November 8, 2006, Mukund wrote:

>> I wonder how to use the Olimex LPC2148 board - it only has USB
>> connector and no RS232. A virtual com port based bootloader would be
>> nice. I'm not considering JTAG.
> If you connect this board to PC via USB, WinXP has default driver for
serial
> port.

Where can be found description of this default driver for USB->serial
port? Is it present in all versions of XP (SPx, updates, etc)?

> For others like win98, linux you will have to install driver for
serial
> port.

For W2000?

WBR, Alex

Yahoo! Groups Links
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mukund Deshmukh wrote:
> > To:
> > Sent:
> Tuesday, November 07, 2006 10:03 PM Subject: [lpc2000] Virtual com
> port bootloader on Olime LPC2148 board?
>
>> I wonder how to use the Olimex LPC2148 board - it only has USB
>> connector and no RS232. A virtual com port based bootloader would
>> be nice. I'm not considering JTAG.
>> If you connect this board to PC via USB, WinXP has default driver for
> serial port. For others like win98, linux you will have to install
> driver for serial port.

To clarify, Windows XP does have a USB serial driver, but it will not
auto-install when you insert the USB device. You need to extract it
from a .cab file from the driver cache, see
http://wiki.sikken.nl/index.php?title=LPCUSB#USB_serial_port
You need to provide the .INF file yourself.

For most Linux distros you do NOT need to install a driver for the
serial port. udev/hotplog probably already loads the proper kernel
module (which is cdc_acm, the usbserial module is meant for serial
ports that do not use the CDC class as far as I understand).

Regards,
Bertrik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFU2h2ETD6mlrWxPURAkyLAJ9CtjqTCjvsyAWtSEXBBeGAb4fvOwCggteB
T4zX7KtSakZ9Y72//bf+dSQ=LOCO
-----END PGP SIGNATURE-----

The 2024 Embedded Online Conference