Keil Logo

Debugging with ULINK

Follow these steps to program debugging using the µVision Debugger and the ULINK USB-JTAG Adapter. For more detailed information, refer to the Testing Programs chapter in the Getting Started User's Guide (..\KEIL\ARM\HLP\GSA.CHM).

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

    MCBSTR7 Board with ULINK

    Note

    • The JTAG interface could be disabled by random CPU instructions or by the power-down mode of the device. If this occurs, enable the on-chip boot loader so the STR71x device can execute a valid program. For more information, refer to the web-based Keil Support Knowledgebase and to the article ULINK: RECOVER STR71X WHEN JTAG DISABLE.
  2. Power up the MCBSTR7 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 MCBSTR7 Board.

    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.