How to Pass Security Access with ADCS Toolkit

Updated Oct 23, 2023

Environment

Software

  • Automotive Diagnostic Command Set Toolkit

Driver

  • NI-XNET

Security access works using a shared secret between ECU and authorized tool. The purpose is to restrict access to certain services/subfunctions by unauthorized tools or users lacking certain access rights. The Automotive Diagnostic Command Set (ADCS) Toolkit is a software add-on for LabVIEW and is suitable for a range of automotive diagnostic applications. Using the ADCS Toolkit, you can develop a single application to pass security access for the UDS test. This article introduces how to use the ADCS toolkit to pass security access.

Firstly, you must request the seed from the ECU by UDS RequestSeed.vi (27 01). If everything goes well, the ECU will give a positive response [67 01 xx xx xx xx]. xx xx xx xx is the ECU seed.
Secondly, you must develop a vi to calculate the security key. The calculated algorithm should be the same as the algorithm in ECU.
Then, you must send the key to the ECU through UDS SendKey.vi (27 02). 
Capture.JPG
Finally, you will get a positive response [67 02] if the security key matches the calculated result of ECU with the same seed and algorithm.
Capture.JPG
Note: Security access service 27 is unavailable in the default session (10 01).