Keil Logo

Debugging with ULINK

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

  1. Connect the ULINK to the JTAG connector of the MCBXC866 Board.
    Note that the red cable marks pin 1 of the JTAG-connector. Make sure that the jumper J6 (BSL) is OFF.

    MCBXC866 Board with ULINK

  2. Power up the MCBXC866 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.

    • Select the Use Target Driver for Flash Programming radio button, then select Infineon XC800 ULINK Driver from the drop-down list to debug via the ULINK USB-JTAG Adapter.

      Use: Infineon XC800 ULINK Driver Selection

    • Check the Load Application at Startup and the Run to main() options. This loads your application and executes code up to the start of your main() function when the debugger starts.

      Debugger Load Application and Run to Main Options

  4. Click the Settings button to open the Infineon XC800 ULINK Drive dialog.

    This dialog displays the IDCODE of the XC800 device on the MCBXC8xx Board.

    Download Options

    Select the Verify option under Flash Download Options to compare the loaded application program with the Flash ROM content. Disabling this option reduces the time it takes to start the debugger.

  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.