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.

xtcievmk2x_arm.gel script reports Set_PSC_State Timeout Errors on modules which are not present in a 66AK2H14 when boot mode set to none

Other Parts Discussed in Thread: 66AK2H14

On a CCS 6.1.3.00033 installation with Keystone2 device support 1.1.6 installed, the emulation/boards/xtcievmk2x/gel/xtcievmk2x_arm.gel script was reporting Set_PSC_State Timeout Errors when the bootmode on the EVMK2H was set to "SLEEP W/ SLOW PLL & SLOW ARM PLL".

The xtcievmk2x_arm.gel script reports a version number of 1.70000005.

The errors are:

CortexA15_1: GEL Output: ARM PLL has been configured (125.0 MHz * 16 / 2 = 1000.0 MHz)
CortexA15_1: GEL Output: Power on all PSC modules and DSP domains... 
CortexA15_1: GEL Output: Set_PSC_State... Timeout Error #03 pd=2, md=9!
CortexA15_1: GEL Output: Set_PSC_State... Timeout Error #03 pd=17, md=25!
CortexA15_1: GEL Output: Set_PSC_State... Timeout Error #03 pd=17, md=26!
CortexA15_1: GEL Output: Set_PSC_State... Timeout Error #03 pd=18, md=27!
CortexA15_1: GEL Output: Set_PSC_State... Timeout Error #03 pd=19, md=28!
CortexA15_1: GEL Output: Set_PSC_State... Timeout Error #03 pd=19, md=29!
CortexA15_1: GEL Output: Set_PSC_State... Timeout Error #03 pd=20, md=30!
CortexA15_1: GEL Output: Set_PSC_State... Timeout Error #03 pd=20, md=31!
CortexA15_1: GEL Output: Set_PSC_State... Timeout Error #03 pd=20, md=32!
CortexA15_1: GEL Output: Set_PSC_State... Timeout Error #03 pd=20, md=33!
CortexA15_1: GEL Output: Set_PSC_State... Timeout Error #03 pd=21, md=34!
CortexA15_1: GEL Output: Set_PSC_State... Timeout Error #03 pd=22, md=35!
CortexA15_1: GEL Output: Set_PSC_State... Timeout Error #03 pd=22, md=36!
CortexA15_1: GEL Output: Set_PSC_State... Timeout Error #03 pd=23, md=37!
CortexA15_1: GEL Output: Set_PSC_State... Timeout Error #03 pd=23, md=38!
CortexA15_1: GEL Output: Set_PSC_State... Timeout Error #03 pd=24, md=39!
CortexA15_1: GEL Output: Set_PSC_State... Timeout Error #03 pd=24, md=40!
CortexA15_1: GEL Output: Set_PSC_State... Timeout Error #03 pd=24, md=41!
CortexA15_1: GEL Output: Set_PSC_State... Timeout Error #03 pd=24, md=42!
CortexA15_1: GEL Output: Set_PSC_State... Timeout Error #03 pd=25, md=43!
CortexA15_1: GEL Output: Set_PSC_State... Timeout Error #03 pd=25, md=44!
CortexA15_1: GEL Output: Set_PSC_State... Timeout Error #03 pd=25, md=45!
CortexA15_1: GEL Output: Set_PSC_State... Timeout Error #03 pd=25, md=46!
CortexA15_1: GEL Output: Set_PSC_State... Timeout Error #03 pd=26, md=47!
CortexA15_1: GEL Output: Set_PSC_State... Timeout Error #03 pd=27, md=48!
CortexA15_1: GEL Output: Power on all PSC modules and DSP domains... Done.
CortexA15_1: GEL Output: Completed PA PLL Setup

By looking at the Power Domain and module IDs which on which the "Timeout Errors" are reported:

  • pd=2, md=9 is the Security Accelerator which is not enabled in the 66AK2H14 device (since have a EVMK2H without Encryption)
  • Power Domains which are marked as "Reserved" in the 66AK2H14 datasheet

i.e. the "Timeout Errors" are for modules which are not in the 66AK2H14 device being used.

Therefore, I created a modified version of xtcievmk2x_arm.gel script in which commented out the Set_PSC_State calls for the modules which are not present in the 66AK2H14. This speeds up the connection to the target when the boot mode is set to none by avoiding Set_PSC_State waiting for a 2 second timeout for each of the modules which are not present in the Security Accelerator disabled 66AK2H14.

Since the xtcievmk2x_arm.gel script appears to be written to support different EVMK2x variants could the Set_Psc_All_On function be enhanced to detect the type of device fitted, e.g. via the JTAGID, and only enable the modules which are present in the device?

  • Thank you for your observations and post. We have observed this and reported to factory team. Could you please confirm your EVM revision? Thank you.
  • Raja said:
    Could you please confirm your EVM revision?

    The EVMK2H is revision 4, and so is fitted with 66AK2H14 silicon revision 2.0

  • Hi Chester Gillon,
    Yes, I have also observed the same in Rev3.0.
    You are right, we need to comment the unused modules in gel file.

    I have compared the following gel files, those modules were commented out in MCSDK release.
    The same issue was occurred in the following gel files too.
    C:\ti\ccsv5\ccs_base\emulation\boards\xtcievmk2x\gel\xtcievmk2x.gel
    C:\ti\ccsv6\ccs_base\emulation\boards\xtcievmk2x\gel\xtcievmk2x.gel
    C:\ti\ccsv6\ccs_base\emulation\boards\xtcievmk2x\gel\xtcievmk2x_arm.gel

    Need to modify the newer CCSv6 gel files like below gel file:
    In this gel file, unused modules were commented out as Chester said.
    C:\ti\mcsdk_bios_3_01_04_07\tools\program_evm\gel\xtcievmk2x.gel