UDS Init

From OpenMBD
Jump to: navigation, search
Supported Targets: Olimexino, E407, P405

General information about UDS Init

This block initializes the Unified Diagnostic Services (UDS) module (ISO-14229) and the underlying CAN transport protocol (ISO-15765) module.

The purposes of the UDS module in the blockset is three-fold: (1) to read and clear error codes, (2) to read/write memory, and (3) remote ECU reset. The first and third parts, error code access and remote ECU reset, are always available. The second part, memory access, can be locked with the block parameter "UDS seed/key required".

If "UDS seed/key required" is set to FALSE (unchecked), the UDS functionality is available through the services:

Uds default session.png

If "UDS seed/key required" is set to TRUE (checked), the UDS functionality is available through the services:

Uds extended session.png

Block

UDSInit.png

Mask

UDSInitMask.png

Outputs (outports)

This block has a function call output that gets triggered during a seed/key sequence, when the UDS module needs a seed. The connected subsystem should contain a 'UDS Set Seed' block to give the seed back to the UDS module.[function call]

Block parameters

Parameter Description
CAN Channel
CAN Transmit ID
CAN Receive ID
TP Block size
TP STmin
TP Reception buffer size
UDS Transmit buffer size
UDS seed/key required

Examples

UDS

See Also

UDS Get Key | UDS Get Seed | UDS Get Seed Event | UDS Init | UDS Set Key Verified | UDS Set Seed | UDS Verify Key Event