This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MCU-PLUS-SDK-AM243X: Identifying GP and HS Device via Registers

Part Number: MCU-PLUS-SDK-AM243X

Hello,

I am currently trying to evaluate in Code which processor variant the code is running on. Especially if it is a HS or GP device. 

We already did something similar in the past with the following register which is not documented in the TRM but is found in "bootloader_soc.c".


#define BOOTLOADER_SYS_STATUS_REG              (0x44234100U)
In uint32_t Bootloader_socIsAuthRequired(void) the following code is used to identify if the current processor is a HS or GP device:
uint32_t devType    = CSL_REG32_RD(BOOTLOADER_SYS_STATUS_REG) & BOOTLOADER_SYS_STATUS_DEV_TYPE_MASK;
    uint32_t devSubtype = CSL_REG32_RD(BOOTLOADER_SYS_STATUS_REG) & BOOTLOADER_SYS_STATUS_DEV_SUBTYPE_MASK;

    if((devType == BOOTLOADER_SYS_STATUS_DEV_TYPE_GP)   ||
       (devType == BOOTLOADER_SYS_STATUS_DEV_TYPE_TEST) ||
       (devSubtype == BOOTLOADER_SYS_STATUS_DEV_SUBTYPE_FS))
Today I stumpled across this other register which is documented in the TRM:
Can we also use the SECURITY bit to identify if a device is a HS device? Is this redundant to the other register which is not documented in the TRM?
Thanks 
Fabian
EDIT:
Also the Silicon Revision would be nice to know: I found JTAG_ID in the TRM
But this only describes SR 1.0. There should be already a SR2.0 (the current silicon revision)?! 
Thanks!