Yahoo Groups archive

Lpc2000

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

Thread

Uart 0, getting started

Uart 0, getting started

2004-03-15 by hellika2003

Hi, I have the Keil MCB2100 (www.keil.com/MCB2100) using the 2129. I
have spent nearly 2 days trying to get the UART 0 to do something. I
have got everything looking nice using the uVison3 Uart 0 peripheral
to help. However, when i attempt to connect the serial cable to
display a char in hyper terminal the board goes into a state of
reset..???? I cant see (since i haven't put in any code to handle the
reciept of chars) how this can happen. Anyway. 

Am i supposed to do more than just write the char to the Transmit buffer? 
I was wondering since (Pclk = cclk) There might be a problem here?
Is there anywhere i can find some sample code?

Re: Uart 0, getting started

2004-03-15 by embeddedjanitor

--- In lpc2000@yahoogroups.com, "hellika2003" <hellika2003@y...> 
wrote:
> Hi, I have the Keil MCB2100 (www.keil.com/MCB2100) using the 2129. I
> have spent nearly 2 days trying to get the UART 0 to do something. I
> have got everything looking nice using the uVison3 Uart 0 peripheral
> to help. However, when i attempt to connect the serial cable to
> display a char in hyper terminal the board goes into a state of
> reset..???? I cant see (since i haven't put in any code to handle 
the
> reciept of chars) how this can happen. Anyway. 
> 
> Am i supposed to do more than just write the char to the Transmit 
buffer? 
> I was wondering since (Pclk = cclk) There might be a problem here?
> Is there anywhere i can find some sample code?

Some development boards use the RTS and DTR lines to effect reset and 
ISP modes. Make sure that your serial set-up is not driving these in 
a way that will force a reset.

One simple way to do this is to make a simple D9->D9 cable that only 
passes through RX, TX and GND for use while testing the code.

Re: Uart 0, getting started

2004-03-16 by Richard

Remove J10 after using the ISP Flash Utility or the default state of 
the DTR line will hold the micro in reset.

Richard

--- In lpc2000@yahoogroups.com, "embeddedjanitor" 
<charles.manning@t...> wrote:
> --- In lpc2000@yahoogroups.com, "hellika2003" <hellika2003@y...> 
> wrote:
> > Hi, I have the Keil MCB2100 (www.keil.com/MCB2100) using the 
2129. I
> > have spent nearly 2 days trying to get the UART 0 to do 
something. I
> > have got everything looking nice using the uVison3 Uart 0 
peripheral
> > to help. However, when i attempt to connect the serial cable to
> > display a char in hyper terminal the board goes into a state of
> > reset..???? I cant see (since i haven't put in any code to handle 
> the
> > reciept of chars) how this can happen. Anyway. 
> > 
> > Am i supposed to do more than just write the char to the Transmit 
> buffer? 
> > I was wondering since (Pclk = cclk) There might be a problem here?
> > Is there anywhere i can find some sample code?
> 
> Some development boards use the RTS and DTR lines to effect reset 
and 
> ISP modes. Make sure that your serial set-up is not driving these 
in 
> a way that will force a reset.
> 
> One simple way to do this is to make a simple D9->D9 cable that 
only 
> passes through RX, TX and GND for use while testing the code.

Re: Uart 0, getting started thanx

2004-03-18 by hellika2003

Excellent, Thanks to all.
Things moving along well now. :)
Dan



--- In lpc2000@yahoogroups.com, "Richard" <richas@y...> wrote:
Show quoted textHide quoted text
> Remove J10 after using the ISP Flash Utility or the default state of 
> the DTR line will hold the micro in reset.
> 
> Richard
> 
> --- In lpc2000@yahoogroups.com, "embeddedjanitor" 
> <charles.manning@t...> wrote:
> > --- In lpc2000@yahoogroups.com, "hellika2003" <hellika2003@y...> 
> > wrote:
> > > Hi, I have the Keil MCB2100 (www.keil.com/MCB2100) using the 
> 2129. I
> > > have spent nearly 2 days trying to get the UART 0 to do 
> something. I
> > > have got everything looking nice using the uVison3 Uart 0 
> peripheral
> > > to help. However, when i attempt to connect the serial cable to
> > > display a char in hyper terminal the board goes into a state of
> > > reset..???? I cant see (since i haven't put in any code to handle 
> > the
> > > reciept of chars) how this can happen. Anyway. 
> > > 
> > > Am i supposed to do more than just write the char to the Transmit 
> > buffer? 
> > > I was wondering since (Pclk = cclk) There might be a problem here?
> > > Is there anywhere i can find some sample code?
> > 
> > Some development boards use the RTS and DTR lines to effect reset 
> and 
> > ISP modes. Make sure that your serial set-up is not driving these 
> in 
> > a way that will force a reset.
> > 
> > One simple way to do this is to make a simple D9->D9 cable that 
> only 
> > passes through RX, TX and GND for use while testing the code.

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.