Parameter Read & Write Lock
Parameter Read/Write Lock (Firmware 6.021 and later)
CAUTION – Read/Write Lock can only be removed by using the values you set or by returning the controller to ASI to unlock, subject to the shipping & RMA fees.
As of firmware 6.021, the Read/write locks were combined to prevent users from reading or writing parameter values and further prevent bootloading while the read/write lock is active. Six (6) parameters are used to control read/write access functionality in the BAC controller.
- 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
To set the Read/write Lock:
- Enter a unique 4-digit HEX code into the Flash Parameter Read Access Code 1, Flash Parameter Read Access Code 2 and Flash Parameter Read Access Code 3.
- Record and keep these values safe.
- Save this value to Flash.
- Power cycle the controller to enable the read lock. Most parameters, including the Flash Parameter Read Access Code 1, Flash Parameter Read Access Code 2 and Flash Parameter Read Access Code 3, will appear as 0x0000 after the power cycle to hide their value.
To unlock the Read/Write Lock:
- Enter the same 4-digit HEX code saved to Flash Parameter Read Access Code 1, Flash Parameter Read Access Code 2 and Flash Parameter Read Access Code 3 above to the Parameter Read Access Code 1, Parameter Read Access Code 2 and Parameter Read Access Code 3 parameters, respectively to enable reading parameters or bootloading firmware.
To remove or change the Read/Write Lock:
- Enter the same numerical code saved to Flash Parameter Read Access Code 1, Flash Parameter Read Access Code 2 and Flash Parameter Read Access Code 3 above to the Parameter Read Access Code 1, Parameter Read Access Code 2 and Parameter Read Access Code 3 parameters, respectively to enable reading parameters.
- Change Flash Parameter Read Access Code 1, Flash Parameter Read Access Code 2 and Flash Parameter Read Access Code 3 to your new desired values, or set them all to 0x0000 (default) to clear it.
- Save to flash.
- Power cycle the controller to enable the new read lock value.
Read Lock Exceptions
All runtime parameters are exempted from the Read Lock feature, as it is only intended to block reading or change the controller’s configuration – not prevent operation. Additionally, the following flash parameters are exempted from Read lock functionality for compatibility with various peripherals.
- 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-9, Assist Gains 4-9 (Addresses 1906-1917)
Write Lock Exceptions
There are several parameters that are exempted from the restriction of write access functionality. They are the Parameter Read Access Code 1, Parameter Read Access Code 2 and Parameter Read Access Code 3, the set of datalog pointer table params (addr: 1536 to 1664), the Fault clear, the Vehicle maximum speed(s) via display protocol, and Remote assist mode (addr: 506).
Parameter Read Lock (Firmware 6.020 and earlier)
CAUTION – Read Lock can only be removed by using the value you set or by returning the controller to ASI to unlock, subject to the shipping & RMA fees.
Read lock prevents users from reading parameter values. Two parameters are used to control read access functionality in the BAC controller.
Flash Parameter Read Access Code – Address 62
Parameter read access code – Address 498
To set Read Lock:
- Enter a numerical integer code into the Flash Parameter Read Access Code.
- Save this value to Flash.
- Power cycle the controller to enable the read lock. Most parameters, including Flash Parameter Read Access Code, will appear as ‘0’ after the power cycle to hide their value.
To unlock Read Lock:
- Enter the same numerical code saved to Flash Parameter Read Access Code above to the Parameter read access code parameter to enable reading parameters.
To remove or change Read Lock:
- Enter the same numerical code saved to Flash Parameter Read Access Code above to the Parameter read access code parameter to enable reading parameters.
- Change the Flash Parameter Read Access Code to your new desired value, or set it to 0 (default) to clear it.
- Save to flash.
- Power cycle the controller to enable the new read lock value.
Read Lock Exceptions
All runtime parameters are exempted from the Read Lock feature, as it is only intended to block reading or change the controller’s configuration – not prevent operation. Additionally, the following flash parameters are exempted from Read lock functionality for compatibility with various peripherals.
- 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-9, Assist Gains 4-9 (Addresses 1906-1917)
Parameter write lock (Firmware 6.020 and earlier)
CAUTION – Write lock can only be removed by using the value you set or by returning the controller to ASI to unlock, subject to the shipping & RMA fees.
Write lock or “tamper-proof” functionality prevents unqualified/unwanted users from changing controller parameter values. As required by ISO 13849 safety requirements.
Two parameters are used to control the write access functionality to the parameters in the BAC controller.
Flash Parameter Write Access Code – Address 130
Write Access Code – Address 402
To set Write Lock:
- Enter a numerical integer code into the Flash Parameter Write Access Code.
- Save this value to Flash. Note that the Flash Parameter Write Access Code and Write Access Code are now different values and any action with parameters will be prevented.
- Power cycle the controller to enable the write lock. Flash Parameter Write Access Code will appear as ‘0’ after the power cycle to hide its value.
To unlock Write Lock:
- Enter the same numerical code saved to Flash Parameter Write Access Code above to the Write Access Code parameter to enable writing to parameters.
To remove or change the Write Lock:
- Enter the same numerical code saved to Flash Parameter Write Access Code above to the Write Access Code parameter to enable writing to parameters.
- Change the Flash Parameter Write Access Code to your new desired value, or set it to 0 (default) to clear it.
- Save to flash.
- Power cycle the controller to enable the new write lock value.
Write Lock Exceptions
There are several parameters that are exempted from the restriction of write access functionality. They are the Write Access Code, the Load firmware to flash (addr: 510), the set of datalog pointer table params (addr: 1536 to 1664), the Fault clear, the Vehicle maximum speed(s) via display protocols, and Remote assist mode (addr: 506).