mcProgramReset
- Updated2025-09-25
- 1 minute(s) read
Purpose
Indicates the end of a programming sequence. Format
| mcTypeStatus |
mcProgramReset(
|
Input
ECURefNum
ECURefNum is the task reference which links to the selected ECU. This reference is originally returned from . Output
Return Value
The return value indicates the status of the function call as a signed 32-bit integer. Zero means the function executed successfully. A negative value specifies an error, which means the function did not perform the expected behavior. A positive value specifies a warning, which means the function performed as expected, but a condition arose that may require attention.
Use the function of the ECU M&C API to obtain a descriptive string for the return value.
DescriptionIf you are using the XCP protocol, implements the XCP command PROGRAM_RESET. This optional command indicates the end of a non-volatile memory programming sequence and may or may not have a response from the ECU. In either case, the slave device will go into a disconnected state.
may be used to reset a slave device for other purposes. For further information on how to use program ECU memory and to use the command refer to the ASAM XCP Part 2 Protocol Layer Specification.