Keil™, An ARM® Company

MCBXC167 User's Guide

Setting Target Options for OCDS

Options for Target ButtonUse the Options for Target toolbar button to display the Target dialog, and configure the OCDS interface using the following steps:

  1. Use: OCDS DriverClick the Options - Debug tab and select Use: OCDS Driver for XC16x.
  2. Load Application/Go Till Main OptionsSet Load Application at Startup and Run to main() to automatically load and start your application when you start the debugger.
  3. Settings ButtonThen click the Settings button to open the OCDS Driver configuration dialog.
  4. When debugging from on-chip Flash, initialization values for Reset Configuration are not required.
    When debugging from off-chip memory, the following configuration values must be entered:

    OCDS Off-chip Configuration Settings
  5. Connect the ULINK adapter to the board. Note that the red-colored wire on the cable marks pin 1 of the OCDS connector.
  6. Power up the MCBXC167 board.