Skip to main content
Open topic with navigation CAPL Functions » XCP » xcpSetCalPage

xcpSetCalPage

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

Callback

Description

If the XCP slave device supports calibration data page switching, this command sets the current page and access mode. The callback returns that the ECU switched the calibration data page.

Parameters

  • ecuQualifier: Name of the device, configured within the CANoe DE Family XCP/CCP Window.
  • mode: Bit field defined in the XCP specification.
    • Bit 7: Use for all segments, i.e. parameter segmentNr is ignored.
    • Bit 1: The slave device XCP driver will access the given page.
    • Bit 0: The given page will be used by the slave device application.
  • segmentNr: Logical data segment number. Ignored if bit 7 of the mode parameter is set to 1.
  • pageNr: Logical data page number. Usually 0 identifies the page in RAM and 1 the page in FLASH memory. Option AMD/XCP can only work on parameters stored in RAM.

Return Values

Example