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.
Part Number: TMS320C5545
Tool/software: Code Composer Studio
Dear Support:
I am using the C5545 BoosterPack and trying to follow the build process as described in the Software Users Guide and running into problems building the example described in Secion 3.2.3.2. When trying to build the c55AudioDemo project as called out in these steps, I am able to build the libraries ok (i.e., atafs_bios_drv.lib, C55XXCSL_LP, and TIesrEngineC55) although the project TIesrEngineC55 was not referenced in the documentation, but I figured it out. I had some issues getting these libraries to build successfully, but they were fairly minor. However when building the final project "c55AudioDemo", it fails with the following error:
<Linking>
fatal error #16004: file
"C:/ti/c55_lp/c55_csl_3.06/ccs_v6.x_examples/drv/atafs/atafs_bios_drv_lib/Re
lease/atafs_bios_drv_lib.lib<ata_fileinit.obj>" has a Tag_Memory_Model
attribute value of "2" that is different than one previously seen ("3");
combining incompatible files
gmake: *** [c55AudioDemo.out] Error 1
gmake: Target 'all' not remade because of errors.
I have checked the Project properties of the different libraries relative to the final project and don't see any differences. And I followed the directions in the SW Users Manual correctly. One issue is that the "device+ optional revision of target silicon (--silicon_version, -v)" option in the Build->C5500 Compiler->Processor Options is set to "5515" for the "atafs_bios_drv_lib", c55AudioDemo", and "C55XXCSL_LP", but for "TIesrEngineC55" is set to "cpu:3.3". Do you know why this is set this way? And your thoughts as to what is causing the linking problem I am having above?
Thanks,
Tim
Hey Lali:
Please see attached the csl_general.h file that I am using. I have followed the directions on page 12 of the sprui92.pdf document and they all libraries and project have the same property settings:
Poperties->CCS Build->C5500 Compiler->Processor Options->Specify memory model (small/large/huge) - set to "huge"
Poperties->CCS Build->C5500 Compiler->AdvancedOptions->RunTime Model Options->Specify type size to hold results of pointer math = 32
Please let me know if I am missing anything. Are you able to follow these directions and build this successfully? Strangely I am able to build "led_test", "uart_test", "audio_line_in_loopback_test", etc successfully. Just having a problem with this c55AudioDemo project. Please advise.
Thanks,
Tim
Hi Tim,
Yes, I was able to build it. I just took a look at the csl_general.h that you provided and it matches the one I'm using.
I have a feeling what's tripping you up are build profiles.
When you adjusted the memory model settings in the various dependent projects, were you doing that in the RELEASE profile of that particular project?
The c55AudioDemo Project uses the RELEASE profiles of C55XXCSL_LP and atafs_bios_drv_lib. NOT Debug.
Tim,
That's strange. I'm using the .cmd located at:
\c5545bp_software_01.01.00.00\source_code\c5545bp_audio_demo\build\c55xx.cmd
Do you have an additonal .cmd specified in the c55AudioDemo project properties Linker command file field?
I have also attached one.
Sorry for the trouble you are encountering. I would like to take some notes on your user experience once we are done to see what we can improve.
./cfs-file/__key/communityserver-discussions-components-files/791/1185.c55xx.cmd
Lali