ARM Technical Support Knowledge Articles

SIMULATING ASC1 OF INFINEON XC16X DEVICES

Applies to: uVision Debugger

Answer


Information in this article applies to:


QUESTION

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?

ANSWER

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).

Note:

MORE INFORMATION

SEE ALSO

Article last edited on: 2005-07-22 16:48:27

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential