Hi,
I am working on MCB2300 (LPC2378) and I am using Keil uVision4. In my code I need to give some inputs to the code using serial window. Please let me know how to input some text using serial window
Regards, Pavan
www.keil.com/.../uv4_sm_uartcommunication.htm
http://www.keil.com/support/man/docs/uv4/uv4_db_dbg_serialwin.htm
http://www.keil.com/support/man/docs/uv4/uv4_ex_hello.htm
Hi Andrew,
Thanks for your reply. When I open serial window (UART #1-3), I am not able to type any characters on the screen. When I have typed SIN = 'A' on the debugger's command window i get an error message saying *** error 34: undefined identifier . Please let me know should I take things further
"When I open serial window (UART #1-3)"
You have to use the correct window for the UART that your code is actually using!
"I am not able to type any characters on the screen"
What do you mean by that? What, exactly, prevents you from typing?
You simply ensure that the window has the focus (eg, click in it), and then type! The characters you type are then delivered to the application as if they had been received by the UART.
"When I have typed SIN = 'A' on the debugger's command window i get an error message saying *** error 34: undefined identifier"
So look again at the list of Virtual Simulation Registers (VTREGs) for UART Simulation:
See also: http://www.keil.com/support/man/docs/uv4/uv4_db_exp_periphlvar.htm
And note that the command DIR VTREG will list all the available VTREGs for the specific processor that you are actually simulating at the time...
View all questions in Keil forum