DSPRelated.com
Forums

Out and Map file not built

Started by stat...@gmail.com March 8, 2012
Thank you for taking the time to respond to my plea for help, Mr Williams!

I went through and made corrections as best I could. My project compiles with no warnings or errors. It turns out that I had made many configuration mistakes...ugh!

So, just to clear up some details, the project that is now at https://github.com/staticd/TheGatorKator/tree/beta is just a shell project so I can make sure I have connectivity and I can run a simple program...kind of like a hello world.

Now that my code compiles, I have run into one little error that has me chasing my tail again. Here is my console output:

***************************************************************************
**** Build of configuration Debug for project TheGatorKator ****

C:\ti\ccsv5\utils\bin\gmake -k all
'Building file: ../Vectors_intr.asm'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="C:\Users\staticd\Documents\COLLEGE\EEL 4935 DSP_FPGA\misc_contents\lib_and_h\C6713dsk.cmd" -mv-mv6710+ -g --define=CHIP_6713 --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --include_path="C:/Users/staticd/Documents/COLLEGE/EEL 4935 DSP_FPGA/misc_contents/lib_and_h" --verbose --display_error_number --diag_warning"5 --mem_model:data --abi=coffabi --preproc_with_compile --preproc_dependency="Vectors_intr.pp" "../Vectors_intr.asm"
--heap_size,-heap,--heap=size
Specify the maximum heap size for C/C++ dynamic
memory allocation.
'Finished building: ../Vectors_intr.asm'
' '
'Building file: ../c6713dskinit.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="C:\Users\staticd\Documents\COLLEGE\EEL 4935 DSP_FPGA\misc_contents\lib_and_h\C6713dsk.cmd" -mv-mv6710+ -g --define=CHIP_6713 --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --include_path="C:/Users/staticd/Documents/COLLEGE/EEL 4935 DSP_FPGA/misc_contents/lib_and_h" --verbose --display_error_number --diag_warning"5 --mem_model:data --abi=coffabi --preproc_with_compile --preproc_dependency="c6713dskinit.pp" "../c6713dskinit.c"
--heap_size,-heap,--heap=size
Specify the maximum heap size for C/C++ dynamic
memory allocation.
'Finished building: ../c6713dskinit.c'
' '
'Building file: ../fir_filter.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="C:\Users\staticd\Documents\COLLEGE\EEL 4935 DSP_FPGA\misc_contents\lib_and_h\C6713dsk.cmd" -mv-mv6710+ -g --define=CHIP_6713 --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --include_path="C:/Users/staticd/Documents/COLLEGE/EEL 4935 DSP_FPGA/misc_contents/lib_and_h" --verbose --display_error_number --diag_warning"5 --mem_model:data --abi=coffabi --preproc_with_compile --preproc_dependency="fir_filter.pp" "../fir_filter.c"
--heap_size,-heap,--heap=size
Specify the maximum heap size for C/C++ dynamic
memory allocation.
'Finished building: ../fir_filter.c'
' '
'Building file: ../gator_kator.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="C:\Users\staticd\Documents\COLLEGE\EEL 4935 DSP_FPGA\misc_contents\lib_and_h\C6713dsk.cmd" -mv-mv6710+ -g --define=CHIP_6713 --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --include_path="C:/Users/staticd/Documents/COLLEGE/EEL 4935 DSP_FPGA/misc_contents/lib_and_h" --verbose --display_error_number --diag_warning"5 --mem_model:data --abi=coffabi --preproc_with_compile --preproc_dependency="gator_kator.pp" "../gator_kator.c"
--heap_size,-heap,--heap=size
Specify the maximum heap size for C/C++ dynamic
memory allocation.
'Finished building: ../gator_kator.c'
' '
'Building target: TheGatorKator.out'
'Invoking: C6000 Linker'
"C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="C:\Users\staticd\Documents\COLLEGE\EEL 4935 DSP_FPGA\misc_contents\lib_and_h\C6713dsk.cmd" -mv-mv6710+ -g --define=CHIP_6713 --verbose --display_error_number --diag_warning"5 --mem_model:data --abi=coffabi -z -m"TheGatorKator.map" --warn_sections -i"C:/ti/ccsv5/tools/compiler/c6000/lib" -i"C:/ti/ccsv5/tools/compiler/c6000/include" -i"C:/Users/staticd/Documents/COLLEGE/EEL 4935 DSP_FPGA/misc_contents/lib_and_h" -i"C:/Users/staticd/Documents/COLLEGE/EEL 4935 DSP_FPGA/project/TheGatorKator" --reread_libs --rom_model -o "TheGatorKator.out" "./gator_kator.obj" "./fir_filter.obj" "./c6713dskinit.obj" "./Vectors_intr.obj" "../csl6713.lib" "../dsk6713bsl.lib" "../rts6700.lib"
--heap_size,-heap,--heap=size
Specify the maximum heap size for C/C++ dynamic
memory allocation.
'Finished building target: TheGatorKator.out'
' '

