Keil™, An ARM® Company

Discussion Forum

Using ASC1 on a XC161CJ

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

DetailsMessage
Read-Only
Author
Savita Patil
Posted
21-Sep-2007 02:18
Toolset
C166
New! Using ASC1 on a XC161CJ

I have set up the second serial port thanks the the link -
http://www.keil.com/support/docs/2601.htm.

Now I'm facing a new problem. I am able to view the output only on Debug/Simulator mode but when I connect the ULINK driver for xc161 I don't see ouput on Serial window.

May I know what settings need to be made for viewing the output with the ULINK Driver connected.

Read-Only
Author
Thomas Brandl
Posted
21-Sep-2007 02:53
Toolset
C166
New! RE: Using ASC1 on a XC161CJ

Make sure that ASC1 is enabled in the startup code START_V2.A66:
Peripheral Configuration ->
Definitions for System Configuration Register SYSCON3 ->
Disable UART ASC1 [ ]

Read-Only
Author
Savita Patil
Posted
21-Sep-2007 03:02
Toolset
C166
New! RE: Using ASC1 on a XC161CJ

Since I am able to view the Output in Simulation mode it wouldn't be a problem with the Startup code would it be?

Read-Only
Author
Savita Patil
Posted
21-Sep-2007 03:03
Toolset
C166
New! RE: Using ASC1 on a XC161CJ

The bits are enabled.

Read-Only
Author
Thomas Brandl
Posted
21-Sep-2007 03:10
Toolset
C166
New! RE: Using ASC1 on a XC161CJ

I do not know if these bits are evaluated during simulation.
If you say "the bits are enabled", does this mean that the check box for "Disable UART ASC1" is set? You must clear the box to enable the UART.

Read-Only
Author
Savita Patil
Posted
21-Sep-2007 03:25
Toolset
C166
New! RE: Using ASC1 on a XC161CJ

I am testing the demo code that is available at http://www.keil.com/support/docs/2601.htm and have checked that the startup file enables all the on-chip peripherals.
What check box are you talking about?

Read-Only
Author
Thomas Brandl
Posted
21-Sep-2007 03:38
Toolset
C166
New! RE: Using ASC1 on a XC161CJ

... and have checked that the startup file enables all the on-chip peripherals
Then I cannot think about what could be wrong.
What check box are you talking about?
The one which shows up (in the path I listed before) if you open the startup file with the configuration wizard.

Read-Only
Author
Savita Patil
Posted
21-Sep-2007 03:58
Toolset
C166
New! RE: Using ASC1 on a XC161CJ

Should I specifically write a .ini script with the statement ASSIGN WIN2 <S1IN >S1OUT for the display?

Read-Only
Author
Savita Patil
Posted
21-Sep-2007 04:49
Toolset
C166
New! RE: Using ASC1 on a XC161CJ

I need one more information if you have any idea about this. Can the ASC1 UART be used in bootstrap mode to download Flash programming tools or is this possible only by ASC0?

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