When run TDII C.S0060 test, script always requests "Please set SP_LOCK_STATE or NAM_LOCK_STATE to ...". So
What is SP_LOCK_STATE and NAM_LOCK_STATE?
They are state indicator stored in the device.
If you change device SP_LOCK_STATE to 1, then UE cannot be programed, which means you cannot change UE NV items via QPST or QXDM.
If you change device NAM_LOCK_STATE to 1, then UE NV items cannot be changed through OTASP/OTAPA procedures.
How to set SP_LOCK_STATE and NAM_LOCK_STATE?
To set SP_LOCK_STATE to 1, change UE SPC value to a non-default value (default being “000000”). This could be done by changing SPC code to something like “123456” via QPST (in settings Tab - Service Programming field). Note that you have to set it to default “000000” (this also means change SP_LOCK_STATE to 0) again for other test cases, otherwise you cannot change UE NV items in other tests.
To set NAM_LOCK_STATE: • Open QXDM • Open NV Browser • Scroll through NAM_LOCK state field number 261 . Set it according to script required (0 or 1) • Write to the device • Device must be power cycled after this.