Skip to content

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

  1. Enter a unique 4-digit hexadecimal code in Flash parameter read access code 1, Flash parameter read access code 2 and Flash parameter read access code 3.
  2. Record the codes and keep them in a safe location.
  3. Save the values to flash.
  4. 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

  1. Enter the codes from Flash parameter read access code 1, Flash parameter read access code 2 and Flash parameter read access code 3 in Parameter read access code 1, Parameter read access code 2 and Parameter read access code 3. Then you can read the parameters and bootload firmware.

Remove or change the read/write lock

  1. Enter the codes from Flash parameter read access code 1, Flash parameter read access code 2 and Flash parameter read access code 3 in Parameter read access code 1, Parameter read access code 2 and Parameter read access code 3.
  2. Set Flash parameter read access code 1, Flash parameter read access code 2 and Flash parameter read access code 3 to the new codes. To remove the lock, set them to 0x0000 (default).
  3. Save the values to flash.
  4. 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

  1. Enter an integer code in Flash Parameter Read Access Code.
  2. Save the value to flash.
  3. 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

  1. Enter the code from Flash Parameter Read Access Code in Parameter read access code. Then you can read the parameters.

Remove or change the read lock

  1. Enter the code from Flash Parameter Read Access Code in Parameter read access code.
  2. Set Flash Parameter Read Access Code to the new code. To remove the lock, set it to 0 (default).
  3. Save the value to flash.
  4. 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

  1. Enter an integer code in Flash Parameter Write Access Code.
  2. Save the value to flash. Now Flash Parameter Write Access Code and Write Access Code are different, and you cannot change parameters.
  3. Disconnect and connect the power to activate the lock. After this, Flash Parameter Write Access Code shows 0.

Unlock the write lock

  1. Enter the code from Flash Parameter Write Access Code in Write Access Code. Then you can write to the parameters.

Remove or change the write lock

  1. Enter the code from Flash Parameter Write Access Code in Write Access Code.
  2. Set Flash Parameter Write Access Code to the new code. To remove the lock, set it to 0 (default).
  3. Save the value to flash.
  4. 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 2 and Parameter read access code 3
  • The datalog pointer table parameters (addresses 1536 to 1664)
  • Fault clear
  • vehicle maximum speed from display, when written through a display protocol
  • Remote assist mode (address 506)