This example demonstrates how can one read, write and lock the extended OTP eFuses of the device. The row index for lock row is set to an invalid value. The user can determine the rows to be locked based on the device running the example. This is a special example, and is booted by ROM. Because of this it is to be treated like a bootloader application.
The example tries to write the USB VID/PID onto the OTP rows. It also dumps the OTP MMR rows. It makes use of Sciclient API calls to do this, there are wrapper functions provided in the examples for these.
Parameter | Value |
---|---|
CPU + OS | wkup-r5fss0-0 nortos |
Toolchain | ti-arm-clang |
Board | am62px-sk |
Example folder | examples/otp/ext_otp/ |
python uart_uniflash.py -p /dev/ttyUSB0 --cfg=../../examples/otp/ext_otp/am62px-sk/wkup-r5fss0-0_nortos/default_ext_otp_hs_fs.cfg
Shown below is a sample output when the application is run.