Keil™, An ARM® Company

Discussion Forum

UART problems with LPC2129

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Raed A
Posted
9-May-2008 08:52
Toolset
ARM
New! UART problems with LPC2129

Hi,

I am using hyper terminal to read and write data via UART0 with LPC2129.

in my code if I run the reading task alone it works,
if i run the writing task alone also works.
If i use writing and reading tasks (write each 1sec, read each 200ms) only one of them works....(the one whish is added first in the scheduler.)

Any ideas plz?

Read-Only
Author
Per Westermark
Posted
9-May-2008 09:07
Toolset
ARM
New! RE: UART problems with LPC2129

Are the treads busy/looping, or are they sleeping while waiting for an event from the ISR?

Have you enabled round-robin scheduling?

Read-Only
Author
Raed A
Posted
10-May-2008 05:33
Toolset
ARM
New! RE: UART problems with LPC2129

HI thanks
i think i worked out this problem..

Read-Only
Author
Raed A
Posted
10-May-2008 05:35
Toolset
ARM
New! RE: UART problems with LPC2129

HI ,

How can i send a character to the hyperterminal with certain coordinates, e.g. line 2, column 3.
(without making a loop and sending SPACE character)????

Read-Only
Author
Andy Neil
Posted
10-May-2008 07:25
Toolset
None
New! RE: UART problems with LPC2129

You should start a new thread when you have a new question!

"How can i send a character to the hyperterminal with certain coordinates, e.g. line 2, column 3."

You would have use one of the Terminal emulations supported by hypoterminal, and then use the appropriate control sequence.

http://en.wikipedia.org/wiki/Escape_sequence

Next Thread | Thread List | Previous Thread Start a Thread | Settings