National Instruments 372139B-01 Automobile User Manual


 
Chapter 6 Automotive Diagnostic Command Set API for C
© National Instruments Corporation 6-61 Automotive Diagnostic Command Set User Manual
Description
The usual procedure for getting a security access to the ECU is as follows:
1. Request a seed from the ECU using
ndRequestSeed with access mode = n.
2. From the seed, compute a key for the ECU on the host.
3. Send the key to the ECU using
ndSendKey with access mode = n + 1.
4. The security access is granted if the ECU validates the key sent. Otherwise, an error is
returned.