2.9.2.9.2 Command Format

The commands are formatted as follows:

____,________,________,________,__#

opcode addrxx length not_used rw

where:

  • opcode—4 characters of the command.
  • addr—the address field is max 8 characters long, and contains the hexadecimal address value without '0x'.
  • length—in case of a write command, this field indicates the size of the data to be sent, in hexadecimal, without '0x'.
  • not_used—this field is not used for the moment.
  • rw—indicates a read or write operation (00 for read, 01 for write).
    Table 2-28. Simple Commands
    CommandFull NameDescription
    SEMBSET_EXT_MEM_BOOT_ENSet external memory boot enable
    SKIFSET_KEYS_IN_FUSESet keys in fuse
    SPAISET_PAIRING_MODESet Pairing mode
    SMDISET_MONITOR_DISSet monitor disable
    SBSDSET_BSCR_DISSet BSCR disable
    SSBDSET_SEC_DBGSet secure debug
    SJTDSET_JTAG_DISSet JTAG disable fuse bit
    CRST(1)CHIP_RESETReset the chip
    Note:
    1. USB communication is cut when this command is executed by the chip.
    Table 2-29. Read Version Command
    CommandFull NameDescription
    RVERREAD_ROM_VERSIONRead ROM code version
    Table 2-30. Key Management Commands
    CommandFull NameDescription
    WCKYWRITE_CUSTOMER_KEYSend customer keys and initialization vector (640 bits)
    WRHAWRITE_RSA_HASHSend RSA hash of root certificate public key
    Note: Sending the commands in the table above automatically configures the corresponding values in the SIGN_MODE and EXPAND_MODE fields of the Boot Configuration Word.
    Table 2-31. Applet Related Commands
    CommandFull NameDescription
    SAPTSEND_APPLETSend memory programming applet
    SMBXSEND_APPLET_MAILBOXSend applet mailbox content
    RMBXREAD_APPLET_MAILBOXRead applet mailbox content
    EAPPAPPLET_EXECUTEExecute apple
    SFILSEND_FILESend file (to be programmed into an external memory)
    RFILREAD_FILERead file from an external memory