Using the μVision debugger to communicate through V2C-DAPLink
To set up a μVision project to communicate through V2C-DAPLink:
- Load the project and then go to Options for Target <name of executable> (alt+F7).
- Select the Debug tab.
- On the right-hand side of the screen deselect Load Application at Startup.
Select Use:, and then select CMSIS-DAP Debugger from the drop-down menu.
Figure 5-4 Debug tab
Click Settings and select the subsequent Debug tab.
Figure 5-5 Debug tab
- Ensure that SWJ is ticked and select CMSIS-DAP from the drop-down menu. The IDCODE must read a valid value and the device name must indicate ARM Core Sight SW-DP.
- Click OK in the Cortex-M Target Driver Setup and Options for Target <name of executable> screens.
You can now connect the debugger to the target by clicking on the debug icon.
Figure 5-6 Debug icon