**** Build Finished ****
***************************************************************************

As you can see, everything builds nicely...EXCEPT, there is no .out or .map file in the build directory (${ProjName}\Debug). Has anyone else run into this?

As a side note, I did figure out that I had a permission issue with Debug. I fixed that and rebuilt, no joy. I then changed the build directory, no joy.

> Details:
> -OS: Win7
> -IDE: CCS v 5.1.0.09000
> -platform: TMS320C6713 DSK by Spectrum Digital
Very Respectfully,
staticd

_____________________________________
staticd,

Caveat:
I'm not on my computer that has CCS, so I may be quite a bit off on some of the
following remarks.

I looked in the /debug directory
the .map file is there.
but not the .pp nor the .obj nor the .out files.
This strongly looks like the 'make clean' target was executed.
I expected the linker libraries to be prefixed by "-l"
To me, this is a strong indication that the CCS project setup is not correct.

I think the lines:
" --heap_size,-heap,--heap=size
> Specify the maximum heap size for C/C++ dynamic
> memory allocation."
indicates an error, probably where --heap=size should be something like
--heap@96 or --heap=0x1000

Is this project being run on a bare machine or under the BIOS?

I'm expecting a bare machine, however, if it is being run under the BIOS,
certain changes will need to be made as the BIOS does not enable interrupts
until after the main() function is exited.
Sorry I'm not more help today.

R. Williams

---------- Original Message -----------
From: s...@gmail.com
To: c...
Sent: Wed, 07 Mar 2012 22:57:22 -0500
Subject: [c6x] Out and Map file not built

