|
| Debugging with ULINKFollow 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 Debugging topic. - Connect the ULINK to the JTAG connector of the MCBXC167 Board.
Note that the red cable marks pin 1 of the JTAG-connector. Make sure that the jumper J6 (BSL) is OFF.

Note - If your application program puts the XC167 device in Power Down or Idle mode, the OCDS in the Infineon XC167 device (and subsequently the ULINK) stops working. Therefore, do not put the XC167 device device into the power saving modes during the software development cycle.
- Power up the MCBXC167 Board.
- Configure the Debugger in the Project - Options for Target - Debug dialog.
Use the Options for Target toolbar button and click the Debug tab to display the Debug dialog.
Select the Use: radio button and then OCDS Driver for XC16x in the drop-down list to choose the ULINK USB-JTAG Adapter as the debugging tool.
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.
- Click the Settings button to open the OCDS Driver for XC16x dialog.
Make sure your ULINK adapter is connected, then select the Keil ULINK button in the USB JTAG Interface group to direct the debugger to use the ULINK device for debugging. When selected, the Serial Number, Device Family, and Firmware Version information for the ULINK adapter displays.
- Start the Debugger.
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.
|
|