Project

General

Profile

Building DspHelloWorld MDK 2018

Added by Tom Riddle 12 months ago

Hi,

I'm setting up a native Ubuntu 16.04 hosted machine for the MDK 2018. CCS v7.3 is installed with the recommended tools and have followed these instructions.

https://support.criticallink.com/redmine/projects/arm9-platforms/wiki/DSP_Hello_World

got the project setup and seems to compile main_dsp.cpp but fails assembly afterwards, log is below. Any thoughts? Thanks in advance Tom

=========

Finished building: ../main_dsp.cpp

Building file: RURIDSP4cfg.s??
Invoking: C6000 Compiler
"/export/software/mitydsp/ccsv7/tools/compiler/c6000_7.4.24/bin/cl6x" -mv6740 --abi=coffabi -g --include_path="/export/software/mitydsp/mdkextrafiles/lib/DSP/Debug" --include_path="/export/software/mitydsp/mdkextrafiles/sw/DSP/lib" --include_path="/export/software/mitydsp/mdkextrafiles/sw/3rdparty/edma3lld_01_11_00_03/packages/" --include_path="/export/software/mitydsp/mdkextrafiles/sw/3rdparty/edma3lld_01_11_00_03/packages/ti/sdo/edma3" --include_path="/export/software/mitydsp/workspace_v7/RURIDSP4" --include_path="/export/software/mitydsp/ccsv7/tools/compiler/c6000_7.4.24/include" --include_path="/export/software/mitydsp/workspace_v7/RURIDSP4/Debug" --include_path="/export/software/mitydsp/bios_5_42_02_10/packages/ti/bios/include" --include_path="/export/software/mitydsp/bios_5_42_02_10/packages/ti/rtdx/include/c6000" --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="RURIDSP4cfg.d_raw" "RURIDSP4cfg.s62"
3 Assembly Errors, No Assembly Warnings

Compilation failure

subdir_rules.mk:24: recipe for target 'RURIDSP4cfg.obj' failed
"RURIDSP4cfg.s62", ERROR! at line 2160: [E0003] Invalid constant specification
SWI_Obj 1, KNL_swi, 0, _function, _pri, _mailbox, _arg0, _arg1, _dorta, _Order, _filter, _maxformat, _sumformat, _avgformat, _filtmaxmult, _filtsummult, _unittype

"RURIDSP4cfg.s62", REMARK at line 2160: [R0001] After symbol substitution the line became:
SWI_Obj 1, KNL_swi, 0, _KNL_run, 00H, 00H, 00H, 00H, 01H, 00H, 02H, %g inst, %g inst, %.2f inst, _filtmaxmult, _filtsummult, _unittype

"RURIDSP4cfg.s62", ERROR! at line 2193: [E0003] Invalid constant specification
TSK_Obj 1, TSK_idle, 0, _iFXN, _iARG0, _iARG1, _iARG2, _iARG3, _iARG4, _iARG5, _iARG6, _iARG7, _iAUTOSTK, _iMANSTK, _iSTKSZ, _iSTKSEG, _iPRI, _iENV, _iEXITFLAG, _iUSETSKNAME, _iSTATREG, _Order, _filter, _maxformat, _sumformat, _avgformat, _filtmaxmult, _filtsummult, _unittype

"RURIDSP4cfg.s62", REMARK at line 2193: [R0001] After symbol substitution the line became:
TSK_Obj 1, TSK_idle, 0, IDL_F_loop, 00H, 00H, 00H, 00H, 00H, 00H, 00H, 00H, 01H, null, 0400H, DDR, 00H, 00H, 01H, 00H, 00H, 00H, 02H, %g inst, %g inst, %.2f inst, _filtmaxmult, _filtsummult, _unittype

"RURIDSP4cfg.s62", ERROR! at line 2250: [E0003] Invalid constant specification
STS_Obj 1, IDL_busyObj, 0, _prev, _filter, _maxformat, _sumformat, _avgformat, _op, _uType, _iA, _iB, _iC, _prevlow

"RURIDSP4cfg.s62", REMARK at line 2250: [R0001] After symbol substitution the line became:
STS_Obj 1, IDL_busyObj, 0, 00H, 01H, %g, %g, %.2f, _op, _uType, _iA, _iB, _iC, _prevlow

Errors in Source - Assembler Aborted
gmake: *** [RURIDSP4cfg.obj] Error 1
gmake: Target 'all' not remade because of errors.

  • Build Finished **

Replies (2)

RE: Building DspHelloWorld MDK 2018 - Added by Gregory Gluszek 12 months ago

Hi Tom,

I believe the DSP MDK core library you are linking against was built with Code Composer 6.1. I would recommend using CCS v6.1 to build the DSP Hello World application.

Thanks,
\Greg

RE: Building DspHelloWorld MDK 2018 - Added by Tom Riddle 12 months ago

Greg, thanks... So the other option (assuming untested) would be to rebuild DSPlink libs with the XDC Tools version on the CCS v7.3? regs, Tom

    (1-2/2)
    Add picture from clipboard (Maximum size: 500 MB)