User Data in Kvaser Devices
User Data is 8 bytes of data that can be permanently stored in a Kvaser Device. The User Data is associated with a user number and password, which both are administered by Kvaser and cannot be changed. The password is needed in order to write User Data, reading is not restricted so anyone can read the User Data.
- Note
- The User Data is stored in a flash memory and the number of write cycles is limited. The ideal application is to write the data once, or a few times. A license key that your software validates would be a typical way of using this feature.
Trying out the concept
The user number "100" and the corresponding password, "upHXy1" (without the quotes) is revealed and freely available in sample code. You are encouraged to try your implementation using this to verify that the User Data concept fits your application. If you decide to use this user number and password for "production use", please remember that the password is known to everyone. Contact sales@kvaser.com for more information about how to obtain your own user number and password.
Writing user data
To write user data, you use a command line program. Depending on your device, it is filo_setparam_userdata.exe for older devices or hydra_setparam_userdata.exe for newer devices. Please contact support@kvaser.com for more information.
Obtaining your own password
Please contact sales@kvaser.com for more information about how to obtain your own user number and password.
Reading User Data
The User Data can be read using kvReadDeviceCustomerData().
- Note
- Anyone can read the user data. The writing is protected by a password but reading is not.