I want to build the project coming with ADS1298 ECG FE board, I searched in the forum and make the arrangements below. However I still cannot build the project. I also added the error message.
Thanks for your help in advance.
I added below paths to Include options respectively,
C:\Program Files (x86)\Texas Instruments\bios_5_41_02_14\packages\ti\bios\include
Under "Runtime Model Options", "use large memory model" and "codegen outputs algebraic assembly" are ticked. Assembly source language is "algebraic".
I added all files under "ADS1298ECGSystem_v1.12" to my project. Since I get .obj file errors, under "Directory specifier" in the build options, I changed the path for the last entity (listing xref file directory) to "D:\Project Workspace\ADS1298_ECGSystem_C5515EVM\ADS1298ECGSystem_v1.12\Debug". After completing all of these steps I get the error messages below.
This request is probably served better in the DSP forum...but I digress...
I searched around the C5515 wiki a little bit and found this which seems to cover everything you need to import and compile the project, short of a reference to including std.h from DSP/BIOS. The order of the include files seems to matter in CCSv4.
I downloaded the source, followed those steps, and got a clean compile. Maybe start from a clean download of the source, follow those steps and see what success you have.
In CCSv4 you can share all of your compiler/linker settings pretty easily - so if this doesn't work for you go to Project Properties > C5500 Compiler > All Options (click on C5500 Compiler, this isn't one of the drop downs) and share what you see. See my compiler settings below:
-vcore:3.3 -g --define="_DEBUG" --define="C55X" --include_path="C:/Documents and Settings/aXXXXXX/My Documents/Downloads/C5515ADS1298/ADS1298_ECGSystem_C5515EVM/ADS1298ECGSystem_v1.12/inc" --include_path="C:/Documents and Settings/aXXXXXX/My Documents/Downloads/C5515ADS1298/ADS1298_ECGSystem_C5515EVM/ADS1298ECGSystem_v1.12/common_inc" --include_path="C:/Program Files/Texas Instruments/bios_5_41_10_36/packages/ti/bios/include" --include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/C5500 Code Generation Tools 4.3.9/include" --include_path="C:/Program Files/Texas Instruments/xdais_7_10_00_06/packages/ti/xdais" --include_path="C:/CCSTUD~1.1/C5500/csl/include" --diag_warning=225 --large_memory_model --algebraic --memory_model=huge --obj_directory="C:/Documents and Settings/aXXXXXX/My Documents/Downloads/C5515ADS1298/ADS1298_ECGSystem_C5515EVM/ADS1298ECGSystem_v1.12/Debug"
Similarly fetch the linker settings. Project Properties > C5500 Linker > All Options. My linker settings are below:
-z -m"C:/Documents and Settings/aXXXXXXMy Documents/Downloads/C5515ADS1298/ADS1298_ECGSystem_C5515EVM/ADS1298ECGSystem_v1.12/Debug/ECGSystem.map" --stack_size=1000 --warn_sections -i"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/C5500 Code Generation Tools 4.3.9/lib" -i"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/C5500 Code Generation Tools 4.3.9/include" -i"C:/Documents and Settings/aXXXXXXX/My Documents/Downloads/C5515ADS1298/ADS1298_ECGSystem_C5515EVM/ADS1298ECGSystem_v1.12/ECG_NonBIOS" -i"C:/Documents and Settings/aXXXXXXX/My Documents/Downloads/C5515ADS1298/ADS1298_ECGSystem_C5515EVM/ADS1298ECGSystem_v1.12" -i"C:/CCSTUD~1.1/C5500/csl/lib" --reread_libs --entry_point=reset_isr --rom_model --sys_stacksize=1000
-------------------------------------- Kevin Duke Precision DAC Applications
There is also a forum post about the matter here
I appreciate this detailed explanation. Here are my build setting and linker settings. I couldn't understand the source for the error.
-vcore:3.3 -g --define="_DEBUG" --define="C55X" --include_path="D:/Project Workspace/ADS1298_ECGSystem_C5515EVM/ADS1298ECGSystem_v1.12/inc" --include_path="D:/Project Workspace/ADS1298_ECGSystem_C5515EVM/ADS1298ECGSystem_v1.12/common_inc" --include_path="D:/Project Workspace/ADS1298_ECGSystem_C5515EVM/ADS1298ECGSystem_v1.12/src" --include_path="C:/Program Files (x86)/Texas Instruments/bios_6_21_00_13/packages/ti/bios/include" --include_path="C:/Program Files (x86)/Texas Instruments/ccsv4/tools/compiler/c5500/include" --include_path="C:/Program Files (x86)/Texas Instruments/xdais_6_25_01_08/packages/ti/xdais" --include_path="/include" --include_path="C:/Program Files (x86)/Texas Instruments/ccsv4/tools/compiler/c5500/include" --diag_warning=225 --large_memory_model --algebraic --memory_model=huge --obj_directory="D:/Project Workspace/ADS1298_ECGSystem_C5515EVM/ADS1298ECGSystem_v1.12/Debug"
And here is my linker settings:
-z -m"D:/Project Workspace/ADS1298_ECGSystem_C5515EVM/ADS1298ECGSystem_v1.12/Debug/ECGSystem.map" --stack_size=1000 --warn_sections -i"C:/Program Files (x86)/Texas Instruments/ccsv4/tools/compiler/c5500/lib" -i"C:/Program Files (x86)/Texas Instruments/ccsv4/tools/compiler/c5500/include" -i"D:/Project Workspace/ADS1298_ECGSystem_C5515EVM/ADS1298ECGSystem_v1.12/ECG_NonBIOS" -i"D:/Project Workspace/ADS1298_ECGSystem_C5515EVM/ADS1298ECGSystem_v1.12" -i"/lib" --reread_libs --entry_point=reset_isr --rom_model --sys_stacksize=1000
I also added the error console below:
There is also a forum post about the matter here
I finally build the code, but the .out file is not generated and now I am trying to understand this. If you have any suggestions I will appreciate.
Thank you for your help.
Can you post your console output toward the end of the build? Just curious what the project is building right now...the .out artifact should be there for just about every build in every project.
Here is my console view, I crossed out the irrelevant projects:
The console seems to indicate that the build was successful and your .out file should be at D:/Project Workspace/ADS1298_ECGSystem_C5515EVM/ADS1298_ECGSystem_C5515EVM/ADS1298ECGSystem_v1.12/Debug/ECGSystem.out
...is the .out file not in this location? Is there something wrong with the .out file? Might be time to discuss with the CCS folks on their forum to get this part of the issue resolved. The console output looks happy so there is very little I know to do in the realm of remote debugging...
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.