MotoHawk XCPSlave Generate Seed Trigger

This trigger can be used to trigger a Simulink function-call subsystem when security asks for a seed value.

Block ID

XCPSlave Generate Seed Trigger

Library

MotoHawk_Protocols_lib

Description

This block signifies the XCP protocol's need to request a seed value from the application. The seed requested has a name which is associated with the name in the Seed Definition block. The application is responsible for generating a seed and the correspoding key. The seed value is provided back to the protocol handler with the Seed Response Set block.

More than one trigger may be placed in a model hooking off of the same event. In this case, the 'Priority Order' can be used to order these independent triggers. If the priorities are the same, then the order is implementation dependent.

Block Parameters

Parameter Field Values Comments/Description
Trigger Name Alpha-numeric text, single-quote enclosed) Set the text that will be appended to code generated function name. This is useful when using a difference tool to compare the difference from one build to another. If this is left as an empty cell the appended value will be generated at build time, and can change from build to build.
Name String (unique identifier) Links to the Name parameter of the Seed Definition block
Priority Order Number When multiple triggers of the same criteria are present, this specifis which will execute first.
This trigger is inside another triggered subsystem Checkbox If the trigger is inside another triggered subsystem, this must be checked.
Trigger even when containing subsystem is disabled Checkbox If the trigger is inside another enabled subsystem, then execute this subsystem if that subsystem is enabled.