> Thank you for taking the time to respond to my plea for help, Mr Williams!
>
> I went through and made corrections as best I could. My project
> compiles with no warnings or errors. It turns out that I had made
> many configuration mistakes...ugh!
>
> So, just to clear up some details, the project that is now at
> https://github.com/staticd/TheGatorKator/tree/beta is just a shell
> project so I can make sure I have connectivity and I can run a simple
> program...kind of like a hello world.
>
> Now that my code compiles, I have run into one little error that has
> me chasing my tail again. Here is my console output:
>
> ***************************************************************************
> **** Build of configuration Debug for project TheGatorKator ****
>
> C:\ti\ccsv5\utils\bin\gmake -k all
> 'Building file: ../Vectors_intr.asm'
> 'Invoking: C6000 Compiler'
> "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -
> -cmd_file="C:\Users\staticd\Documents\COLLEGE\EEL 4935
> DSP_FPGA\misc_contents\lib_and_h\C6713dsk.cmd" -mv-mv6710+ -g --
> define=CHIP_6713 --
> include_path="C:/ti/ccsv5/tools/compiler/c6000/include" -
> -include_path="C:/Users/staticd/Documents/COLLEGE/EEL 4935
> DSP_FPGA/misc_contents/lib_and_h" --verbose --display_error_number --
> diag_warning"5 --mem_model:data --abi=coffabi -
> -preproc_with_compile --preproc_dependency="Vectors_intr.pp"
"../Vectors_intr.asm"
> --heap_size,-heap,--heap=size
> Specify the maximum heap size for C/C++ dynamic
> memory allocation.
> 'Finished building: ../Vectors_intr.asm'
> ' '
> 'Building file: ../c6713dskinit.c'
> 'Invoking: C6000 Compiler'
> "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -
> -cmd_file="C:\Users\staticd\Documents\COLLEGE\EEL 4935
> DSP_FPGA\misc_contents\lib_and_h\C6713dsk.cmd" -mv-mv6710+ -g --
> define=CHIP_6713 --
> include_path="C:/ti/ccsv5/tools/compiler/c6000/include" -
> -include_path="C:/Users/staticd/Documents/COLLEGE/EEL 4935
> DSP_FPGA/misc_contents/lib_and_h" --verbose --display_error_number --
> diag_warning"5 --mem_model:data --abi=coffabi -
> -preproc_with_compile --preproc_dependency="c6713dskinit.pp" "../c6713dskinit.c"
> --heap_size,-heap,--heap=size
> Specify the maximum heap size for C/C++ dynamic
> memory allocation.
> 'Finished building: ../c6713dskinit.c'
> ' '
> 'Building file: ../fir_filter.c'
> 'Invoking: C6000 Compiler'
> "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -
> -cmd_file="C:\Users\staticd\Documents\COLLEGE\EEL 4935
> DSP_FPGA\misc_contents\lib_and_h\C6713dsk.cmd" -mv-mv6710+ -g --
> define=CHIP_6713 --
> include_path="C:/ti/ccsv5/tools/compiler/c6000/include" -
> -include_path="C:/Users/staticd/Documents/COLLEGE/EEL 4935
> DSP_FPGA/misc_contents/lib_and_h" --verbose --display_error_number --
> diag_warning"5 --mem_model:data --abi=coffabi -
> -preproc_with_compile --preproc_dependency="fir_filter.pp" "../fir_filter.c"
> --heap_size,-heap,--heap=size
> Specify the maximum heap size for C/C++ dynamic
> memory allocation.
> 'Finished building: ../fir_filter.c'
> ' '
> 'Building file: ../gator_kator.c'
> 'Invoking: C6000 Compiler'
> "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -
> -cmd_file="C:\Users\staticd\Documents\COLLEGE\EEL 4935
> DSP_FPGA\misc_contents\lib_and_h\C6713dsk.cmd" -mv-mv6710+ -g --
> define=CHIP_6713 --
> include_path="C:/ti/ccsv5/tools/compiler/c6000/include" -
> -include_path="C:/Users/staticd/Documents/COLLEGE/EEL 4935
> DSP_FPGA/misc_contents/lib_and_h" --verbose --display_error_number --
> diag_warning"5 --mem_model:data --abi=coffabi -
> -preproc_with_compile --preproc_dependency="gator_kator.pp" "../gator_kator.c"
> --heap_size,-heap,--heap=size
> Specify the maximum heap size for C/C++ dynamic
> memory allocation.
> 'Finished building: ../gator_kator.c'
> ' '
> 'Building target: TheGatorKator.out'
> 'Invoking: C6000 Linker'
> "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -
> -cmd_file="C:\Users\staticd\Documents\COLLEGE\EEL 4935
> DSP_FPGA\misc_contents\lib_and_h\C6713dsk.cmd" -mv-mv6710+ -g --
> define=CHIP_6713 --verbose --display_error_number --diag_warning"5 --
> mem_model:data --abi=coffabi -z -m"TheGatorKator.map" -
> -warn_sections -i"C:/ti/ccsv5/tools/compiler/c6000/lib" -
> i"C:/ti/ccsv5/tools/compiler/c6000/include" -
> i"C:/Users/staticd/Documents/COLLEGE/EEL 4935
> DSP_FPGA/misc_contents/lib_and_h" -
> i"C:/Users/staticd/Documents/COLLEGE/EEL 4935
> DSP_FPGA/project/TheGatorKator" --reread_libs --rom_model -o
> "TheGatorKator.out" "./gator_kator.obj" "./fir_filter.obj"
> "./c6713dskinit.obj" "./Vectors_intr.obj" "../csl6713.lib"
> "../dsk6713bsl.lib" "../rts6700.lib" --heap_size,-heap,--heap=size
> Specify the maximum heap size for C/C++
> dynamic memory allocation. 'Finished
> building target: TheGatorKator.out' ' '
>
> **** Build Finished ****
> ***************************************************************************
>
> As you can see, everything builds nicely...EXCEPT, there is no .out or
> .map file in the build directory (${ProjName}\Debug). Has anyone else
> run into this?
>
> As a side note, I did figure out that I had a permission issue with
> Debug. I fixed that and rebuilt, no joy. I then changed the build
> directory, no joy.
>
> > Details:
> > -OS: Win7
> > -IDE: CCS v 5.1.0.09000
> > -platform: TMS320C6713 DSK by Spectrum Digital
>
> Very Respectfully,
> staticd
------- End of Original Message -------

