| ||||||||
Technical Support Support Resources Product Information | µVISION DEBUGGER: SIMULATING ASC1 OF INFINEON XC16X DEVICESInformation in this article applies to:
QUESTIONMy 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? ANSWERBy 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 µVision 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 INFORMATIONSEE ALSOFORUM THREADSThe following Discussion Forum threads may provide information related to this topic. Last Reviewed: Friday, July 22, 2005 | |||||||
| ||||||||