Yahoo Groups archive

Lpc2000

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

Message

Re: USB on LPC2148 power-on starting address

2005-10-12 by jp_thrower

--- In lpc2000@yahoogroups.com, "Paul Curtis" <plc@r...> wrote:
>
> Hi, 
> 
> > I'm evaluating the Keil MCB2140 board and uVision3 to read 
> > serial input and transmit it to the USB port of a PC.  Seeing 
> > as how Keil generously already wrote software to mount an 
> > MCB2140 as a USB HID device and separately to communicate 
> > with interrupts via UART, you'd think this would be easy.
> 
> Why not implement a CDC class, just as I did?

If by CDC class you mean a Connected Device Configuration class
(thanks google!), that appears to be a next step to be done after
solving the issue at hand.  I'm surmising that from reading about CDCs
online.

...<snip>...
 
> 
> Why not power the board and then you can debug USB insertion and trace
> things...  Alternatively, use serial I/O to dump data.
> 

The program problems are due to communication over serial while using
USB, so I think using serial I/O to dump data will be a new set of
bugs.  I wasn't too elaborate on this before because the problems are
program specific (and I hate when people dump their code and ask for
someone to fix it).

> > Does anyone have suggestions, keywords to search for, or 
> > articles to help me understand power-on operation and how to trace it?
> 
> POR will either go into the bootloader or into your own code.  Check the
> ISP jumpering.  If you want a nice 2148 board, try the IAR LPC2148 board
> which Olimex made for them.  It's a nice board, has an LCD for debugging
> if you need it, and can be powered from various sources which allows you
> to easily debug self-powered devices.
> 
> --
> Paul Curtis, Rowley Associates Ltd  http://www.rowley.co.uk
> CrossWorks for MSP430, ARM, AVR and now MAXQ processors
>

I'm hoping to stay with the board and IDE I'm evaluating for a little
longer.  Since my device will be eventually powered from the USB,
externally powering the device will only postpone the issue until
later when the code is more complex.

Thanks for the suggestions though.

Is there publically available source for the Philips bootloader?  Is
there a way to trace the bootloader through JTAG?  My board doesn't
have an ETM connector.

JP

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.