Follow the steps below to start debugging using the µVision
Debugger and the ULINK2 USB-JTAG Adapter.
Connect the ULINK2 to the Cortex Debug connector of the MCB1000
Board.
Power up the MCB1000 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 ULINK Cortex Debugger in the drop-down list to choose
the ULINK2 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 ARM Target
Driver Setup dialog.
This dialog displays the IDCODE of the ARM device on the MCB1000
Board.
Select 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.
Make sure the Port: selector is
set to SW. The MCB1xxx boards does not support a JTAG
interface.
Click OK to save any changes you have made, then start
the Debugger.
Use the Start/Stop Debug
Session toolbar button or the menu Debug — Start/Stop
Debug Session to start debugging the program.
Note
Debugging stops working
properly if the code puts the device into a power saving
mode. Therefore, do not enable either of the power saving
modes while testing and debugging software.
Further details can be found in the µVision User's
Guide, topic Debugging, and in the
MDK-ARM Primer, chapter Debug
Applications.
ITM and DWT trace debugging are not available with the
MCB11U10, MCB1114 or MCB11C14 boards because their MCUs do not
provide the Serial Wire Output(SWO) signal needed for these
options. As a result, the Logic Analyzer and OS Event Viewer
features of the debugger are also not available because they
require the SWO signal.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.