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.

.out not created



Hi...

I'm using CCS5.5 to work on a 5510 DSK. recently i copied an old project, edited it, and tried to generate a .hex file, but CCS is not creating a .out file to start from...

Any suggestions on what might be the problem?

note: the old project was working fine and generating the .hex file as well, here I just changed some names.

best regards

Aziz

  • Hello Aziz,
    Without more details on the issue, it is difficult to help. A reproducible test case is always best. Also provide any error messages, warning, etc that appeared in the problems view and build console. Copy and pasting the entire build output here is also helpful.

    Thanks
    ki
  • hi Ki

    I'm sorry for the lack of details... I tried to copy a project, so I created a new empty project, managed the setting (include libraries and search paths, ...), and copied all the scripts to the new project directory (.c files, .h files and .asm files). but when I build, no .out file appears to be created (I need it to create a .he file).

    no error blocks the build operation (just some usual warnings), but when I look into the console tab it looks something like this:

    "C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
    'Building file: ../AIC23_Codec.asm'
    'Invoking: C5500 Compiler'
    "C:/ti/ccsv5/tools/compiler/c5500_4.4.1/bin/cl55" --memory_model=large -g --include_path="C:/ti/ccsv5/tools/compiler/c5500_4.4.1/include" --include_path="C:/ti/C55xxCSL/include" --include_path="C:/ti/dsk5510/c5500/dsk5510/include" --include_path="C:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="C:/Users/aziz/workspace_v5_5/test_mod/Debug" --include_path="C:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="C:/ti/bios_5_42_01_09/packages/ti/rtdx/include/c5500" --define=vc5510a --define=CHIP_5510 --display_error_number --diag_warning=225 --ptrdiff_size=32 --algebraic --asm_source=mnemonic --preproc_with_compile --preproc_dependency="AIC23_Codec.pp"  "../AIC23_Codec.asm"
    ERROR!  : Cannot open source file 21: No such file or directory

    >> Compilation failure
    gmake: *** [AIC23_Codec.obj] Error 1
    'Building file: ../FIR_filter_C.c'
    'Invoking: C5500 Compiler'
    "C:/ti/ccsv5/tools/compiler/c5500_4.4.1/bin/cl55" --memory_model=large -g --include_path="C:/ti/ccsv5/tools/compiler/c5500_4.4.1/include" --include_path="C:/ti/C55xxCSL/include" --include_path="C:/ti/dsk5510/c5500/dsk5510/include" --include_path="C:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="C:/Users/aziz/workspace_v5_5/test_mod/Debug" --include_path="C:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="C:/ti/bios_5_42_01_09/packages/ti/rtdx/include/c5500" --define=vc5510a --define=CHIP_5510 --display_error_number --diag_warning=225 --ptrdiff_size=32 --algebraic --asm_source=mnemonic --preproc_with_compile --preproc_dependency="FIR_filter_C.pp"  "../FIR_filter_C.c"
    "../FIR_filter_C.c", line 10: warning #225-D: function declared implicitly
    "../FIR_filter_C.c", line 10: warning #225-D: function declared implicitly
    ERROR!  : Cannot open source file 73: No such file or directory

    >> Compilation failure
    gmake: *** [FIR_filter_C.obj] Error 1

    ...

    this is a part of the console log, this goes on for most of the files in the project (I didn't  paste them here for simplicity)

    any thoughts?

    best regards

    aziz

  • Hi aziz,

    aziz shammas said:
    "C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
    'Building file: ../AIC23_Codec.asm'
    'Invoking: C5500 Compiler'
    "C:/ti/ccsv5/tools/compiler/c5500_4.4.1/bin/cl55" --memory_model=large -g --include_path="C:/ti/ccsv5/tools/compiler/c5500_4.4.1/include" --include_path="C:/ti/C55xxCSL/include" --include_path="C:/ti/dsk5510/c5500/dsk5510/include" --include_path="C:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="C:/Users/aziz/workspace_v5_5/test_mod/Debug" --include_path="C:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="C:/ti/bios_5_42_01_09/packages/ti/rtdx/include/c5500" --define=vc5510a --define=CHIP_5510 --display_error_number --diag_warning=225 --ptrdiff_size=32 --algebraic --asm_source=mnemonic --preproc_with_compile --preproc_dependency="AIC23_Codec.pp"  "../AIC23_Codec.asm"
    ERROR!  : Cannot open source file 21: No such file or directory

    The two options I bolded in red directly conflict with each other. The compiler is configured to generate algebraic assembly but the assembler is configured to parse mnemonic assembly. Hence the error and build failure. It is confusing to me why the build properties allow people to configure the build options like so, which that can lead to these conflicts. In any case, that is the issue and it can be resolve by removing the contradiction.

    Thanks

    ki

  • Hi ki.
    thank you for the reply, those errors are resolved now. there is only one issue remaining; at the end of the log in the console I had this :

    'Building target: test_mod.out'
    'Invoking: C5500 Linker'
    "C:/ti/ccsv5/tools/compiler/c5500_4.4.1/bin/cl55" --memory_model=large -g --preproc_with_comment --define=vc5510a --define=CHIP_5510 --display_error_number --diag_warning=225 --ptrdiff_size=32 --algebraic --asm_source=mnemonic -z -m"test_mod.map" --stack_size=0x200 --heap_size=0x400 -i"C:/ti/ccsv5/tools/compiler/c5500_4.4.1/lib" -i"C:/ti/ccsv5/tools/compiler/c5500_4.4.1/include" -i"C:/ti/bios_5_42_01_09/packages/ti/rtdx/lib/c5500" -i"C:/ti/bios_5_42_01_09/packages/ti/bios/lib" --reread_libs --display_error_number --warn_sections --xml_link_info="test_mod_linkInfo.xml" --rom_model --sys_stacksize=0x200 -o "test_mod.out" -l"./test_modcfg.cmd" "./w_table.obj" "./test_modcfg_c.obj" "./test_modcfg.obj" "./symFir.obj" "./math_lib.obj" "./main.obj" "./mac_r.obj" "./firsym.obj" "./fft.obj" "./dualMacFir.obj" "./bit_rev.obj" "./ShiftDlyLine.obj" "./Modemcfg_c.obj" "./MAVG_filter_C.obj" "./L_mac.obj" "./L_add.obj" "./FIR_filter_C.obj" "./AIC23_Codec.obj" -l"C:\ti\C55xxCSL\lib\csl5510PG2_2x.lib" -l"C:\ti\dsk5510\c5500\dsk5510\lib\dsk5510bsl.lib"
    >> ERROR: no source files, nothing to do
    'Finished building target: test_mod.out'
    ' '
    and yet, no .out file was created in the directory
    any ideas?
    best regards
    aziz
  • Did you manually specify a specific link order? Would it be possible to share your project?

    Thanks
    ki
  • Hi Ki
    I didn't mess with any link order, what i did is the following:
    -created an empty project
    - included search paths (for CSL, BSL, and BIOS)
    - included CSL and BSL
    - defined the chip symbol(C5510)
    - added (copied) the .asm, .c, and .h files created earlier in another project(it was created by the guy that worked here before me)
    - created a .tcf file and copied same configuration from the old .cdb project, since the old one was created on CCS 3, and I'm having a lot of trouble trying to convert it to tcf. there wasn't much stuff to do, only a processBuffer thread.

    mainly that's it, but the message in the console said: ERROR: no source files, nothing to do, and no .out file or .map file was created.

    about sharing the project; as I mentioned, it was not my own work, I'm just trying to migrate the old work to CCS5.5 and get rid of that old machine holding XP and CCS3, and either way, the lab has strict policy of not sharing any work done here, that is property of the lab on any forum or site, so I'm so sorry about that.

    any ideas or suggestion on what might be the problem?
    again, thank you for your kind help
    best regards
    aziz
  • The most common reason for "ERROR: no source files, nothing to do" message is that there are some invalid characters passed to the linker from CCS. I've seen this issue occur when people import an old CCSv3 project into a more recent CCS version - which is exactly what you are doing. Also sounds like you are moving from BIOS 4.x to BIOS 5.x, which is a big change. Did you check out: processors.wiki.ti.com/.../Migrating_from_BIOS_4.9_to_BIOS_5.x
    I would actually recommend migrating your cdb to tcf first in CCSv3.3.

    Also, carefully go through the project options and make sure they are good - focus on search paths (this is a common area where errors occur).

    I looked at your linker build message output and I don't see anything odd at first glance. I'll need to look again more carefully. It would be helpful if I had the project but I understand your restrictions in providing it.
  • Hi Ki
    thank you for the reply...
    what I did that I created a new project, AGAIN, and managed all the setting, and added the code of the audio app... no errors appeared, a .out file and a .hex file were created, and the sound is going out fine.

    now I'm having a problem of another kind, I don't know if I should put it here, or in new post in this forum, or in another forum:
    when I'm building the audio app the sound is getting in and out with no problems, so i started importing the files from my old CCS3 project, one by one. When I first imported a library file "math_lib.c" and it's header requirements "constant.h", "mat.h" ..., the build is still going with no errors, no suspicious messages in the console, but when i burn to the flash no sound is getting out.
    this is not logical to me, I'm not even calling any functions in my main from this library, just including it... what makes this even weirder, is that when I delete this library, the problem is not resolved, No sound is getting out...

    Is there any explanation why is this happening?

    best regards
    aziz
  • aziz shammas said:
    now I'm having a problem of another kind, I don't know if I should put it here, or in new post in this forum, or in another forum:
    when I'm building the audio app the sound is getting in and out with no problems, so i started importing the files from my old CCS3 project, one by one. When I first imported a library file "math_lib.c" and it's header requirements "constant.h", "mat.h" ..., the build is still going with no errors, no suspicious messages in the console, but when i burn to the flash no sound is getting out.
    this is not logical to me, I'm not even calling any functions in my main from this library, just including it... what makes this even weirder, is that when I delete this library, the problem is not resolved, No sound is getting out...

    This question is likely best asked in the C5000 device forums. The experts there can offer more suggestions.

    Thanks

    ki