ULINK: OCDS: Program Counter moves to Incorrect Values
Information in this article applies to:
I am using the Infineon XC16x Starter Kit with OCDS debugging. I have started with ..\C166\EXAMPLES\BOARDS\Infineon XC16Board which is included as a 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:
What can I do?
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.
Last Reviewed: Sunday, February 7, 2021
of your data.