可以进行读写校擦除等操作,这里就不专门写教程了,自己看看吧
otp info
Display OTP region information.
otp [index=<index>] read <file>
Read OTP region into file.
otp [index=<index>] write [verify] <file>
Write data to OTP region.
otp [index=<index>] erase
Erase OTP region. This may not be supported.
otp [index=<index>] lock
Lock OTP region. The OTP region lock is permanent.
index - Specify the OTP region index to be operated. This must be
specified if more than one regions exist.
verify - Verify the data being written.
file - The file to be read from/written to OTP region.
获取保护信息命令行:
ufsnandprog dev=ft232h wp info
运行效果图如下
可以设置保护地址,操作命令如下
wp info
List write-protect region information.
wp set <start> <end>
Set write-protect region.
start - Start address of the write-protected region.
end - End address of the write-protected region.