To use Secure jtag, I referred to document AN4686 (Secure Debug in i.MX 6/7/8M Family of Applications Processors).
# Environment
The working environment uses imx8mp SoC, and Trace32 uses the 2023/02 version.
# eFusing
and, The efusing proceeded as follows.
- SJC_RESP (*imx8mp has 128 bits unlike other SoCs)
fuse prog 8 0 0x55aa1234
fuse prog 8 1 0x00aa5533
fuse prog 15 1 0x55aa1234
fuse prog 15 2 0x00aa5533
- Burn SJC_RESP_LOCK (<- Is it a must-have when testing?)
fuse prog 0 0 0x400
- Burn JTAG_SMOD
fuse prog 1 3 0x400000
# trace32 - script
- The test was conducted with imx8m script and im6 script.
1. imx8m script (T32\demo\arm\hardware\imx8\imx8m\secure-jtag\attachimx8m.cmm)
: Regardless of whether the response value is modified or not, the message "Keyword is too long" occurs and the script does not run normally.

2. imx6 script (T32\demo\arm\hardware\imx6\secure-jtag\attachimx.cmm)
: It doesn't give me the same error as the imx8m script, but it doesn't seem to work.

: Values such as Challenge and SJC ID do not seem to be read normally.
: A "read/write test failed" message appears.
2-1. The response value was modified to match the efusing value. (64bit)
ENTRY &challenge
&response=0x00aa553355aa1234
ENDDO &response
: But I'm still having problems. So I tried inputting the entire 128bit instead of 64bit.
2-2. The response value was modified to match the efusing value. (128bit)
ENTRY &challenge
&response=0x00aa553355aa123400aa553355aa1234
ENDDO &response
: However, an error occurred because the size of the response variable could not accept 128 bits.

Can you tell me what's wrong?