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.

question about include file for Sinewave Generator Example

Hello:

I downloaded the Sinewave Generator Example Project using C674* and CCSv4 from TI's website "Teaching material ROM". It contains the original code and I ran them in my CCSv5.4.0 and C6713 dsk.

 

However, there is only one error which disabled the sine wave generation:

 

this is the orignal code of main.c:

 

Please notice that #include "CCS4_Introcfg.h"

My CCS5 told me it cannot find CCS4_introcfg.h

But in fact, I did have this .h file at all!     I googled and there was no any clue about this .h file.

 

Could you please tell me which lib this .h file belongs to?

And are there any other alternative .h file for me to include?

 

Thank you very much

  • Hi,

    Can you try copying the file from the directory and pasting the same under projects tab in CCS?

    Regards,

    Gautam

  • Yu Zhang,

    You will want to follow all of the instructions that come with the Teaching ROM. That may include the need to use CCSv4 and a C674x target system. The use of CCSv5.4.0 and a C6713 DSK might not be compatible, but I cannot say that with certainty since I am not directly familiar with this material.

    The Teaching ROMs are provided by the TI University Program for academics, and should include a contact for technical questions. Are you an instructor at a university? Are you registered with the TI University Program?

    The name "CCS4_Introcfg.h" implies to me that an older version of DSP/BIOS was used. We are currently on SYS/BIOS 6, and you may be referencing a project that uses DSP/BIOS 5 or earlier. DSP/BIOS 5 is used to configure the memory components and some of the O/S infrastructure for your application. The procedures included with the Teaching ROM should walk you through that process, so following all of those instructions will be vital to your success. If you copied a file and it did not build, please go back to the procedures described in the Teaching ROM to help you.

    Regards,
    RandyP