Keil™, An ARM® Company

MCB950 User's Guide

Debugging with ULINK

Follow these steps to program debugging using the µVision Debugger and the ULINK USB-JTAG Adapter.

  1. Connect the ULINK to the OCI Connector (ARM JTAG) connector of the MCB950 Board.
  2. Configure the jumper settings for the user run (RESET: OFF, RUN: ON).
  3. Enable Debug Interface of the LPC 95x. This may be done in the Startup Code or with Flash Magic.
  4. Configure the µVision Debugger
    • button Click the button to open the Project — Options for Target — Debug dialog.
    • Enable Use: and select NXP LPC95x ULINK Driver.
    • Check the Load Application at Startup and the Run to main() options to load your application and execute code up to the beginning of your main() function when the debugger starts.

      Debug options

    • Click the Settings button to open the Target Driver Setup dialog.
  5. Start the Debugger
    • button Use the Start/Stop Debug Session toolbar button to start debugging the program. This performs program testing as described in the µVision User's Guide Target Debugging topic.
  6. Note

    • Check the device settings with Flash Magic if there are problems with the ULINK.