ARM Technical Support Knowledge Articles

STARTUP PROBLEMS WITH INFINEON OCDS ON XC16X

Applies to: ULINK USB-JTAG Debugger

Answer


Information in this article applies to:


QUESTION

We have a problem with OCDS debugging on a new board using XC167. The board is very simple, we are setting the XC167 in single-chip mode with /EA==1 (no pull down). When I try to connect with OCDS, uVision replies that it cannot detect the hardware and displays a message box:

Error: Target DLL has been cancelled.
Debugger aborted!

If the board is not powered, or in bootstrap mode (using the /RD pull down), uVision shows the correct error message.

Do you have any idea on the mistake?

ANSWER

There are a couple of potential issues that need to be taken care of when using OCDS. Check the following:

  1. XTAL frequency: we have seen that XTAL is a critical point. Use for starting an 8MHz XTAL as on the Infineon board.
  2. RESET logic: sometimes an off-chip reset logic causes problems. You should remove a capacitor on the reset input for testing.
  3. +5V power supply:The OCDS pin 2 (VCC) should be connected to +5V. ULINK has an internal jumper that should be in EXT position so that the drivers are using 5V. We have seen that 3.3V (which is the internal ULINK voltage) sometimes creates problems with external logic.

MORE INFORMATION

SEE ALSO

ULINK: XC16X OCDS INTERFACE DOES NOT WORK

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

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