ARM Technical Support Knowledge Articles

OCDS: PROGRAM COUNTER MOVES TO INCORRECT VALUES

Applies to: ULINK USB-JTAG Debugger

Answer


Information in this article applies to:


QUESTION

I am using the Infineon XC16x Starter Kit with OCDS debugging. I have started with ..C166EXAMPLESBOARDSInfineon XC16Board which is included as sample project in the Keil C166 toolchain.

If I launch debugger without loading the Blinky application, I can change DP9 and P9 via the Peripheral dialog and see the LED on the board turning ON and OFF.

However when I load the application I have the following strange behaviour:

ANSWER

We have seen this problem when the chip configuration does not match the project configuration. Therefore, you should verify the jumper settings as described in the ABSTRACT.TXT file of that project.

For example when S106.4 is OFF (internal boot) instead of ON, the board behaves exactly as you have described.

SEE ALSO

Article last edited on: 2007-01-28 19:10:24

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