vector.com|Contact
Search tips

apple banana
Find rows that contain at least one of the two words.

+apple +juice
Find rows that contain both words.

+apple macintosh
Find rows that contain the word 'apple', but rank rows higher if they also contain 'macintosh'.

+apple -macintosh
Find rows that contain the word 'apple' but not 'macintosh'.

+apple ~macintosh
Find rows that contain the word 'apple', but if the row also contains the word 'macintosh', rate it lower than if row does not. This is "softer" than a search for '+apple -macintosh', for which the presence of 'macintosh' causes the row not to be returned at all.

+apple +(>turnover >strudel)
Find rows that contain the words 'apple' and 'turnover', or 'apple' and 'strudel' (in any order), but rank 'apple turnover' higher than 'apple strudel'.

apple*
Find rows that contain words such as 'apple', 'apples', 'applesauce', or 'applet'.

"some words"
Find rows that contain the exact phrase 'some words' (for example, rows that contain 'some words of wisdom' but not "some noise words").

By continuing to use this site you agree to the use of cookies. For more information and to find out how to change this click here. Accept Cookies
Please enable cookies in your browser for this website.
Search:
Advanced search

Steps to Use Seed&Key Option in CANape

Last updated: 2019-01-21

Seed&Key DLL structure:
To prevent access to ECU data by unauthorized persons, some ECUs have access protection.
This access protection can be activated by a "Seed&Key" mechanism.
This mechanism is designed in such a matter that the measurement and calibration system first requests a 'seed' value from the ECU (Get Seed For Key).
The 'seed' value is used to calculate a 'key', which is sent to the ECU (Unlock Protection).
The ECU checks the 'key'. If the 'key' is valid, the ECU enables access to its data.
CANape uses the "Seed&Key" security access whenever a connection is established.
In order to calculate the 'key' CANape calls a function of SEEDKEY1.DLL.
This DLL has to be located in the working directory.
Depending on which calibration protocol you are using (CCP/XCP) the DLL must export a corresponding function with for example for CCP the following prototype:

BOOL __cdecl ASAP1A_CCP_ComputeKeyFromSeed
(unsigned char *seed,
unsigned short sizeSeed,
unsigned char *key,
unsigned short maxSizeKey, unsigned short *sizeKey);


Templates to create this DLL are contained in the "ASAP2-MC Interface Specification" or they can be requested at Vector.

If there is more than one dll or you do not want to use the SEEDKEY1.dll name, then it must be manually adjusted in the canape.ini file or in the A2L file.

canape.ini
Under the module section
[Module_UserDefinedDeviceName]
there will be the following entries:

SEED_KEY=1
The above line will be set to zero if the checkbox described above is not enabled.
SEED_KEY_NAME_PGM=SEEDKEY1.DLL
SEED_KEY_NAME_DAQ=SEEDKEY1.DLL
SEED_KEY_NAME_CAL=SEEDKEY1.DLL


You can manually change the names as needed or enter a full path name.

 
Article Options
2019-01-21
Views: 11185
 
Vector Technology Days 2019 The complete Vector portfolio in a unique event: October 23-24, 2019 in Böblingen, Germany. Register now!