--- In l..., 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
UART0 hyperterminal
Started by ●November 14, 2007
Reply by ●November 14, 20072007-11-14
Reply by ●November 14, 20072007-11-14
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... [mailto:l...] On Behalf
Of mrobins99
Sent: Wednesday, November 14, 2007 7:03 PM
To: l...
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... ,
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.
-----------
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... [mailto:l...] On Behalf
Of mrobins99
Sent: Wednesday, November 14, 2007 7:03 PM
To: l...
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... ,
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.
-----------
Reply by ●November 14, 20072007-11-14
--- In l..., "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
>
> 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
Reply by ●November 14, 20072007-11-14
--- In l..., 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**/
> U1THRa[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
>
> 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**/
> U1THRa[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
Reply by ●November 14, 20072007-11-14
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..., 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!
>
some of the control lines) and when removing the cable causes this
change. Just a thought.
--- In l..., 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!
>
Reply by ●November 16, 20072007-11-16
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...
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... [mailto:l...] On Behalf
Of mrobins99
Sent: Wednesday, November 14, 2007 7:03 PM
To: l...
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... ,
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.
-----------
--
My life has changed. What about yours?
Log on to the new Indiatimes Mail and Live out of the Inbox!
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...
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... [mailto:l...] On Behalf
Of mrobins99
Sent: Wednesday, November 14, 2007 7:03 PM
To: l...
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... ,
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.
-----------
--
My life has changed. What about yours?
Log on to the new Indiatimes Mail and Live out of the Inbox!
Reply by ●November 16, 20072007-11-16
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...
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... [mailto:l...] On Behalf
Of mrobins99
Sent: Wednesday, November 14, 2007 7:03 PM
To: l...
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... ,
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.
----------------------
--
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.
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...
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... [mailto:l...] On Behalf
Of mrobins99
Sent: Wednesday, November 14, 2007 7:03 PM
To: l...
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... ,
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.
----------------------
--
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.
Reply by ●November 16, 20072007-11-16
> 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
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
Reply by ●November 16, 20072007-11-16
Hi,
sometimes I've experienced this type of behaviour with some laptop
computer due to loss tollerance on the baudrate error respect the
thoretical value, at the receiving side (the laptop) the char sequence
isn't recognized correctly. Other option may be you're working in a
extremely noise environment (EMI) or you've some wrong ground reference
between the transmitter and the receiver.
Cheers
Fabio Filippa
-----Messaggio originale-----
Da: Shilpa Shilpa [mailto:s...@indiatimes.com]
Inviato: venerdì 16 novembre 2007 4.45
A: l...
Cc: d...@hcl.in
Oggetto: RE: [lpc2000] Re: UART0 hyperterminal
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 dineshkumar.
g...@hcl.in><
To: lpc2000@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: lpc2000@yahoogroups .com
[mailto: lpc2000@yahoogroups .com] On
Behalf
Of mrobins99
Sent: Wednesday, November 14, 2007 7:03 PM
To: lpc2000@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 lpc2000@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.
----------------------
--
My life has changed. What about yours?
Log on to the new Indiatimes Mail and Live out of the Inbox!
sometimes I've experienced this type of behaviour with some laptop
computer due to loss tollerance on the baudrate error respect the
thoretical value, at the receiving side (the laptop) the char sequence
isn't recognized correctly. Other option may be you're working in a
extremely noise environment (EMI) or you've some wrong ground reference
between the transmitter and the receiver.
Cheers
Fabio Filippa
-----Messaggio originale-----
Da: Shilpa Shilpa [mailto:s...@indiatimes.com]
Inviato: venerdì 16 novembre 2007 4.45
A: l...
Cc: d...@hcl.in
Oggetto: RE: [lpc2000] Re: UART0 hyperterminal
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 dineshkumar.
g...@hcl.in><
To: lpc2000@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: lpc2000@yahoogroups .com
[mailto: lpc2000@yahoogroups .com] On
Behalf
Of mrobins99
Sent: Wednesday, November 14, 2007 7:03 PM
To: lpc2000@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 lpc2000@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.
----------------------
--
My life has changed. What about yours?
Log on to the new Indiatimes Mail and Live out of the Inbox!
Reply by ●November 19, 20072007-11-19
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...
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!
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...
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!