|ARM Technical Support Knowledge Articles|
Applies to: uVision Debugger
Information in this article applies to:
My application uses the second serial interface (ASC1) of the Infineon XC167. When I run my program in the simulator, all the SFR's (baudrate, serial interrupt flags, and so on) have the correct values. However, I do not see the output in the serial window. I want to use the serial window as a terminal attached to ASC1. How can I do this?
By default, ASC0 is attached to Serial Window 1 and ASC1 is attached to no window. To view the serial I/O for ARC1, you must use the ASSIGN command in the uVision debugger to direct the ASC1 communication to Serial Window 2. For example:
ASSIGN channel < inreg > outreg
The ASSIGN command displays and changes the input and output sources for the specified serial channel. For example, to direct ASC1 to Serial Window 2:
ASSIGN WIN2 <S1IN >S1OUT
This sets the channel WIN2 (Serial Window 2) to receive input from inreg S1IN (ASC1) and send output to outreg S1OUT (ASC1).
Article last edited on: 2005-07-22 16:48:27
Did you find this article helpful? Yes No
How can we improve this article?