Hi,
In the description, it says the index is 0, the size is 8. That looks fine.
Now, what is not clear to me, is that when it does the write protect, it appears as though the index is 16 and the size would be 32.
So, using the AM64X, which has 384 bits of space, which would be (12) 32-bit values.
I could write the number 0x0123456701234567012345670123456701234567012345601234567012345670123456012345670123456701234567 to the Extended OTP.
./construct_ext_opt_data.sh -extopt 0x0123456701234567012345670123456701234567012345601234567012345670123456012345670123456701234567 -indx 0 -size 384
Then, the script would look like the following
--ext-otp (/pathtobin)
--ext-otp-indx 0
--ext-otp-size 384
--ext-otp-wprp 11111111111100000000000000000000
Thank you,