ModelGauge m5 RAM Registers and all nonvolatile memory locations can be permanently locked to prevent accidental data loss in the application. Locking a memory block only prevents future writes to the locations. Reading locked locations is still allowed.
You can lock the RAM separately and leave NV ram unlocked, or lock individual columns on NV memory, and leave some columns or leave RAM unlocked. Each LOCK may be set separately or together.
If you want to lock RAM only, this is controlled by Lock2. This is set by writing the register to 0x6A02.
NV RAM only is set by locking registers 0x18_ to 0x1D_, which is achieved by setting lock1, 3,4,5. TO do this, send the command 0x6A1D.
If you only wanted to lock the model table and SN, and Device Name, (columns 0x18, 0x19, and 0x1D), you would need to set locks 1 and 5. This is done by command 0x6A11.
The “Sets no locks” means it won’t lock any unlocked blocks. For example, if you have lock 1 set, and you want to change the memory for the OCV table, writing 0x6A00 won’t unlock the Lock1 register block, but it also won’t lock any other register blocks. So if you wanted to lock any register block, you bit OR it with the 0x6A00 command to set that lock only.