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.

TMDS64EVM: How to change the clock of CA53

Part Number: TMDS64EVM

Hello TI support team.

I am developing a CA53 application using TMDS64EVM.
When I looked at the SBL NULL debug output, the a53-0 was at 800MHz, as shown below.

DMSC Firmware Version 9.1.6--v09.01.06 (Kool Koala)
DMSC Firmware revision 0x9
DMSC ABI revision 3.1

DMSC Firmware Version 9.1.6--v09.01.06 (Kool Koala)
DMSC Firmware revision 0x9
DMSC ABI revision 3.1

INFO: Bootloader_runCpu:155: CPU r5f1-0  is initialized to 800000000 Hz !!!
INFO: Bootloader_runCpu:155: CPU r5f1-1 is initialized to 800000000 Hz !!!
INFO: Bootloader_runCpu:155: CPU m4f0-0 is initialized to 400000000 Hz !!!
INFO: Bootloader_runCpu:155: CPU a530-0 is initialized to 800000000 Hz !!!
INFO: Bootloader_runCpu:155: CPU a530-1 is initialized to 800000000 Hz !!!
INFO: Bootloader_loadSelfCpu:207: CPU r5f0-0 is initialized to 800000000 Hz !!!
INFO: Bootloader_loadSelfCpu:207: CPU r5f0-1 is initialized to 800000000 Hz !!!
INFO: Bootloader_runSelfCpu:217: All done, reseting self ...

Please tell me how to change the clock to 1GHz.


The SDK version is v09_01_00_41.

I modified it as below, but it doesn't change.

Best regards,

Kiyomasa Imaizumi.

The SDK version is v09_01_00_41.

I modified it as below, but it doesn't change.

  • Hello Kiyomasa-san,

    Thanks for reaching out to Texas Instruments E2E support forum.

    Can you please confirm, did you rebuild the libraries and SBL examples after changing the code to set frequency of clock?

    Please follow the below steps:

    • To build libraries, please run below command from SDK install directory.

    gmake -s libs

    • To build SBL examples, please run below command from SDK install directory.

    gmake -s sbl

    Regards,

    Tushar

  • Hello Tushar Thakur.

    Thank you for your reply.

    I didn't rebuild the libraries and SBL examples after changing the code to set frequency of clock.

    I installed make for windows from the following.
    gnuwin32.sourceforge.net/.../make.htm

    I tried the following, but an error occurs.

    c:\ti\mcu_plus_sdk_am64x_09_00_00_35>make -s libs
    process_begin: CreateProcess(NULL, C:/ti/ccs1240/ccs/utils/cygwin/mkdir -p obj/am64x/ti-arm-clang/release/r5f/board, ...) failed.
    make (e=2): ??????????????????
    make[2]: *** [obj/am64x/ti-arm-clang/release/r5f/board] Error 2
    make[1]: *** [board_r5f.ti-arm-clang] Error 2
    make: *** [libs] Error 2


    Please tell me how to solve it.

    Best regards,
    Kiyomasa Imaizumi

  • Hello Kiyomasa,

    Thanks for your response.

    Can you please tell which version of CCS IDE is installed in your system?

    It seems like you don't have CCS v12.04 installed at directory C:\ti\ccs1240.

    Regards,

    Tushar

  • Hello Tushar Thakur.

    I installed CCS v12.05. The directory is C:\ti\ccs1250.

    How should I fix it?

    Best regards,

    Kiyomasa Imaizumi.

  • I tried to change imports.mak below.

    DEVICE ?= am64x
    
    ifeq ($(OS),Windows_NT)
        TOOLS_PATH?=C:/ti
        CCS_PATH?=$(TOOLS_PATH)/ccs1250/ccs --> changed
        CCS_ECLIPSE=$(CCS_PATH)/eclipse/eclipsec
        CYGWIN_PATH?=$(CCS_PATH)/utils/cygwin

    Is this correct?

    Best regards,

    Kiyomasa Imaizumi.

  • However, an error occurred as below.

    C:\ti\mcu_plus_sdk_am64x_09_00_00_35>make -s libs
     Compiling: board.am64x.r5f.ti-arm-clang.release.lib: eeprom/eeprom.c
    process_begin: CreateProcess(NULL, C:/ti/ti-cgt-armllvm_2.1.3.LTS/bin/tiarmclang -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mthumb -Wall -Werror -g -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -Os -IC:/ti/ti-cgt-armllvm_2.1.3.LTS/include/c -IC:/ti/mcu_plus_sdk_am64x_09_00_00_35/source -DSOC_AM64X -MMD -o obj/am64x/ti-arm-clang/release/r5f/board//eeprom.obj eeprom/eeprom.c, ...) failed.
    make (e=2): ??????????????????
    make[2]: *** [eeprom.obj] Error 2
    make[1]: *** [board_r5f.ti-arm-clang] Error 2
    make: *** [libs] Error 2
    
    C:\ti\mcu_plus_sdk_am64x_09_00_00_35>

    Please tell me how to build lib.

    Best regards,

    Kiyomasa Imaizumi.

  • Hello Kiyomasa,

    Thanks for your response.

    I tried to change imports.mak below.

    Yes, the above change should work fine.

    However, an error occurred as below.

    Can you please tell which version of TI CLANG compiler toolchain is installed in your system?

    It seems like you don't have TI CLANG compiler toolchain installed at directory C:\ti\ti-cgt-armllvm_2.1.3.LTS.

    Please refer TI CLANG.

    To know all the required tools for building the SDK, please refer Install Setup SDK tools.

    Regards,

    Tushar

  • I tried to change imports.mak below.

    CGT_TI_PRU_PATH=$(TOOLS_PATH)/ti-cgt-pru_2.3.3
    CGT_TI_ARM_CLANG_PATH=$(CCS_PATH)/tools/compiler/ti-cgt-armllvm_3.2.0.LTS --> changed
    ifeq ($(wildcard $(CGT_TI_ARM_CLANG_PATH)),)
        CGT_TI_ARM_CLANG_PATH=$(TOOLS_PATH)/ti-cgt-armllvm_3.2.0.LTS --> changed
    endif
    CCS_NODE = $(CCS_PATH)/tools/node/node
    SYSCFG_PATH ?= $(TOOLS_PATH)/sysconfig_1.17.0

    However, an error occurred during the build

    C:/ti/mcu_plus_sdk_am64x_09_00_00_35/source/networking/enet/core/src/mod/mdio_ioctl.c:641:14: error: variable 'regIdx'
          set but not used [-Werror,-Wunused-but-set-variable]
        uint32_t regIdx = 0U;
                 ^
    1 error generated.

    Please tell me how to success build.

    Best regrds,

    Kiyomasa Imaizumo.

  • Hello Kiyomasa,

    Thanks for you reply.

    The above error is coming because the regIdx variable is defined but never used.

    Can you please remove the variable if is not used?

    And It is suggested to use the exact version of tools recommended in MCU+SDK docs.

    You might see build issues, if using different version of tools other than the one recommended in MCU+SDK docs.

    Regards,

    Tushar