SWCU194 March 2023 CC1314R10 , CC1354P10 , CC1354R10 , CC2674P10 , CC2674R10
The COMMAND_GET_CHIP_ID command makes the bootloader return the value of the 32-bit user ID from the AON_PMCTL:JTAGUSERCODE register. The bootloader first responds by sending the ACK signal in response to the command; then the bootloader sends a packet of 6 bytes comprised of the size byte, the checksum byte, and the 4 bytes (MSB first) holding the user ID.
The bootloader then waits for an ACK signal from the host as a confirmation that the packet was received.
The format of the packet including the command ID is as follows:
unsigned char ucPacket[7];
ucPacket[0] = <size=7>;
ucPacket[1] = <checksum>;
ucPacket[2] = COMMAND_GET_CHIP_ID;