Keil Logo

Debugging with J-LINK

Follow these steps to program debugging using the µVision Debugger and the J-LINK USB-JTAG Adapter. Detailed information can be found in the µVision User's Guide in the Creating Applications chapter.

Consult the J-Link/J-Trace User's Guide, especially the Debug Section.

  1. Connect J-LINK to the JTAG connector of the MCBTMS570 Board. Note that the red cable marks pin 1 of the JTAG connector.

    MCBTMS570 Board with J-LINK

  2. Power up the MCBTMS570 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: Cortex-M/R J-LINK/J-Trace Driver SelectionEnable Use: and select Cortex-M/R J-LINK/J-Trace in the drop-down to choose the J-LINK USB-JTAG Adapter as the debugging tool.

    Debug Load & Run OptionsCheck 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 Target Driver Setup dialog.

    J-Link/J-Trace Interface OptionsIn the the J-Link/J-Trace Adapter section, click Auto Clk to configure for the maximum JTAG clock frequency that the debugger adapter supports. Refer to Debug Settings for details on how to configure the J-Link/J-Trace adapter.

  5. Start the Debugger.

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


    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.