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.

 
Note:

For the Security Access in test modules there are two CAPL functions available:

  • TestWaitForGenerateKeyFromSeed
    This function generates the security key from the given seed.
  • TestWaitForUnlockEcu
    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.



Article ID: 1203
Last updated: 2018-12-11
Revision: 4
CANalyzer/CANoe -> Diagnostics -> CAPL -> Examples -> Example for Performing Seed&Key with CAPL in Test Modules (CANoe >=10.0)
https://kb.vector.com/entry/1203/