Discussion group dedicated to the Philips LPC2000 family of ARM MCUs
UART0 hyperterminal - Shilpa Shilpa - Nov 14 0:48:01 2007
Hi all,
I am working on MCB2130 Evaluation board that has LPC2138 philips microcontroller. The
UART0 is been connected to COM0 port and UART1 is connected to COM1 port.I have configured
the UART0 for receiving the characters from the PC end which would be like connecting a
cable from the board to COM1 port of one PC opening a hyperterminal and upon the execution
of the code you could write some characters on the terminal.Now, the UART1 is configured
for transmitting the same characters obtained from the UART0 RBR register into the
hyperterminal connected onto another PC which is connected to COM1.
The issue that I face here is when I enter into debug mode I could see that some
characters received into U0RBR register.Now if I disconnect the hyperterminal connected to
UART0 and doing a step into of the code I could see the transmission of the characters on
the PC.However being connected and executing of the code the control enters into some
infinite loop whose address is unknown.Hence I would like to know to how the connection of
UART0 hyperterminal to COM0 port on the board doesnot allow the functioning of UART1 on
the board i.e. connected to COM1 port.
I am in the mid of project and this matter is quite urgent to me.Hence I would appreciate
you guys quick help regarding the same.
Thanks,
Shilu.
--
My life has changed. What about yours?
Log on to the new Indiatimes Mail and Live out of the Inbox!

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )
Re: UART0 hyperterminal - mjames_doveridge - Nov 14 3:32:31 2007
--- In l...@yahoogroups.com, Shilpa Shilpa
wrote:
>
> Hi all,
>
> I am working on MCB2130 Evaluation board that has LPC2138 philips
microcontroller. The UART0 is been connected to COM0 port and UART1 is
connected to COM1 port.I have configured the UART0 for receiving the
characters from the PC end which would be like connecting a cable from
the board to COM1 port of one PC opening a hyperterminal and upon the
execution of the code you could write some characters on the
terminal.Now, the UART1 is configured for transmitting the same
characters obtained from the UART0 RBR register into the hyperterminal
connected onto another PC which is connected to COM1.
OK, so you're using the uC to link the two serial ports.
> The issue that I face here is when I enter into debug mode I could
see that some characters received into U0RBR register.Now if I
disconnect the hyperterminal connected to UART0 and doing a step into
of the code I could see the transmission of the characters on the
PC.However being connected and executing of the code the control
enters into some infinite loop whose address is unknown.
Probably bug.
Hence I would like to know to how the connection of UART0
hyperterminal to COM0 port on the board doesnot allow the functioning
of UART1 on the board i.e. connected to COM1 port.
I doubt that this is the case. On my 2129, (similar chip, fewer timers
and less flash but has CAN), both UARTs work fine together. I can
leave a line of text circulating round the UARTs and CAN and, after a
weekend, it's still working.
I'm sorry, but you are going to have to do some more
troubleshooting/debugging. Try getting just one UART working correctly
and reliably, ie. just echoing input characters back to the same port.
Then get both echoing to their own port indpendently and reliably.
Then try crossing the data over.
Do you use an MTOS and/or interrupts or some polling scheme? Polling
UARTs is pretty well hopeless for any non-trivial app.
Rgds,
Martin

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: UART0 hyperterminal - Japie Greeff - Nov 14 4:47:46 2007
Hi Shilu,
I was having a similar problem (different board though) and it just
turned out that when I was
running instead of single stepping I was loading registers too quickly
for them to be read
out at the baud rate I had set up, and then overrunning the arrays.
This causes the memory
allocation error (if I remember correctly) which then looks like an
endless loop.
Hope that helps a little
EM
On Nov 14, 2007 5:28 AM, Shilpa Shilpa
wrote:
> Hi all,
>
> I am working on MCB2130 Evaluation board that has LPC2138 philips
> microcontroller. The UART0 is been connected to COM0 port and UART1 is
> connected to COM1 port.I have configured the UART0 for receiving the
> characters from the PC end which would be like connecting a cable from the
> board to COM1 port of one PC opening a hyperterminal and upon the execution
> of the code you could write some characters on the terminal.Now, the UART1
> is configured for transmitting the same characters obtained from the UART0
> RBR register into the hyperterminal connected onto another PC which is
> connected to COM1.
>
> The issue that I face here is when I enter into debug mode I could see that
> some characters received into U0RBR register.Now if I disconnect the
> hyperterminal connected to UART0 and doing a step into of the code I could
> see the transmission of the characters on the PC.However being connected and
> executing of the code the control enters into some infinite loop whose
> address is unknown.Hence I would like to know to how the connection of UART0
> hyperterminal to COM0 port on the board doesnot allow the functioning of
> UART1 on the board i.e. connected to COM1 port.
>
> I am in the mid of project and this matter is quite urgent to me.Hence I
> would appreciate you guys quick help regarding the same.
>
> Thanks,
> Shilu.
>
> --
> My life has changed. What about yours?
> Log on to the new Indiatimes Mail and Live out of the Inbox!
>

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: Re: UART0 hyperterminal - Shilpa Shilpa - Nov 14 6:30:25 2007
Hi,
Thx for the reply. Yup I am using the Microcontroller to link the two ports.
Can you pls mail me the 2129 code of yours that seem to work so that I can try
implementing the same on my board?
"Try getting just one UART working correctly
and reliably, ie. just echoing input characters back to the same port.
Then get both echoing to their own port indpendently and reliably.
Then try crossing the data over."
I am sorry that I coul not get to what do you exactly means by echoing to their own port
independently.I have configured UART0 for receiving characters and I could see that once I
run the code I am able to receive the characters from the PC i.e write the characters onto
the hyperterminal connected to COM0 port inturn connected to CPU of the PC.Do you mean the
choing of characters this way?
Also pls do explain me about the crossing over the data.
I use interrupt mode.I have configured UART0 in interrupt mode.Once the interrupt occurs
which could be by hitting the character on hyperterminal(connected to COM0 port on the
board), the control enters into ISR.Inside ISR I am retreiving the data from U0RBR
regsiter putting the data into an array.Here I initialise UART1 and then write back the
same array of data into U1THR regsiter.
i.e
Inside U0ISR
data[i]=U0RBR;
/***initialise UART1**/
U1THR=data[i];
Also I would like to tell you that the data will be written into U1THR there by onto
hyperterminal only if I am including the UART1 initialisation inside the U0ISR.
Thanks,
Shilu
----- Original Message -----
From: mjames_doveridge
To: l...@yahoogroups.com
Sent: Wed, 14 Nov 2007 13:27:18 +0530 (IST)
Subject: [lpc2000] Re: UART0 hyperterminal
--- In l...@yahoogroups.com, Shilpa Shilpa wrote:
>
> Hi all,
>
> I am working on MCB2130 Evaluation board that has LPC2138 philips
microcontroller. The UART0 is been connected to COM0 port and UART1 is
connected to COM1 port.I have configured the UART0 for receiving the
characters from the PC end which would be like connecting a cable from
the board to COM1 port of one PC opening a hyperterminal and upon the
execution of the code you could write some characters on the
terminal.Now, the UART1 is configured for transmitting the same
characters obtained from the UART0 RBR register into the hyperterminal
connected onto another PC which is connected to COM1.
OK, so you're using the uC to link the two serial ports.
> The issue that I face here is when I enter into debug mode I could
see that some characters received into U0RBR register.Now if I
disconnect the hyperterminal connected to UART0 and doing a step into
of the code I could see the transmission of the characters on the
PC.However being connected and executing of the code the control
enters into some infinite loop whose address is unknown.
Probably bug.
Hence I would like to know to how the connection of UART0
hyperterminal to COM0 port on the board doesnot allow the functioning
of UART1 on the board i.e. connected to COM1 port.
I doubt that this is the case. On my 2129, (similar chip, fewer timers
and less flash but has CAN), both UARTs work fine together. I can
leave a line of text circulating round the UARTs and CAN and, after a
weekend, it's still working.
I'm sorry, but you are going to have to do some more
troubleshooting/debugging. Try getting just one UART working correctly
and reliably, ie. just echoing input characters back to the same port.
Then get both echoing to their own port indpendently and reliably.
Then try crossing the data over.
Do you use an MTOS and/or interrupts or some polling scheme? Polling
UARTs is pretty well hopeless for any non-trivial app.
Rgds,
Martin
--
My life has changed. What about yours?
Log on to the new Indiatimes Mail and Live out of the Inbox!

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: UART0 hyperterminal - Shilpa Shilpa - Nov 14 7:20:52 2007
Hi,
Thanks a lot for sharing this.I tried using this and could see that though the terminal
is connecetd it hits the breakpoint.One of the reason I found out was the signals DTR and
RTS used in COM0 port in MCB2130 board were routed to Reset signals.hence whenever the
hyperterminal was connected it was pulled to reset which was avoiding the control to hit
the breakpoint.
However the option for disabling this sigbals routing was absent in hyperterminal whereas
the bray terminal provided this option.I disabled it and succedded in hitting the
breakpoint.
I would also like to know if you did had the code that explains my implementation to
share with me so that I could go ahead with my application.
Thanks,
Shilu
----- Original Message -----
From: Shilpa Shilpa
To: b...@home.nl
Sent: Wed, 14 Nov 2007 14:49:54 +0530 (IST)
Subject: Re: [lpc2000] UART0 hyperterminal
I would try and lt you knw..
----- Original Message -----
From: Bart Caumon
To: l...@yahoogroups.com
Cc: Shilpa Shilpa
Sent: Wed, 14 Nov 2007 13:14:21 +0530 (IST)
Subject: Re: [lpc2000] UART0 hyperterminal
Are you using ms hyperterminal? I've had problems with using it and with the mcb2100
board.
Now I use brays terminal
Under downloads:
http://www.smileymicros.com/index.php?module=pagemaster&PAGE_user_op=view_page&PAGE_id=26
cheers
---- Shilpa Shilpa schrijft:
=============
Hi all,
I am working on MCB2130 Evaluation board that has LPC2138 philips microcontroller. The
UART0 is been connected to COM0 port and UART1 is connected to COM1 port.I have configured
the UART0 for receiving the characters from the PC end which would be like connecting a
cable from the board to COM1 port of one PC opening a hyperterminal and upon the execution
of the code you could write some characters on the terminal.Now, the UART1 is configured
for transmitting the same characters obtained from the UART0 RBR register into the
hyperterminal connected onto another PC which is connected to COM1.
The issue that I face here is when I enter into debug mode I could see that some
characters received into U0RBR register.Now if I disconnect the hyperterminal connected to
UART0 and doing a step into of the code I could see the transmission of the characters on
the PC.However being connected and executing of the code the control enters into some
infinite loop whose address is unknown.Hence I would like to know to how the connection of
UART0 hyperterminal to COM0 port on the board doesnot allow the functioning of UART1 on
the board i.e. connected to COM1 port.
I am in the mid of project and this matter is quite urgent to me.Hence I would appreciate
you guys quick help regarding the same.
Thanks,
Shilu.
--
My life has changed. What about yours?
Log on to the new Indiatimes Mail and Live out of the Inbox!
--
My life has changed. What about yours?
Log on to the new Indiatimes Mail and Live out of the Inbox!

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: UART0 hyperterminal - aaajbell - Nov 14 7:58:54 2007
Very wise advice. There are way too many gotchas.
--- In l...@yahoogroups.com, "mjames_doveridge"
wrote:
>
> --- In l...@yahoogroups.com, Shilpa Shilpa wrote:
> >
> > Hi,
> >
> > Thanks a lot for sharing this.I tried using this and could see that
> though the terminal is connecetd it hits the breakpoint.One of the
> reason I found out was the signals DTR and RTS used in COM0 port in
> MCB2130 board were routed to Reset signals.hence whenever the
> hyperterminal was connected it was pulled to reset which was avoiding
> the control to hit the breakpoint.
> > However the option for disabling this sigbals routing was absent in
> hyperterminal whereas the bray terminal provided this option.I
> disabled it and succedded in hitting the breakpoint.
> > Take out the clips that connect up the DTR/RTS to the reset/ISR
> system. Disconnect any hardware handshake lines. Set flow control to
> 'none'.
>
> Any time you meet RS232, do this first. get it transferring
> *something*, then think about flow-control later.
>
> Rgds,
> Martin
>

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: UART0 hyperterminal - mjames_doveridge - Nov 14 8:44:10 2007
--- In l...@yahoogroups.com, Shilpa Shilpa
wrote:
>
> Hi,
>
> Thanks a lot for sharing this.I tried using this and could see that
though the terminal is connecetd it hits the breakpoint.One of the
reason I found out was the signals DTR and RTS used in COM0 port in
MCB2130 board were routed to Reset signals.hence whenever the
hyperterminal was connected it was pulled to reset which was avoiding
the control to hit the breakpoint.
> However the option for disabling this sigbals routing was absent in
hyperterminal whereas the bray terminal provided this option.I
disabled it and succedded in hitting the breakpoint.
>
Take out the clips that connect up the DTR/RTS to the reset/ISR
system. Disconnect any hardware handshake lines. Set flow control to
'none'.
Any time you meet RS232, do this first. get it transferring
*something*, then think about flow-control later.
Rgds,
Martin

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )RE: Re: UART0 hyperterminal - Dinesh kumar Godthi - Nov 14 13:35:00 2007
Hi Shilpa,
Please make sure the jumper settings of the evaluation board are
correct.
First load the image, then remove the jumpers j1 and j10 and try
printing on the hyper terminal(using printf in your code) or type
something on the terminal.
Regards,
Dinesh.
________________________________
From: l...@yahoogroups.com [mailto:l...@yahoogroups.com] On Behalf
Of mrobins99
Sent: Wednesday, November 14, 2007 7:03 PM
To: l...@yahoogroups.com
Subject: [lpc2000] Re: UART0 hyperterminal
Perhaps the UART is powering your level conversion device...(using
some of the control lines) and when removing the cable causes this
change. Just a thought.
--- In l...@yahoogroups.com
,
Shilpa Shilpa wrote:
>
> Hi all,
>
> I am working on MCB2130 Evaluation board that has LPC2138 philips
microcontroller. The UART0 is been connected to COM0 port and UART1
is connected to COM1 port.I have configured the UART0 for receiving
the characters from the PC end which would be like connecting a cable
from the board to COM1 port of one PC opening a hyperterminal and
upon the execution of the code you could write some characters on the
terminal.Now, the UART1 is configured for transmitting the same
characters obtained from the UART0 RBR register into the
hyperterminal connected onto another PC which is connected to COM1.
>
> The issue that I face here is when I enter into debug mode I could
see that some characters received into U0RBR register.Now if I
disconnect the hyperterminal connected to UART0 and doing a step into
of the code I could see the transmission of the characters on the
PC.However being connected and executing of the code the control
enters into some infinite loop whose address is unknown.Hence I would
like to know to how the connection of UART0 hyperterminal to COM0
port on the board doesnot allow the functioning of UART1 on the board
i.e. connected to COM1 port.
>
> I am in the mid of project and this matter is quite urgent to
me.Hence I would appreciate you guys quick help regarding the same.
>
> Thanks,
> Shilu.
>
> --
> My life has changed. What about yours?
> Log on to the new Indiatimes Mail and Live out of the Inbox!
>
DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the
named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views
or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of
HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution
and / or publication of
this message without the prior written consent of the author of this e-mail is strictly
prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before
opening any mail and
attachments please check them for viruses and defect.
-----------------------------------------------------------------------------------------------------------------------
[Non-text portions of this message have been removed]

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: UART0 hyperterminal - mjames_doveridge - Nov 14 16:14:06 2007
--- In l...@yahoogroups.com, "aaajbell"
wrote:
>
> Very wise advice. There are way too many gotchas.
>
How to waste a whole day:
1) Be presented with a vital piece of special test equipment with a
serial cable dangling out the back.
2) Be told 'I'll email you the protocol, but we have lost the manual
with the pinouts, DCE/DTE, flow-control and baud rate. There is a box
of 25/9, female/male, DCE/DTE dongles in the lab, together with a
drawer full of bits of CAT5 with unknown connectors at one end or the
other".
Rgds,
Martin

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: UART0 hyperterminal - mjames_doveridge - Nov 14 21:01:22 2007
--- In l...@yahoogroups.com, Shilpa Shilpa
wrote:
>
> Hi,
>
> Thx for the reply. Yup I am using the Microcontroller to link the
two ports.
>
> Can you pls mail me the 2129 code of yours that seem to work so that
I can try implementing the same on my board?
Not really. My boss owns it and besides, it's written in C++ and uses
the Rowley ctl OS. The UART unit includes headers from other units
that provide services and classes like a queue of buffer instances, an
output queue for all rx buffers from all comms inputs, both UART, CAN
and capture inputs, and a thread to call protocol-handlers with the
received data and to manage a timeout list.
It is not sensibly possible to serarate out the UART code since it
does not make a lot of sense on its own, eg:
-------------------------------------
void UARTSstart(void){
UART0interface.UARTinstance->startUp();
UART1interface.UARTinstance->startUp();
};
void UARTSinitialize(void){
UART0interface.messageHandler=messPool;
UART0interface.UARTinstance=new TUART(&UART0interface);
UART0interface.UARTinstance->setSerialConfig(115200,'n',8,1);
streams[bsSerial0]=UART0interface.UARTinstance;
UART1interface.messageHandler=messPool;
UART1interface.UARTinstance=new TUART(&UART1interface);
UART1interface.UARTinstance->setSerialConfig(115200,'n',8,1);
streams[bsSerial1]=UART1interface.UARTinstance;
};
-------------------------------------
> "Try getting just one UART working correctly
> and reliably, ie. just echoing input characters back to the same port.
> Then get both echoing to their own port indpendently and reliably.
> Then try crossing the data over."
>
> I am sorry that I coul not get to what do you exactly means by
echoing to their own port independently.I have configured UART0 for
receiving characters and I could see that once I run the code I am
able to receive the characters from the PC i.e write the characters
onto the hyperterminal connected to COM0 port inturn connected to CPU
of the PC.Do you mean the choing of characters this way?
Yes. This works, so that bit is OK.
>
> Also pls do explain me about the crossing over the data.
Receiving on one UART and transmitting on the other.
>
> I use interrupt mode.I have configured UART0 in interrupt mode.Once
the interrupt occurs which could be by hitting the character on
hyperterminal(connected to COM0 port on the board), the control enters
into ISR.Inside ISR I am retreiving the data from U0RBR regsiter
putting the data into an array.Here I initialise UART1 and then write
back the same array of data into U1THR regsiter.
>
> i.e
>
> Inside U0ISR
> data[i]=U0RBR;
> /***initialise UART1**/
> U1THR=data[i];
>
> Also I would like to tell you that the data will be written into
U1THR there by onto hyperterminal only if I am including the UART1
initialisation inside the U0ISR.
>
!! If you have to continually re-initialize UART1, it sounds like
something is corrupting the UART1 registers.
Rgds,
Martin

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: UART0 hyperterminal - mrobins99 - Nov 14 22:57:46 2007
Perhaps the UART is powering your level conversion device...(using
some of the control lines) and when removing the cable causes this
change. Just a thought.
--- In l...@yahoogroups.com, Shilpa Shilpa
wrote:
>
> Hi all,
>
> I am working on MCB2130 Evaluation board that has LPC2138 philips
microcontroller. The UART0 is been connected to COM0 port and UART1
is connected to COM1 port.I have configured the UART0 for receiving
the characters from the PC end which would be like connecting a cable
from the board to COM1 port of one PC opening a hyperterminal and
upon the execution of the code you could write some characters on the
terminal.Now, the UART1 is configured for transmitting the same
characters obtained from the UART0 RBR register into the
hyperterminal connected onto another PC which is connected to COM1.
>
> The issue that I face here is when I enter into debug mode I could
see that some characters received into U0RBR register.Now if I
disconnect the hyperterminal connected to UART0 and doing a step into
of the code I could see the transmission of the characters on the
PC.However being connected and executing of the code the control
enters into some infinite loop whose address is unknown.Hence I would
like to know to how the connection of UART0 hyperterminal to COM0
port on the board doesnot allow the functioning of UART1 on the board
i.e. connected to COM1 port.
>
> I am in the mid of project and this matter is quite urgent to
me.Hence I would appreciate you guys quick help regarding the same.
>
> Thanks,
> Shilu.
>
> --
> My life has changed. What about yours?
> Log on to the new Indiatimes Mail and Live out of the Inbox!
>

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )RE: Re: UART0 hyperterminal - Shilpa Shilpa - Nov 15 23:12:18 2007
Hi Dinesh,
Thanks for the reply.I have checked the jumper settings well before and I just tried
receiving and transmitting of data for UART1 alone using the Bray++ terminal and I have
found that If I am tranmistting i.e. If I am writing one single character I could see that
many characters would be received on the receive side.To be more clear If I type a on the
transmit side I could see multiple a's on the receiver side.
Hence can you pls help me in telling to what might be wrong that is causing the issue?
Thanks,
Shilu
----- Original Message -----
From: Dinesh kumar Godthi d...@hcl.in><
To: l...@yahoogroups.com
Sent: Thu, 15 Nov 2007 00:01:29 +0530 (IST)
Subject: RE: [lpc2000] Re: UART0 hyperterminal
Hi Shilpa,
Please make sure the jumper settings of the evaluation board are
correct.
First load the image, then remove the jumpers j1 and j10 and try
printing on the hyper terminal(using printf in your code) or type
something on the terminal.
Regards,
Dinesh.
________________________________
From: l...@yahoogroups.com [mailto:l...@yahoogroups.com] On Behalf
Of mrobins99
Sent: Wednesday, November 14, 2007 7:03 PM
To: l...@yahoogroups.com
Subject: [lpc2000] Re: UART0 hyperterminal
Perhaps the UART is powering your level conversion device...(using
some of the control lines) and when removing the cable causes this
change. Just a thought.
--- In l...@yahoogroups.com
,
Shilpa Shilpa wrote:
>
> Hi all,
>
> I am working on MCB2130 Evaluation board that has LPC2138 philips
microcontroller. The UART0 is been connected to COM0 port and UART1
is connected to COM1 port.I have configured the UART0 for receiving
the characters from the PC end which would be like connecting a cable
from the board to COM1 port of one PC opening a hyperterminal and
upon the execution of the code you could write some characters on the
terminal.Now, the UART1 is configured for transmitting the same
characters obtained from the UART0 RBR register into the
hyperterminal connected onto another PC which is connected to COM1.
>
> The issue that I face here is when I enter into debug mode I could
see that some characters received into U0RBR register.Now if I
disconnect the hyperterminal connected to UART0 and doing a step into
of the code I could see the transmission of the characters on the
PC.However being connected and executing of the code the control
enters into some infinite loop whose address is unknown.Hence I would
like to know to how the connection of UART0 hyperterminal to COM0
port on the board doesnot allow the functioning of UART1 on the board
i.e. connected to COM1 port.
>
> I am in the mid of project and this matter is quite urgent to
me.Hence I would appreciate you guys quick help regarding the same.
>
> Thanks,
> Shilu.
>
> --
> My life has changed. What about yours?
> Log on to the new Indiatimes Mail and Live out of the Inbox!
>
DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the
named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views
or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of
HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution
and / or publication of
this message without the prior written consent of the author of this e-mail is strictly
prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before
opening any mail and
attachments please check them for viruses and defect.
-----------------------------------------------------------------------------------------------------------------------
[Non-text portions of this message have been removed]
--
My life has changed. What about yours?
Log on to the new Indiatimes Mail and Live out of the Inbox!

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )RE: Re: UART0 hyperterminal - Shilpa Shilpa - Nov 15 23:20:59 2007
Hi Dinesh,
Thanks for the reply.I have checked the jumper settings well before and I just tried
receiving and transmitting of data for UART1 alone using the Bray++ terminal and I have
found that If I am tranmistting i.e. If I am writing one single character I could see that
many characters would be received on the receive side.To be more clear If I type a on the
transmit side I could see multiple a's on the receiver side.
Hence can you pls help me in telling to what might be wrong that is causing the issue?
Thanks,
Shilu
----- Original Message -----
From: Dinesh kumar Godthi d...@hcl.in><
To: l...@yahoogroups.com
Sent: Thu, 15 Nov 2007 00:01:29 +0530 (IST)
Subject: RE: [lpc2000] Re: UART0 hyperterminal
Hi Shilpa,
Please make sure the jumper settings of the evaluation board are
correct.
First load the image, then remove the jumpers j1 and j10 and try
printing on the hyper terminal(using printf in your code) or type
something on the terminal.
Regards,
Dinesh.
________________________________
From: l...@yahoogroups.com [mailto:l...@yahoogroups.com] On Behalf
Of mrobins99
Sent: Wednesday, November 14, 2007 7:03 PM
To: l...@yahoogroups.com
Subject: [lpc2000] Re: UART0 hyperterminal
Perhaps the UART is powering your level conversion device...(using
some of the control lines) and when removing the cable causes this
change. Just a thought.
--- In l...@yahoogroups.com
,
Shilpa Shilpa wrote:
>
> Hi all,
>
> I am working on MCB2130 Evaluation board that has LPC2138 philips
microcontroller. The UART0 is been connected to COM0 port and UART1
is connected to COM1 port.I have configured the UART0 for receiving
the characters from the PC end which would be like connecting a cable
from the board to COM1 port of one PC opening a hyperterminal and
upon the execution of the code you could write some characters on the
terminal.Now, the UART1 is configured for transmitting the same
characters obtained from the UART0 RBR register into the
hyperterminal connected onto another PC which is connected to COM1.
>
> The issue that I face here is when I enter into debug mode I could
see that some characters received into U0RBR register.Now if I
disconnect the hyperterminal connected to UART0 and doing a step into
of the code I could see the transmission of the characters on the
PC.However being connected and executing of the code the control
enters into some infinite loop whose address is unknown.Hence I would
like to know to how the connection of UART0 hyperterminal to COM0
port on the board doesnot allow the functioning of UART1 on the board
i.e. connected to COM1 port.
>
> I am in the mid of project and this matter is quite urgent to
me.Hence I would appreciate you guys quick help regarding the same.
>
> Thanks,
> Shilu.
>
> --
> My life has changed. What about yours?
> Log on to the new Indiatimes Mail and Live out of the Inbox!
>
DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the
named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views
or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of
HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution
and / or publication of
this message without the prior written consent of the author of this e-mail is strictly
prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before
opening any mail and
attachments please check them for viruses and defect.
-----------------------------------------------------------------------------------------------------------------------
[Non-text portions of this message have been removed]
--
My life has changed. What about yours?
Log on to the new Indiatimes Mail and Live out of the Inbox!

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )RE: Re: UART0 hyperterminal - Natarajan N - Nov 15 23:22:49 2007
Clearly a case of baudrate mismatch...
without an o' scope, simple way to test it try reducing Baudrate and check.
NATARAJAN
Shilpa Shilpa
wrote:
Hi Dinesh,
Thanks for the reply.I have checked the jumper settings well before and I just tried
receiving and transmitting of data for UART1 alone using the Bray++ terminal and I have
found that If I am tranmistting i.e. If I am writing one single character I could see that
many characters would be received on the receive side.To be more clear If I type a on the
transmit side I could see multiple a's on the receiver side.
Hence can you pls help me in telling to what might be wrong that is causing the issue?
Thanks,
Shilu
----- Original Message -----
From: Dinesh kumar Godthi d...@hcl.in><
To: l...@yahoogroups.com
Sent: Thu, 15 Nov 2007 00:01:29 +0530 (IST)
Subject: RE: [lpc2000] Re: UART0 hyperterminal
Hi Shilpa,
Please make sure the jumper settings of the evaluation board are
correct.
First load the image, then remove the jumpers j1 and j10 and try
printing on the hyper terminal(using printf in your code) or type
something on the terminal.
Regards,
Dinesh.
________________________________
From: l...@yahoogroups.com [mailto:l...@yahoogroups.com] On Behalf
Of mrobins99
Sent: Wednesday, November 14, 2007 7:03 PM
To: l...@yahoogroups.com
Subject: [lpc2000] Re: UART0 hyperterminal
Perhaps the UART is powering your level conversion device...(using
some of the control lines) and when removing the cable causes this
change. Just a thought.
--- In l...@yahoogroups.com ,
Shilpa Shilpa wrote:
>
> Hi all,
>
> I am working on MCB2130 Evaluation board that has LPC2138 philips
microcontroller. The UART0 is been connected to COM0 port and UART1
is connected to COM1 port.I have configured the UART0 for receiving
the characters from the PC end which would be like connecting a cable
from the board to COM1 port of one PC opening a hyperterminal and
upon the execution of the code you could write some characters on the
terminal.Now, the UART1 is configured for transmitting the same
characters obtained from the UART0 RBR register into the
hyperterminal connected onto another PC which is connected to COM1.
>
> The issue that I face here is when I enter into debug mode I could
see that some characters received into U0RBR register.Now if I
disconnect the hyperterminal connected to UART0 and doing a step into
of the code I could see the transmission of the characters on the
PC.However being connected and executing of the code the control
enters into some infinite loop whose address is unknown.Hence I would
like to know to how the connection of UART0 hyperterminal to COM0
port on the board doesnot allow the functioning of UART1 on the board
i.e. connected to COM1 port.
>
> I am in the mid of project and this matter is quite urgent to
me.Hence I would appreciate you guys quick help regarding the same.
>
> Thanks,
> Shilu.
>
> --
> My life has changed. What about yours?
> Log on to the new Indiatimes Mail and Live out of the Inbox!
>
DISCLAIMER:
----------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the
named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views
or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of
HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution
and / or publication of
this message without the prior written consent of the author of this e-mail is strictly
prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before
opening any mail and
attachments please check them for viruses and defect.
----------------------------------------------------------
[Non-text portions of this message have been removed]
--
My life has changed. What about yours?
Log on to the new Indiatimes Mail and Live out of the Inbox!
---------------------------------
Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how.
[Non-text portions of this message have been removed]

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: UART0 hyperterminal - mjames_doveridge - Nov 16 3:19:46 2007
> Thanks for the reply.I have checked the jumper settings well before
and I just tried receiving and transmitting of data for UART1 alone
using the Bray++ terminal and I have found that If I am tranmistting
i.e. If I am writing one single character I could see that many
characters would be received on the receive side.To be more clear If I
type a on the transmit side I could see multiple a's on the receiver side.
>
> Hence can you pls help me in telling to what might be wrong that is
causing the issue?
>
Not clearing the interrupt/s? That would cause the interrupt to be
re-entered as soon as the interrupt handler exited and re-enabled
interrupts of that level.
Rgds,
Martin

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )
Re: Re: UART0 hyperterminal - Shilpa Shilpa - Nov 19 1:35:46 2007
Hi,
I will just check out in my code and will let you knw about the results.
Thanks,
Shilu
----- Original Message -----
From: mjames_doveridge
To: l...@yahoogroups.com
Sent: Fri, 16 Nov 2007 13:35:28 +0530 (IST)
Subject: [lpc2000] Re: UART0 hyperterminal
> Thanks for the reply.I have checked the jumper settings well before
and I just tried receiving and transmitting of data for UART1 alone
using the Bray++ terminal and I have found that If I am tranmistting
i.e. If I am writing one single character I could see that many
characters would be received on the receive side.To be more clear If I
type a on the transmit side I could see multiple a's on the receiver side.
>
> Hence can you pls help me in telling to what might be wrong that is
causing the issue?
>
Not clearing the interrupt/s? That would cause the interrupt to be
re-entered as soon as the interrupt handler exited and re-enabled
interrupts of that level.
Rgds,
Martin
--
My life has changed. What about yours?
Log on to the new Indiatimes Mail and Live out of the Inbox!

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )