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.

biospsp audio example compilation in ccs5

Hello

I use the LCDK6748 development kit, and I try to run the audio example:

\pdk_C6748_2_0_0_0\biospsp_03_00_01_00\drivers\examples\evm6748\audio

for this project there is no CCS project, the only example that include CCS project is th I2C example.

I try to create new project like explained in video:

C6748_BIOSPSP_CCSProjectCreation.wmv

and copy all files from example to the new created project folder. this include the folders:bin, obj, src

when I try to complie the project the linking fails :

<Linking>

"../obj/c6748-evm/c6xdsp/release/evm6748_audio_sample_configuro/linker_mod.cmd", line 37: error:

IROM memory range has already been specified

"../obj/c6748-evm/c6xdsp/release/evm6748_audio_sample_configuro/linker_mod.cmd", line 37: error:

IROM memory range overlaps existing memory range IROM

"../obj/c6748-evm/c6xdsp/release/evm6748_audio_sample_configuro/linker_mod.cmd", line 38: error:

IRAM memory range has already been specified

"../obj/c6748-evm/c6xdsp/release/evm6748_audio_sample_configuro/linker_mod.cmd", line 38: error:

IRAM memory range overlaps existing memory range IRAM

...

Is this is the way I need to build the project, or do I need to build it differently?

  • Hi,

    Thanks for your post.

    Please find the project handbook for CCS in order to help fixing build and linking errors as below:

    http://processors.wiki.ti.com/index.php/Projects_and_Build_Handbook_for_CCS

    I think, there is memory conflict of IRAM with existing memory range specified in linker command file I(*.cmd) in your project workspace. Kindly validate the IRAM memory range in the linker command file which would fix the above linker error.

    Thanks & regards,

    Sivaraj K

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.

    -------------------------------------------------------------------------------------------------------

  • Hi

    I manged to build the audio sample project and it even runs on the LCDK6748 board by changing source code according to:

    https://e2e.ti.com/support/dsp/tms320c6000_high_performance_dsps/f/115/t/321026

    To make the project run i needed to remove files from the obj directory (./obj/debug and most of the file in obj/release) and to add libraries.

    It was a lot easier if there was a detailed document that explain how to runs the bios examples from code composer.

    Thanks

  • You said that you are able to run the audio example on LCDK board.
    Then still what problem you are getting for running the example ?
    You no need to remove anything but rebuild the project and run the code on CCS as usual.
    processors.wiki.ti.com/.../CCSv6_Getting_Started_Guide
    processors.wiki.ti.com/.../Debug_Handbook_for_CCS

    If you want to add the libraries or include files, refer to the following TI wiki page.
    processors.wiki.ti.com/.../Include_paths_and_options
  • Hi


    Thanks for your answer,I managed to build the project using the CCS5. The errors I got was because I took all the files including the object files of the audio example. after that I managed to compile the project but when I put it in the unit it didn't work. only after changing the order of the added libraries the example start working on the unit.


    The steps I used to build the project was:

    •create new project as explain in document: C6748 BIOSPSP User Guide 03.00.01.00
    •add source and .cfg files from the TI pspbios example (\pdk_C6748_2_0_0_0\biospsp_03_00_01_00\drivers\examples)

    •add libraries needed for the project (i found out which libraries are missing by checking compilation failure output)

    •rearrange the order of the libraries

    •change pin mux to fit the LCDK6748 (the examples are for EVM6748)


    As the examples are TI code it need to run out of the box without any problem, It will be Appreciated to add a readme file that explain which libraries are in use by the example and need to be added and some other tips to build the example. This will save time.

    Thanks

    Ilan