Example for Performing Seed&Key with CAPL in Test Modules (CANoe >=10.0)
This example shows how to perform Security Access (0x27) for different security levels with CAPL in test modules. It contains a simulated ECU that responds to the testers' diagnostic requests. The test modules' test report will be stored in the directory Testreport.
For the Security Access in test modules there are two CAPL functions available:
This function generates the security key from the given seed.
This function tries to unlock the ECU. It requests a seed, calculates the key with the Seed & Key DLL and sends it to the ECU.
Both functions are covered by this example. It can be used with CANoe 10.0 and higher. The corresponding Diagnostic Description (CDD-File) is provided in CANdelaStudio 8.5-Format.
Please complete all required fields. Fields marked with * are required.