Flash parameter locks
You can protect the flash parameters of the throttle with a password. This prevents unauthorized access. You can make the flash parameters read-only, or you can prevent all read and write access.
Write lock (read-only)
The write lock prevents all SDO writes to the flash parameters (index 0x3000). It also prevents reads of the Flash Parameter Write Password (index 0x3000, subindex 0x15).
The write lock is on when the Flash Parameter Write Password is different from the User Flash Write Password Input (index 0x3001, subindex 0x3D). The default password in flash is 0 (lock off).
To enable the write lock:
- Send an SDO write to the Flash Parameter Write Password with your password (
0x0to0xFFFF). - Save to flash: write
0x3FFFto the Flash Command SDO (index 0x3001, subindex 0x3F). - Turn the throttle off and on again. After this, a write to a flash parameter (
index 0x3000, sub-index not zero) does not change the value. A read of the Flash Parameter Write Password gives0, unless the User Flash Write Password Input is correct.
To disable the write lock (authorized users):
- Write your password to the User Flash Write Password Input (
index 0x3001, subindex 0x3D). While the passwords are the same, the lock is off and all reads and writes are permitted.
Read lock (no read or write access)
The read lock prevents all SDO reads and writes to the flash parameters (index 0x3000).
The read lock is on when the Flash Parameter Read Password (index 0x3000, subindex 0x14) is different from the User Flash Read Password Input (index 0x3001, subindex 0x3C). The default password in flash is 0 (lock off).
To enable the read lock:
- Send an SDO write to the Flash Parameter Read Password with your password (
0x0to0xFFFF). - Save to flash: write
0x3FFFto the Flash Command SDO (index 0x3001, subindex 0x3F). - Turn the throttle off and on again. After this, a read of a flash parameter (
index 0x3000, sub-index not zero) gives0, and a write does not change the value.
To test the read lock:
- With the lock on, try to read or write a flash parameter.
- Write the correct password to the User Flash Read Password Input (
index 0x3001, subindex 0x3C). - Try the read or write again. Make sure that it operates correctly.