_____________________________________
Thanks, Mr Williams. I have punted with starting a new project. I am modifying a legacy version that compiles and loads to the board. I am not spending the time in the right place so I just have to press on for now.

Thanks, again.

Best,
staticd

-----Original Message-----
From: Richard Williams [mailto:r...@lewiscounty.com]
Sent: Thursday, March 08, 2012 6:33 PM
To: s...@gmail.com; c...
Subject: Re: [c6x] Out and Map file not built
staticd,

Caveat:
I'm not on my computer that has CCS, so I may be quite a bit off on some of the following remarks.

I looked in the /debug directory
the .map file is there.
but not the .pp nor the .obj nor the .out files.
This strongly looks like the 'make clean' target was executed.
I expected the linker libraries to be prefixed by "-l"
To me, this is a strong indication that the CCS project setup is not correct.

I think the lines:
" --heap_size,-heap,--heap=size
> Specify the maximum heap size for C/C++ dynamic
> memory allocation."
indicates an error, probably where --heap=size should be something like
--heap@96 or --heap=0x1000

Is this project being run on a bare machine or under the BIOS?

I'm expecting a bare machine, however, if it is being run under the BIOS, certain changes will need to be made as the BIOS does not enable interrupts until after the main() function is exited.
Sorry I'm not more help today.

R. Williams

---------- Original Message -----------
From: s...@gmail.com
To: c...
Sent: Wed, 07 Mar 2012 22:57:22 -0500
Subject: [c6x] Out and Map file not built

> Thank you for taking the time to respond to my plea for help, Mr Williams!
>
> I went through and made corrections as best I could. My project
> compiles with no warnings or errors. It turns out that I had made
> many configuration mistakes...ugh!
>
> So, just to clear up some details, the project that is now at
> https://github.com/staticd/TheGatorKator/tree/beta is just a shell
> project so I can make sure I have connectivity and I can run a simple
> program...kind of like a hello world.
>
> Now that my code compiles, I have run into one little error that has
> me chasing my tail again. Here is my console output:
>
> **********************************************************************
> *****
> **** Build of configuration Debug for project TheGatorKator ****
>
> C:\ti\ccsv5\utils\bin\gmake -k all
> 'Building file: ../Vectors_intr.asm'
> 'Invoking: C6000 Compiler'
> "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -
> -cmd_file="C:\Users\staticd\Documents\COLLEGE\EEL 4935
> DSP_FPGA\misc_contents\lib_and_h\C6713dsk.cmd" -mv-mv6710+ -g --
> define=CHIP_6713 --
> include_path="C:/ti/ccsv5/tools/compiler/c6000/include" -
> -include_path="C:/Users/staticd/Documents/COLLEGE/EEL 4935
> DSP_FPGA/misc_contents/lib_and_h" --verbose --display_error_number --
> diag_warning"5 --mem_model:data --abi=coffabi -
> -preproc_with_compile --preproc_dependency="Vectors_intr.pp"
"../Vectors_intr.asm"
> --heap_size,-heap,--heap=size
> Specify the maximum heap size for C/C++ dynamic
> memory allocation.
> 'Finished building: ../Vectors_intr.asm'
> ' '
> 'Building file: ../c6713dskinit.c'
> 'Invoking: C6000 Compiler'
> "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -
> -cmd_file="C:\Users\staticd\Documents\COLLEGE\EEL 4935
> DSP_FPGA\misc_contents\lib_and_h\C6713dsk.cmd" -mv-mv6710+ -g --
> define=CHIP_6713 --
> include_path="C:/ti/ccsv5/tools/compiler/c6000/include" -
> -include_path="C:/Users/staticd/Documents/COLLEGE/EEL 4935
> DSP_FPGA/misc_contents/lib_and_h" --verbose --display_error_number --
> diag_warning"5 --mem_model:data --abi=coffabi -
> -preproc_with_compile --preproc_dependency="c6713dskinit.pp" "../c6713dskinit.c"
> --heap_size,-heap,--heap=size
> Specify the maximum heap size for C/C++ dynamic
> memory allocation.
> 'Finished building: ../c6713dskinit.c'
> ' '
> 'Building file: ../fir_filter.c'
> 'Invoking: C6000 Compiler'
> "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -
> -cmd_file="C:\Users\staticd\Documents\COLLEGE\EEL 4935
> DSP_FPGA\misc_contents\lib_and_h\C6713dsk.cmd" -mv-mv6710+ -g --
> define=CHIP_6713 --
> include_path="C:/ti/ccsv5/tools/compiler/c6000/include" -
> -include_path="C:/Users/staticd/Documents/COLLEGE/EEL 4935
> DSP_FPGA/misc_contents/lib_and_h" --verbose --display_error_number --
> diag_warning"5 --mem_model:data --abi=coffabi -
> -preproc_with_compile --preproc_dependency="fir_filter.pp" "../fir_filter.c"
> --heap_size,-heap,--heap=size
> Specify the maximum heap size for C/C++ dynamic
> memory allocation.
> 'Finished building: ../fir_filter.c'
> ' '
> 'Building file: ../gator_kator.c'
> 'Invoking: C6000 Compiler'
> "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -
> -cmd_file="C:\Users\staticd\Documents\COLLEGE\EEL 4935
> DSP_FPGA\misc_contents\lib_and_h\C6713dsk.cmd" -mv-mv6710+ -g --
> define=CHIP_6713 --
> include_path="C:/ti/ccsv5/tools/compiler/c6000/include" -
> -include_path="C:/Users/staticd/Documents/COLLEGE/EEL 4935
> DSP_FPGA/misc_contents/lib_and_h" --verbose --display_error_number --
> diag_warning"5 --mem_model:data --abi=coffabi -
> -preproc_with_compile --preproc_dependency="gator_kator.pp" "../gator_kator.c"
> --heap_size,-heap,--heap=size
> Specify the maximum heap size for C/C++ dynamic
> memory allocation.
> 'Finished building: ../gator_kator.c'
> ' '
> 'Building target: TheGatorKator.out'
> 'Invoking: C6000 Linker'
> "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -
> -cmd_file="C:\Users\staticd\Documents\COLLEGE\EEL 4935
> DSP_FPGA\misc_contents\lib_and_h\C6713dsk.cmd" -mv-mv6710+ -g --
> define=CHIP_6713 --verbose --display_error_number --diag_warning"5
> -- mem_model:data --abi=coffabi -z -m"TheGatorKator.map" -
> -warn_sections -i"C:/ti/ccsv5/tools/compiler/c6000/lib" -
> i"C:/ti/ccsv5/tools/compiler/c6000/include" -
> i"C:/Users/staticd/Documents/COLLEGE/EEL 4935
> DSP_FPGA/misc_contents/lib_and_h" -
> i"C:/Users/staticd/Documents/COLLEGE/EEL 4935
> DSP_FPGA/project/TheGatorKator" --reread_libs --rom_model -o
> "TheGatorKator.out" "./gator_kator.obj" "./fir_filter.obj"
> "./c6713dskinit.obj" "./Vectors_intr.obj" "../csl6713.lib"
> "../dsk6713bsl.lib" "../rts6700.lib" --heap_size,-heap,--heap=size
> Specify the maximum heap size for C/C++
> dynamic memory allocation. 'Finished
> building target: TheGatorKator.out' ' '
>
> **** Build Finished ****
> **********************************************************************
> *****
>
> As you can see, everything builds nicely...EXCEPT, there is no .out or
> .map file in the build directory (${ProjName}\Debug). Has anyone else
> run into this?
>
> As a side note, I did figure out that I had a permission issue with
> Debug. I fixed that and rebuilt, no joy. I then changed the build
> directory, no joy.
>
> > Details:
> > -OS: Win7
> > -IDE: CCS v 5.1.0.09000
> > -platform: TMS320C6713 DSK by Spectrum Digital
>
> Very Respectfully,
> staticd
------- End of Original Message -------

_____________________________________