Hello,
I am looking for executable binary for power management examples 'cpuidle' and 'systemconfig' for SoC=AM572x that can be loaded and
freely run in CCS. For the following two makes, neither pm_cpuidle_testapp is generated nor pm_baremental_systemconfig_testapp is
generated.
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/build$ make pm_cpuidle_testapp -s BOARD=evmAM572x idkAM572x CORE=mpu1_0 mcu1_0 mcu1_1 mcu2_0 mcu2_1 c66xdsp_1 c66xdsp_2 mpu1_1 BUILD_PROFILE=release debug OS=linux
Nothing to be done for am572x pm_cpuidle_testapp
No rule to make target 'idkAM572x', 'mcu1_0', 'mcu1_1', 'mcu2_0', 'mcu2_1', 'c66xdsp_1', 'c66xdsp_2', 'mpu1_1', 'debug'
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/build$ make pm_baremetal_systemconfig_testapp -s BOARD=evmAM572x idkAM572x CORE=mpu1_0 mcu1_0 mcu1_1 mcu2_0 mcu2_1 c66xdsp_1 c66xdsp_2 mpu1_1 BUILD_PROFILE=release debug OS=linux
Nothing to be done for am572x pm_baremetal_systemconfig_testapp
No rule to make target 'idkAM572x', 'mcu1_0', 'mcu1_1', 'mcu2_0', 'mcu2_1', 'c66xdsp_1', 'c66xdsp_2', 'mpu1_1', 'debug'
What exactly needs to be done in order to get pm_cpuidle_testapp and pm_baremetal_systemconfig_testapp (based on main_prcm.c) for AM572x that
can be freely run in CCS 12.4? What are the expected results when freely running them in CCS? Whether the binary output be available in the
following locations or at some other locations? If multiple binary outputs are generatted, what are the differences between them and whether
they all can be loaded in CCS and freely run in the target board similar to evmAM572x or idkAM572x?
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/binary/pm_cpuidle_testapp/bin/evmAM572x
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/binary/pm_baremetal_systemconfig_testapp/bin/evmAM572x
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/drv/pm/lib/am572x/a15/release
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/drv/pm/lib/am572x/c66/release
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/drv/pm/lib/am572x/m4/release
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/board/lib/evmAM572x/a15/release
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/board/lib/evmAM572x/c66/release
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/board/lib/evmAM572x/m4/release
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/board/lib/idkAM572x/a15/release
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/board/lib/idkAM572x/c66/release
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/board/lib/idkAM572x/m4/release
For 'pmrtos', though the makefile generates the binary outputs, I am having the following problems.
Can anyone address them in order to solve the problems faced?
I have tried to load the generated binaries for pm rtos into CCS. The initial state of the
cores were A15_0, DSP1, IPU_1 were disconnected. Initially A15_0 was tried to connect,
A15_0 went to suspended state. Then run the GEL: Scripts–>AM572x MULTICORE
Initialization–>AM572x_MULTICORE_EnableAllCores. Then DSP1 was tried to connect. DSP1 also
went to disconnected state. Then DSP_1 was loaded with pm_rtos.ae66 file. CCS gave the
following error message in the pop-up window.
"Load Program Failed: Encountered a problem loading file:
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/drv/pm/lib/am572x/c66/release/pm_rtos.ae66"
Could not determine target type of file"
Then DSP_1 is put into free running mode.
Then IPU1_c0 was tried to connect. IPU1_c0 also went to suspended state. Then IPU1_c0 was loaded
with pm_rtos.aem4. CCS gave the following error message in the pop-up window.
"Load Program Failed: Encountered a problem loading file:
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/drv/pm/lib/am572x/m4/release/pm_rtos.aem4"
Could not determine target type of file"
Then IP1_C0 is put into free running mode.
Below given is the CCS log.
CortexA15_0: GEL Output: --->>> AM572x GP EVM <<<---
CortexA15_0: GEL Output: --->>> AM572x Target Connect Sequence Begins ... <<<---
CortexA15_0: GEL: Error while executing OnTargetConnect(): Target failed to read 0x4A0025F4
at (*((unsigned int*) 0x4A0025F4)&0xFFF) [AM572x_startup_common.gel:69]
at AM57xx_EVM_Initialization(0) [gpevm_am572x.gel:54]
at OnTargetConnect()
CortexA15_0: GEL Output: --->>> Mapping TIMER suspend sources to default cores <<<<<<----
CortexA15_0: GEL Output: --->>> IPU1SS Initialization is in progress ... <<<---
AM572x_MULTICORE_EnableAllCores() cannot be evaluated.
Target failed to read 0x4AE06514
at (*((unsigned int*) ((cpu_num==1) ? (((0x4AE00000+0x6000)+0x500)+0x14) : (((0x4AE00000+0x6000)+0x700)+0x214)))&0x4) [AM572x_multicore_reset.gel:312]
at IPUSSClkEnable(1) [AM572x_multicore_reset.gel:274]
at IPU1SSClkEnable_API() [AM572x_multicore_reset.gel:247]
at AM572x_MULTICORE_EnableAllCores()C66xx_DSP1: GEL: Encountered a problem loading file: /home/rishi/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/drv/pm/lib/am572x/c66/release/pm_rtos.ae66 Could not determine target type of file
Cortex_M4_IPU1_C0: GEL: Encountered a problem loading file: /home/rishi/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/drv/pm/lib/am572x/m4/release/pm_rtos.aem4 Could not determine target type of file
When should ~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/drv/pm/lib
/am572x/a15/release/pm_rtos.aa15fg be loaded onto A15_0? This file also gives the error
"Could not determine target type of file" when tried to load in A15_0 through CCS.
The following executables gets loaded into A15_0 and free runs too. What are the expected
results for the following binary?
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/binary/pm_rtos_testapp/bin/evmAM572x/pm_rtos_testapp_a15_0_release.xa15fg
The following executables (contents are different from above mentioned files, but with the same file
name) present in the following locations too. When should these following executables be used?
How are they different from the above files? What are the expected results for the following files?
Even the following files are popping up the error message "Could not determine target type of file"
when tried to load into A15_0, DSP1 and IPU1_0 through CCS.
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/board/lib/evmAM572x/c66/release/ti.board.ae66
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/board/lib/evmAM572x/c5/release/ti.board.aem4
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/boa
Hello,
I am looking for executable binary for power management examples 'cpuidle' and 'systemconfig' for SoC=AM572x that can be loaded and
freely run in CCS. For the following two makes, neither pm_cpuidle_testapp is generated nor pm_baremental_systemconfig_testapp is
generated.
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/build$ make pm_cpuidle_testapp -s BOARD=evmAM572x idkAM572x CORE=mpu1_0 mcu1_0 mcu1_1 mcu2_0 mcu2_1 c66xdsp_1 c66xdsp_2 mpu1_1 BUILD_PROFILE=release debug OS=linux
Nothing to be done for am572x pm_cpuidle_testapp
No rule to make target 'idkAM572x', 'mcu1_0', 'mcu1_1', 'mcu2_0', 'mcu2_1', 'c66xdsp_1', 'c66xdsp_2', 'mpu1_1', 'debug'
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/build$ make pm_baremetal_systemconfig_testapp -s BOARD=evmAM572x idkAM572x CORE=mpu1_0 mcu1_0 mcu1_1 mcu2_0 mcu2_1 c66xdsp_1 c66xdsp_2 mpu1_1 BUILD_PROFILE=release debug OS=linux
Nothing to be done for am572x pm_baremetal_systemconfig_testapp
No rule to make target 'idkAM572x', 'mcu1_0', 'mcu1_1', 'mcu2_0', 'mcu2_1', 'c66xdsp_1', 'c66xdsp_2', 'mpu1_1', 'debug'
What exactly needs to be done in order to get pm_cpuidle_testapp and pm_baremetal_systemconfig_testapp (based on main_prcm.c) for AM572x that
can be freely run in CCS 12.4? What are the expected results when freely running them in CCS? Whether the binary output be available in the
following locations or at some other locations? If multiple binary outputs are generatted, what are the differences between them and whether
they all can be loaded in CCS and freely run in the target board similar to evmAM572x or idkAM572x?
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/binary/pm_cpuidle_testapp/bin/evmAM572x
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/binary/pm_baremetal_systemconfig_testapp/bin/evmAM572x
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/drv/pm/lib/am572x/a15/release
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/drv/pm/lib/am572x/c66/release
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/drv/pm/lib/am572x/m4/release
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/board/lib/evmAM572x/a15/release
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/board/lib/evmAM572x/c66/release
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/board/lib/evmAM572x/m4/release
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/board/lib/idkAM572x/a15/release
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/board/lib/idkAM572x/c66/release
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/board/lib/idkAM572x/m4/release
For 'pmrtos', though the makefile generates the binary outputs, I am having the following problems.
Can anyone address them in order to solve the problems faced?
I have tried to load the generated binaries for pm rtos into CCS. The initial state of the
cores were A15_0, DSP1, IPU_1 were disconnected. Initially A15_0 was tried to connect,
A15_0 went to suspended state. Then run the GEL: Scripts–>AM572x MULTICORE
Initialization–>AM572x_MULTICORE_EnableAllCores. Then DSP1 was tried to connect. DSP1 also
went to disconnected state. Then DSP_1 was loaded with pm_rtos.ae66 file. CCS gave the
following error message in the pop-up window.
"Load Program Failed: Encountered a problem loading file:
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/drv/pm/lib/am572x/c66/release/pm_rtos.ae66"
Could not determine target type of file"
Then DSP_1 is put into free running mode.
Then IPU1_c0 was tried to connect. IPU1_c0 also went to suspended state. Then IPU1_c0 was loaded
with pm_rtos.aem4. CCS gave the following error message in the pop-up window.
"Load Program Failed: Encountered a problem loading file:
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/drv/pm/lib/am572x/m4/release/pm_rtos.aem4"
Could not determine target type of file"
Then IP1_C0 is put into free running mode.
Below given is the CCS log.
CortexA15_0: GEL Output: --->>> AM572x GP EVM <<<---
CortexA15_0: GEL Output: --->>> AM572x Target Connect Sequence Begins ... <<<---
CortexA15_0: GEL: Error while executing OnTargetConnect(): Target failed to read 0x4A0025F4
at (*((unsigned int*) 0x4A0025F4)&0xFFF) [AM572x_startup_common.gel:69]
at AM57xx_EVM_Initialization(0) [gpevm_am572x.gel:54]
at OnTargetConnect()
CortexA15_0: GEL Output: --->>> Mapping TIMER suspend sources to default cores <<<<<<----
CortexA15_0: GEL Output: --->>> IPU1SS Initialization is in progress ... <<<---
AM572x_MULTICORE_EnableAllCores() cannot be evaluated.
Target failed to read 0x4AE06514
at (*((unsigned int*) ((cpu_num==1) ? (((0x4AE00000+0x6000)+0x500)+0x14) : (((0x4AE00000+0x6000)+0x700)+0x214)))&0x4) [AM572x_multicore_reset.gel:312]
at IPUSSClkEnable(1) [AM572x_multicore_reset.gel:274]
at IPU1SSClkEnable_API() [AM572x_multicore_reset.gel:247]
at AM572x_MULTICORE_EnableAllCores()C66xx_DSP1: GEL: Encountered a problem loading file: /home/rishi/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/drv/pm/lib/am572x/c66/release/pm_rtos.ae66 Could not determine target type of file
Cortex_M4_IPU1_C0: GEL: Encountered a problem loading file: /home/rishi/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/drv/pm/lib/am572x/m4/release/pm_rtos.aem4 Could not determine target type of file
When should ~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/drv/pm/lib
/am572x/a15/release/pm_rtos.aa15fg be loaded onto A15_0? This file also gives the error
"Could not determine target type of file" when tried to load in A15_0 through CCS.
The following executables gets loaded into A15_0 and free runs too. What are the expected
results for the following binary?
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/binary/pm_rtos_testapp/bin/evmAM572x/pm_rtos_testapp_a15_0_release.xa15fg
The following executables (contents are different from above mentioned files, but with the same file
name) present in the following locations too. When should these following executables be used?
How are they different from the above files? What are the expected results for the following files?
Even the following files are popping up the error message "Could not determine target type of file"
when tried to load into A15_0, DSP1 and IPU1_0 through CCS.
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/board/lib/evmAM572x/a15/release/ti.board.aa15fg
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/board/lib/evmAM572x/c66/release/ti.board.ae66
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/board/lib/evmAM572x/c5/release/ti.board.aem4
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/board/lib/idkAM572x/a15/release/ti.board.aa15fg
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/board/lib/idkAM572x/c66/release/ti.board.ae66
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/board/lib/idkAM572x/c5/release/ti.board.aem4
Thanks.
Rishi.
rd/lib/idkAM572x/a15/release/ti.board.aa15fg
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/board/lib/idkAM572x/c66/release/ti.board.ae66
~/processor_sdk_rtos_am57xx_08_01_00_09/pdk_am57xx_1_0_19/packages/ti/board/lib/idkAM572x/c5/release/ti.board.aem4
Thanks.
Rishi.