• Send SHORT_DOWNLOAD to write data to an explicit address in a single command.

    Parameters

    • handle: string

      Connection handle returned by XcpCreateConnection.

    • address: number

      32-bit destination memory address.

    • addressExtension: number

      8-bit address extension byte.

    • data: XcpByteInput

      Payload bytes to write (number[], Uint8Array, or Buffer).

    Returns Promise<number[]>

    Raw positive response payload bytes.

    If data exceeds MAX_CTO or violates alignment, the slave replies with ERR, or the request times out.