OCDS User's Guide

Debugging

OCDS Debugging is accomplished by connecting your PC to your target system, downloading code, and running the target program.

There are two ways you can connect your target OCDS system to your PC.

  • Using the Keil ULINK USB Adapter:
    The Keil ULINK USB Adapter connects your PC's USB port to the OCDS pins of your target hardware.
  • Using the LPT/Wiggler Interface:
    The LPT/Wiggler Interface is mainly used for Evaluation Boards. It requires special circuitry for the LPT-OCDS Interface (Wiggler) on the target hardware.

Downloading and running program code is accomplished using the Keil µVision Debugger. µVision supports OCDS and works with the LPT port of your PC and with the ULINK USB Adapter.

OCDS provides several debugging features that are fully supported by µVision:

  • Hardware or software breakpoints.
  • Reaction on break with CPU-Halt.
  • Read/write access to the whole address space.
  • Single-step program execution.