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.

CCS/TMS320C5515: IMPORTING ERROR:: Error: Import failed for project 'ADS1298ECGSystem_v1.12' because its meta-data cannot be interpreted. Please contact support.

Part Number: TMS320C5515
Other Parts Discussed in Thread: ADS1298

Tool/software: Code Composer Studio

hello,

i am trying to run ads1298 ecg mdk applicaion on c5515 evm. i am facing the following issue in importing the project.............

i have read various forum threads regarding the meta-data error but could not find a solution to fix this.


  Error: Import failed for project 'ADS1298ECGSystem_v1.12' because its meta-data cannot be interpreted. Please contact support.

i would like to have a solution to fix and proceed the project.

regards

balasubramanya

  • hello,
    i have resolved the above ERROR, as it seemed to be a very blunt non-observant mistake.
    the issue was with----- trying to import legacy projects using normal:::: import CCS project.....
    to import --------- .pjt------ based project;; i had to select ::::: import legacy CCS v3.3 project option from project-> import menu option.

    but have been faced with a deadly number of errors and warnings while i tried to build the project . here are the errors that i was thrown with................................

    ERRORS:::::::

    Description Resource Path Location Type
    <a href="processors.wiki.ti.com/.../5"> could not open source file "trc.h" pal_osTime.c /ECG_NonBIOS/src line 41 C/C++ Problem

    Description Resource Path Location Type
    <a href="processors.wiki.ti.com/.../5"> could not open source file "sem.h" pal_osSem.c /ECG_NonBIOS/src line 43 C/C++ Problem

    Description Resource Path Location Type
    <a href="processors.wiki.ti.com/.../5"> could not open source file "hwi.h" pal_osprotect.c /ECG_NonBIOS/src line 42 C/C++ Problem

    WARNINGS::::::::::

    A PLENTY OF THEM WHICH I WOULD LIKE TO RESOLVE LATER AFTER CLEARING ALL THE ERRORS..

    would like to have help in resolving of the error.

    thanks

    regards

    balasubramanya
  • Balasubramanya,

    This error is most probably caused by non-existing paths on the Compiler include directories. Please check the following link:
    processors.wiki.ti.com/.../Include_paths_and_options

    Hope this helps,
    Rafael
  • hello Rafael,

    Thanks for the assistance, i did figure out the include path and directories and have added the paths that were missing in the project properties..

    i need assistance with building the project and executing it.

    the project im trying to build is ADS1298_ECGSystem_C5515EVM. i tried to import the legacy project in CCS v7 and have tried resolving certain issues and have still been facing certain issues.

    the errors are::

    Description    Resource    Path    Location    Type
    <a href="processors.wiki.ti.com/.../5"> could not open source file "xdc/std.h"    .ccsproject    /ECG_NonBIOS    line 95, external location: C:\Program Files (x86)\Texas Instruments\bios_6_21_00_13\packages\ti\bios\include\std.h    C/C++ Problem

    similar to the one below , i have 24 errors

    Description    Resource    Path    Location    Type
    gmake: *** [E:/ADS1298 on C5515 ecg appln/ADS1298_ECGSystem_C5515EVM/ADS1298ECGSystem_v1.12/Debug/ADS1298Init.obj] Error 1    ECG_NonBIOS             C/C++ Problem

    i tried finding the file xdc/std.h but the path seemed to have not containing the file ------ std.h

    i shall attach the .zip of my folder and workspace metadata.... please help me in resolving the issue.

    e2e_forum_rafael.zip

  • on finding the path containing the file xdc/std.h............ i did include the path i the project properties..
    on doing so it still remained unresolved................
    so i changed the #include<xdc/std.h> to the complete path
    #include<C:/programfiles(x86)/......../xdctools/....xdc/std.h>
    ended up with another error in some other std.h file

    Description Resource Path Location Type
    <a href="processors.wiki.ti.com/.../5"> could not open source file "ti/targets/std.h" .ccsproject /ECG_NonBIOS line 76, external location: C:\Program Files (x86)\Texas Instruments\bios_5_42_02_10\xdctools\packages\xdc\std.h C/C++ Problem


    thank you

    regards

    balasubramanya
  • the exact path containing the xdc/std.h was::::::::::: C:\Program Files (x86)\Texas Instruments\bios_5_42_02_10\xdctools\packages\xdc
  • the inclusion of the path results in another error
    Description Resource Path Location Type
    could not open source file "ti/targets/select.h" .ccsproject /ECG_NonBIOS line 82, external location: C:\Program Files (x86)\Texas Instruments\bios_5_42_02_10\xdctools\packages\xdc\std.h C/C++ Problem

    in another std.h file.

    im confused with too many errors..

    please help me.

    thank you

    regards

    balasubramanya
  • Hi,

    Unfortunately importing such old project can be tricky. I downloaded and imported the project to my CCSv7.1 workspace. I will describe step-by-step my actions so we can be at the same stage (several steps may have been already completed by you):

    - After the project was imported CCS showed a few issues reported in the file <project.log>. These refer to issues with deprecated compiler options and can be ignored. 

    The Problems view showed a few warnings and one error.

    - The warnings referenced invalid directories. Going to the project build options --> Compiler and selecting the Include options, I spotted two include directories missing: ${XDAIS_CG_ROOT}/packages/ti/xdais and ${C5500_CSL_CG_ROOT}/include. I think these options were leftovers from previous builds when the owner of this software created the package, thus I removed these missing directories as well as one in the linker File Search Path options.

    - The error is that this project specified a product named XDAIS and throws an error after importing. For the same reasons above I opened the project options --> General --> tab RTSC and de-selected this component (it was common for legacy projects to specify this product but have no dependencies on it). 

    - I then tried to build and found the same error as you: missing <std.h> in several source files and <trc.h> in one source file. Legacy projects used to include DSP/BIOS header files by default, thus requiring a suitable DSP/BIOS version to be installed - even if the project does not make use of the BIOS components. I then downloaded a copy of DSP/BIOS 5 and installed it to C:\ti. This detail is important: Windows prevents access to the C:\Program Files or C:\Program Files (x86) directories, therefore it is not recommended to install products in these directories.

    - After installing DSP/BIOS, I added it to the CCS products following the instructions shown at this reference. Go to menu Windows --> Preferences --> Code Composer Studio --> RTSC --> products and then clicked on "Rediscover". It showed me the newly installed DSP/BIOS. 

    - After restarting CCS, I opened the project properties --> General --> tab products and selected the newly added DSP/BIOS. I then added the path "${BIOS_CG_ROOT}/packages/ti/bios/include" to the compiler include path. I then moved this include path (using the own arrow button) to the bottom of the list of include directories. This is important as the project used older versions of the tistdtypes.h file that conflict with the one provided with this release of DSP/BIOS. 

    After that the project built fine, despite some warnings. Most of them relate to unused variables and a non-default entry point (_c_int00), but there are four warnings that may impact functionality: #69-D, #225-D and #994-D.

    The project I converted follows attached. It supposes everything is installed under C:\ti (both the bios_5_42_02_10 and the ADS1298_ECGSystem_C5515EVM)

    Hope this helps,

    Rafael

    ECG_NonBIOS.zip

  • hello rafael,

    Thanks for the assistance, i shall resume to the point of your state later after this week.

    i wanted assistance in using "draw_string" function in chip support library, to print colored text  on lcd provided on C5515 EVM.

    i did try to use the function and was able to achieve the output, but it seems to be flipped and split and cant come around it.

    i checked the lcd font table provided by the CSL and it seems correct.

    i cant understand why the example program... in CSL library version V6.. examples.......... CSL_LCDC_TextDisplayExample folder

    1. if i run the example, the function LCDtextprintDMA uses and prints quarter of the screen and small fonts compare to the actual font table.

    2. if i use the function draw_string without prev called LCDtextprintDMA, it gets split and fliped, like the image i have attached. please assist me in identifying the error or the write way to program or if any changes need to be made.

    the string i have tried to print is "Janitri", but each character is split and rotated and flipped... at its position.

    i shall attach the code source file also.

    please assist me in fixing the issue.

    thank you

    regards

    balasubramanyaCSL_LCDC_TextDisplayExample.zip

  • Balasubramanya,

    The issue you are seeing is related to the example code itself, therefore I contacted one of the applications engineers and he asked me if you could post this to the C5000 Device forum and reference this thread in your new post. This way you would be able to get more specialized help than here in the CCS forum.

    Thank you,
    Rafael
  • hello rafael,

    Sure, i shall open a new thread and post the LCD display issue there later and try to resolve the errors in debugging a part of code copied to run the LCD using draw_string function.

    i shall soon get back to ask for assistance in the ECG-nonBIOS.pjt project building and debuggin after reaching to the state you have reached as provided by you previously.

    thank you

    regards

    balasubramanya

  • hello rafael,
    Great effort in assisting me to completely build the project with the warnings as depicted by you. I shall try to run the project and implement and try to find what exactly is happening and which all functionalities are affected by doing so.
    i shall revert back ASAP.
    i thank you for the interest and effort to resolve the issues.

    thank you

    regards

    balasubramanya
  • Hello again,

    I am trying yo interface ADS1298 with C5515EVM . The objective is to acquire signal information and store it.
    I have run the required CSL examples for my project that shall be of importance.
    The path flow and my objectives::::::::::
    1. Use ECG_nonBIOS.pjt application for obtaining the code for ADS1298 interface.
    2. Use RTC example from CSL library....... for CCS v6.X ............... CSL_RTC_Example_OUT to run the rtc and obtain the current time and date..
    3. Use MMCSD example from CSL library ........... for CCS v6.X............. CSL_MMCSD_SdCardExample_Out to write data into SD card.( Suggest an alternative example from the same library folder of examples, as this doesnt make it into a readable by the operating system)
    4. Use LCD example from CSL Library........ for CCS v6.X ........... CSL_LCDC_TextdispalyExmaple_Out to write strings using "draw_string" on the LCD display provided on the board.

    whilst the above CSL examples are running independently, i would like to combine the three to achieve he following::::::::::::
    Use the time and date generated by the RTC every second to display it on ------------->>LCD, while at the same time store the------>> RTC date and time every second on the -------------->>SD card.
    i would require to combine the three so as to achieve the desired objective.
    I request you to please guide me in combining the three examples into one and achieve the result at the earliest.

    thank you


    regards

    balasubramanya