The best method to write to the One-Time-Programmable (OTP, also shadow, TEST, UTEST) Memory regions is by running a script, which uses winIDEA SDK to connect to winIDEA.
It is recommended to verify the script accuracy before writing to the OTP Memory, since the OTP Memory can only be programmed once.
1. Make a test write to the RAM memory instead of OTP.
2. Verify that the value is written exactly as you intended.
3. Make a memory write to the OTP memory.
Programming to OTP memory is disabled by default to prevent any accidental writes to these regions.