Keil Logo

Debugging with ULINK

Detailed information can be found in the µVision User's Guide in the Debugging topic and in the Getting Started User's Guide (..\Keil\ARM\HLP\GSA.CHM) in the chapter Testing Programs.

Follow these steps to start debugging using the µVision Debugger and the ULINK USB_JTAG Adapter.

  1. Connect the ULINK to the JTAG connector of the MCB2300 Board.
    Note that the red cable marks pin 1 of the JTAG-connector.

      MCB2300 Board Connected to ULINK

    Note

    • The Embedded ICE in the LPC2000 core is disabled when the device is in Power Down or Idle mode. ULINK stops working if your code puts the ARM device into Idle or Power Down mode. Therefore, do not enable either of the power saving modes of the LPC23xx during the software development cycle in your application program.
  2. Power up the MCB2300 Board.
  3. Configure the Debugger in the Project — Options for Target — Debug dialog.

    Options for Target Button Use the Options for Target toolbar button and click the Debug tab to display the Debug dialog.

    Use: ULINK ARM DebuggerSelect the Use: radio button and then ULINK ARM Debugger in the drop-down list to choose the ULINK USB-JTAG Adapter as the debugging tool.


    Use: ULINK ARM DebuggerCheck 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.

  4. Click the Settings button to open the ARM Target Driver Setup dialog.

    This dialog displays the IDCODE of the ARM device on the MCB2300 Board.

    Options for Target - Debug - Settings - JTAG Device Display

    Download OptionsSelect the Verify Code Download option under Download Options to compare the loaded application program with the Flash ROM content. You may disable this option to speed up the debugger start.

  5. Start the Debugger.

    Start/Stop Debug Button Use the Start/Stop Debug Session toolbar button to start debugging the program.

    Or

    Use the µVision command, Debug — Start/Stop Debug Session, to start debugging the program.

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.