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.

CCS/AM6548: System Analyzer Example

Part Number: AM6548
Other Parts Discussed in Thread: SYSBIOS

Tool/software: Code Composer Studio

Hi,

I am working with CCS  Version: 10.1.1.00004 / W10 and would like to test System Analyzer.

I have imported the stair step example but can not build it:

**** Build of configuration Debug for project StairStepExample ****

"C:\\ti\\ccs1011\\ccs\\utils\\bin\\gmake" -k -j 12 all -O
 
Building file: "../stairstep_JTAGStopMode.cfg"
Invoking: XDCtools
"C:/ti/ccs1011/xdctools_3_61_02_27_core/xs" --xdcpath="C:/ti/uia_2_41_00_01/packages;C:/ti/bios_6_82_01_19/packages;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A53F -p ti.platforms.cortexA:AM6548 -r release -c "C:/ti/ccs1011/ccs/tools/compiler/gcc-arm-none-eabi-9-2020-q2-update-win32" "../stairstep_JTAGStopMode.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring stairstep_JTAGStopMode.xa53fg from package/cfg/stairstep_JTAGStopMode_pa53fg.cfg ...
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
making X:Y/Z/StairStepExample/src/sysbios/sysbios.aa53fg ...
asma53fg C:/ti/bios_6_82_01_19/packages/ti/sysbios/family/arm/IntrinsicsSupport_asm_gnu.sv8A ...
Build of libraries failed.
subdir_rules.mk:19: recipe for target 'build-1520549263-inproc' failed
arm-none-eabi-gcc.exe: error: unrecognized argument in option '-mabi=lp64'
arm-none-eabi-gcc.exe: note: valid arguments to '-mabi=' are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt
arm-none-eabi-gcc.exe: error: 'cortex-a53' does not support feature 'fp'
arm-none-eabi-gcc.exe: note: valid feature names are: crypto nofp; did you mean 'nofp'?
arm-none-eabi-gcc.exe: error: 'cortex-a53' does not support feature 'simd'
arm-none-eabi-gcc.exe: note: valid feature names are: crypto nofp
arm-none-eabi-gcc.exe: error: unrecognized command line option '-mcmodel=large'
arm-none-eabi-gcc.exe: error: unrecognized command line option '-mstrict-align'; did you mean '-Wstrict-aliasing'?
arm-none-eabi-gcc.exe: error: unrecognized command line option '-mfix-cortex-a53-835769'; did you mean '-mfix-cortex-m3-ldrd'?
arm-none-eabi-gcc.exe: error: unrecognized command line option '-mfix-cortex-a53-843419'; did you mean '-mfix-cortex-m3-ldrd'?
gmake[1]: *** [makefile:48: arm_IntrinsicsSupport_asm_gnu.o] Error 1
gmake: *** [X:Y/Z/StairStepExample/src/makefile.libs:57: X:Y/Z/StairStepExample/src/sysbios/sysbios.aa53fg] Error 2
error: xdc.cfg.SourceDir: "C:/ti/ccs1011/xdctools_3_61_02_27_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:
 
js: "C:/ti/ccs1011/xdctools_3_61_02_27_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
gmake.exe: *** [package.mak:210: package/cfg/stairstep_JTAGStopMode_pa53fg.xdl] Error 1
gmake.exe: *** Deleting file 'package/cfg/stairstep_JTAGStopMode_pa53fg.xdl'
gmake.exe: *** [package/cfg/stairstep_JTAGStopMode_pa53fg.xdl] Deleting file 'package/cfg/stairstep_JTAGStopMode_pa53fg.h'
gmake.exe: *** [package/cfg/stairstep_JTAGStopMode_pa53fg.xdl] Deleting file 'package/cfg/stairstep_JTAGStopMode_pa53fg.c'
js: "C:/ti/ccs1011/xdctools_3_61_02_27_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[1]: *** [build-1520549263-inproc] Error 1
gmake: *** No rule to make target 'build-1520549263', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-1520549263', needed by 'configPkg/linker.cmd'.
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

Any ideas are welcome.

BTW: SA documents are quite old (SPRUH43D 2013, Getting Started 2012) Are there any updates on the way?

Regards,

Kalman

  • Hello Kalman,

    Where did you get the example? I don't think the System Analyzer project template is available for the Cortex A of the device (and GCC)

    Kalman Budai said:
    BTW: SA documents are quite old (SPRUH43D 2013, Getting Started 2012) Are there any updates on the way?

    Sorry but there are no planned updates. Unfortunately support for this has been deprecated over the years.

    Thanks

    ki

  • Hello Ki,

    Project -->New CCS project:

    I would be happy to run it on any core A53 or  R5F.

    Regards,

    Kalman

  • Interesting. I do not see it with my installation:

    I must be missing a dependency of some sort. I'll need to investigate further

    Thanks

    ki

  • Ki said:
    I must be missing a dependency of some sort. I'll need to investigate further

    Ok, after I installed the Processor SDK v7, I see the template option available.

    I can reproduce the errors. Basically there are a lot of options in the project that are not supported for the CPU (A53). The template "as-is" is not supported for the A53.

    However, I was able to build the example successfully for the Cortex-R.

    In any case, I would approach with caution. Custom System Analyzer implementations has been deprecated in support. The level of support we can give for it is minimal.

    ki

  • Hi Ki,

    Here is the whole project from CCS workspace, it may help.

    As I see there are unknown compiler switches. I have updated the original GCC 9.2.1 (2019 q4 major) to 9.3.1 (2020 q2 update), but it did not solve the compilation issues.

    Regards

    Kalman

    StairStepExample.zip

  • Kalman Budai said:
    As I see there are unknown compiler switches. I have updated the original GCC 9.2.1 (2019 q4 major) to 9.3.1 (2020 q2 update), but it did not solve the compilation issues.

    Yes I noticed the problem also. As mentioned in my previous post, the A53 is not supported by that template example.