Parameter read/write lock
WARNING
You can remove a parameter lock (read/write lock, read lock, or write lock) only with the values that you set. If you do not have these values, you must send the controller to ASI to unlock it, subject to the shipping & RMA fees. This applies to all firmware versions. If your original equipment manufacturer (OEM) set the lock, speak to your OEM.
Note
In firmware 6.021 and later, the read lock and the write lock are one lock. When the read/write lock is active, users cannot read or write parameter values, and cannot bootload the controller. Six parameters control the read/write lock:
Flash parameter read access code 1(address 62)Flash parameter read access code 2(address 1964)Flash parameter read access code 3(address 1965)Parameter read access code 1(address 498)Parameter read access code 2(address 1707)Parameter read access code 3(address 1708)
Configuration
Set the read/write lock
- Enter a unique 4-digit hexadecimal code in
Flash parameter read access code 1,Flash parameter read access code 2andFlash parameter read access code 3. - Record the codes and keep them in a safe location.
- Save the values to flash.
- Disconnect and connect the power to activate the lock. After this, most parameters show 0x0000, also the three flash access codes.
Unlock the read/write lock
- Enter the codes from
Flash parameter read access code 1,Flash parameter read access code 2andFlash parameter read access code 3inParameter read access code 1,Parameter read access code 2andParameter read access code 3. Then you can read the parameters and bootload firmware.
Remove or change the read/write lock
- Enter the codes from
Flash parameter read access code 1,Flash parameter read access code 2andFlash parameter read access code 3inParameter read access code 1,Parameter read access code 2andParameter read access code 3. - Set
Flash parameter read access code 1,Flash parameter read access code 2andFlash parameter read access code 3to the new codes. To remove the lock, set them to 0x0000 (default). - Save the values to flash.
- Disconnect and connect the power to activate the new lock.
Read lock only
The read lock prevents users from reading parameter values. Two parameters control the read lock:
Flash Parameter Read Access Code(address 62)Parameter read access code(address 498)
Set the read lock
- Enter an integer code in
Flash Parameter Read Access Code. - Save the value to flash.
- Disconnect and connect the power to activate the lock. After this, most parameters show 0, also
Flash Parameter Read Access Code.
Unlock the read lock
- Enter the code from
Flash Parameter Read Access CodeinParameter read access code. Then you can read the parameters.
Remove or change the read lock
- Enter the code from
Flash Parameter Read Access CodeinParameter read access code. - Set
Flash Parameter Read Access Codeto the new code. To remove the lock, set it to 0 (default). - Save the value to flash.
- Disconnect and connect the power to activate the new lock.
Write lock only
The write lock ("tamper-proof" function) prevents users without approval from changing the parameter values, as ISO 13849 safety requirements specify. Two parameters control the write lock:
Flash Parameter Write Access Code(address 130)Write Access Code(address 402)
Set the write lock
- Enter an integer code in
Flash Parameter Write Access Code. - Save the value to flash. Now
Flash Parameter Write Access CodeandWrite Access Codeare different, and you cannot change parameters. - Disconnect and connect the power to activate the lock. After this,
Flash Parameter Write Access Codeshows 0.
Unlock the write lock
- Enter the code from
Flash Parameter Write Access CodeinWrite Access Code. Then you can write to the parameters.
Remove or change the write lock
- Enter the code from
Flash Parameter Write Access CodeinWrite Access Code. - Set
Flash Parameter Write Access Codeto the new code. To remove the lock, set it to 0 (default). - Save the value to flash.
- Disconnect and connect the power to activate the new lock.
Read lock exceptions
The read lock does not apply to runtime parameters, because the lock only prevents users from reading or changing the controller configuration. It does not prevent operation. For compatibility with peripherals, the read lock also does not apply to these flash parameters:
- Customer parameters (addresses 2014 to 2025)
- Assist level parameters:
Assist speed 1(address 241)Assist speed 2(address 246)Assist Speed 3(address 251)Assist gain 1(address 219)Assist gain 2(address 245)Assist Gain 3(address 250)- Assist speeds 4 to 9 and assist gains 4 to 9 (addresses 1906 to 1917)
Write lock exceptions
The write lock does not apply to these parameters:
Parameter read access code 1,Parameter read access code 2andParameter read access code 3- The datalog pointer table parameters (addresses 1536 to 1664)
Fault clearvehicle maximum speed from display, when written through a display protocolRemote assist mode(address 506)
Related pages
- Next: Antitheft