Generic XCP Functions

The generic ECU M&C XCP functions provide direct access to the XCP commands on a very low programming level. For more information about the use and parameters of the XCP commands, refer to the ASAM XCP Part 2 Protocol Layer Specification. The following table provides an overview of the XCP commands with their corresponding LabVIEW VIs or C functions.

Table 2. Overview of the XCP Commands with Related VIs and C Functions
CCP Command LabVIEW VI Name C Function Name
BUILD_CHKSUM MC Build Checksum.vi mcBuildChecksum
CLEAR_MEMORY MC Clear Memory.vi mcClearMemory
COPY_CAL_PAGE MC XCP Copy Cal Page.vi mcXCPCopyCalPage
DOWNLOAD MC Download.vi mcDownload
GET_CAL_PAGE MC XCP Get Cal Page.vi mcXCPGetCalPage
GET_ID MC XCP Get ID.vi mcXCPGetId
GET_STATUS MC XCP Get Status.vi mcXCPGetStatus
PROGRAM MC Program.vi mcProgram
PROGRAM_PREPARE MC XCP Program Prepare.vi mcXCPProgramPrepare
PROGRAM_RESET MC Program Reset .vi mcProgramReset
PROGRAM_START MC Program Start.vi mcProgramStart
PROGRAM_VERIFY MC Program Verify.vi mcProgramVerify
SET_CAL_PAGE MC XCP Select Cal Page.vi mcXCPSetCalPage
SET_REQUEST MC XCP Set Request.vi mcXCPSetRequest
SET_SEGMENT_MODE MC XCP Set Segment Mode.vi mcXCPSetSegmentMode
UPLOAD MC Upload.vi mcUpload