AN279
Rev 0.7 | 22/32
www.hoperf.com
Table 14. Parameter list of OTP burning
Parameter
Function
Description
-user
User mode
Select User
-exe
Exe User Boot mode
Select Exe User Boot
-run
Run mode
Select Run
-disable_otp
OTP Disable
Select OTP Disable
-disable_ftp
FTP Disable
Select FTP Disable
-disable_s3s
S3S Disable
Select S3S Disable
-noxomode
Power on mode exclude of
26MHz
Select NoXoMode
-porcaldis
Switch off the power calibra-tio
n mode
Select por_cal_dis
Table 15. Parameter list of return value description
Parameter
Description
-1
Working failed, please check the command path
0
Indicates successful when burning OTP is working
Indicates UUID is read failed (UUID cannot be 0)
1
Invalid command
2
No required parameter
“
-ram -otp
”
3
Download Hex file failed
4
Burning OTP failed
5
Power Off failed
6
Power On failed
For examples
:
1.
C:\\...\\program\\WriterConfig.exe -ram -otp -burn -f D:\\...\\hex\\test_201214.hex –run
Operation: Download the target file test_201214.hex to the offline burner, and perform OTP burning in
Run mode.
2.
WriterConfig.exe -ram -otp -burn -f test_201214.hex -run -p ftp_hex.txt
Operation: Download the target file test_201214.hex to the offline burner, and download the EEPROM
initial value file ftp_hex.txt to the offline burner at the same time, performing OTP burning and EEPROM
burning to the target chip in Run mode.
3.
WriterConfig.exe -ram -otp -burn -f test_201214.hex -run –poweroff
Operation: Download the target file test_201214.hex to the offline burner, and perform OTP burning in
Run mode. Power off the target chip after burning complete.
4.
WriterConfig.exe -ram -otp -burn -f test_201214.hex –run
Operation: Download the target file test_201214.hex to the offline burner, and perform OTP burning in
Run mode.
5.
WriterConfig.exe -ram -otp –burn
Operation: Perform OTP burning, and the burning content has been downloaded from the offline burner
(the host computer should have delivered the target hex and corresponding burning mode parameters
fisrtly).