CMSIS-DAP  Version 0.01 - Beta
Interface Firmware for CoreSight Debug Access Port
 All Functions Groups Pages
Adapt Vendor Commands

Description

The file DAP_vendor.c provides template source code for extension of a Debug Unit with Vendor Commands.

Copy this file to the project folder of the Debug Unit and add the file to the MDK-ARM project under the file group Configuration.

Functions

uint32_t DAP_ProcessVendorCommand (uint8_t *request, uint8_t *response)
 Process DAP Vendor Command and prepare Response Data.

Function Documentation

uint32_t DAP_ProcessVendorCommand ( uint8_t *  request,
uint8_t *  response 
)

Process DAP Vendor Command and prepare Response Data.

Parameters:
requestpointer to request data
responsepointer to response data
Returns:
number of bytes in Response Data