Authentication without Flashing

If you want to authenticate without flashing, you have to proceed as follows:

  • install vFlash 4 SP3 
  • open an existing vFlash project or create a new vFlash project that supports authentication:


     
  • deactivate/erase all data blocks:


     
  • add a CustomAction DLL, containing following code:

    using Vector.vFlash.CustomActions;
    using Vector.Diagnostics;
    using Vector.vFlash.Extensions.Diagnostics;

[CustomActionEntryPoint]

public void Execute(IStatusSink statusSink, ICustomActionConfig customActionConfig)

{

Ecu ecu = Application.GetEcu();

ecu.ExecuteAuthentication();

}

  • The ExecuteAuthentification() method is not yet available, therefore you have to reference the DLL Vector.vFlash.Extensions.dll from the vFlash installation file (e.g. C:\Program Files (x86)\Vector vFlash 4\Bin) in the custom action project. 

    C:\Program Files (x86)\Vector vFlash 4\Bin\Vector.vFlash.Extensions.dll

Note:

With this new vFlash 4 SP3 feature Custom Actions can be executed without any reprogramming by deactivating all data blocks:



Article ID: 1331
Last updated: 2020-04-29
Revision: 10
vFlash -> Basics and (Un)Installation -> Authentication without Flashing
https://kb.vector.com/entry/1331/