12.2.6.3 Monitor Answer
The Secure SAM-BA Monitor answers any command with an acknowledgment message formatted as follows:
____,________,________#[<payload
>]
opcode errcode length
where:
opcode
—4 characters of the commanderrcode
—value of the error codelength
—in cases where the Monitor must send data to SAM-BA, this field shows how much data is in the payload, thus how much data SAM-BA has to read.payload
—optional data, depends on the command.Table 12-12. Command List Command Full Name Description CACK SEND_CMD_ACK Returns the status of simple commands ASTA SEND_APPLET_STATUS Returns the status after execution of an applet SVER SEND_ROM_VERSION Returns the ROM code version Table 12-13. Error Code Error Name Hex Value Description secCmdOK 0x000000000 Command OK secCmdTooLong 0xFFFFFFFF Whole command size too long secCmdOpcodeSizeErr 0xFFFFFFFE Opcode size too long secCmdAddrSizeErr 0xFFFFFFFD Address field size too long secCmdLenSizeErr 0xFFFFFFFC Length field size too long secCmdRWSizeErr 0xFFFFFFFA RW field size too long secCmdOpcodeUnknown 0xFFFFFFF9 Unknown command op-code secCmdCustKeyLengthErr 0xFFFFFFF8 Customer key payload message size error secCmdCustKeyNotWritten 0xFFFFFFF7 Customer key not written in OTP secCmdCustKeyAlreadyWritten 0xFFFFFFF6 Customer key already written in OTP secCmdCmacErr 0xFFFFFFF5 Message CMAC error secCmdDecryptErr 0xFFFFFFF4 Error during message decryption secCmdRsaHashAlreadyWritten 0xFFFFFFEE RSA hash already written in OTP