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.
Hi everyone,
I have recently started a project for school using an EVMDM642 (I believe that it is version 1 of the board). I started on ccsv3.1, but I have decided to try out v4.1 because of issues I was having with v3.1. My only goal at the moment is to build some of the examples that I have. I got the examples off of a cd labeled "TMS320CM642 EVM Software CD-Rom". I have been able to load the .out files onto the board using both ccsv3.1 and ccsv4.1 (I am using the Spectrum Digital XDS510 USB to load the programs). The problem happens when I try to build the example from the project files provided. I have not been able to build any of the examples in ccsv4.1. Below is a screenshot of the errors after the build. I am not concerned about the vport.h file because I have multiple copies of that file floating around. I just don't know where the std.h file is, it isn't on my PC anywhere. So there are two solutions that I am looking for:
1. Does anyone know where or have a copy of the std.h file?
2. Does anyone have any examples for the EVMDM642 board using CCSv4.1? Right now my goal is to just build a project that takes a composite video input (NTSC), then output to vga. I don't even what to process the video yet, I just need something to start from.
Also, I have tried downloading the Target Content for the EVMDM642 version 3 from the Spectrum Digital website, but I have not been able to get the example to work on my board. I have managed to get a green screen from one of the example (I think RF5 motion detect) but that is about it.
Thanks for the help!
-Chanse
Hi Chanse,
I see that there is a BIOS CDB file in your project. Looks like your project is a BIOS 4.9x project. (which is what CCS 3.1 ships with). CCSv4 does not support importing BIOS 4.9x projects. I'd recommend migrating your project to BIOS 5x first, then import it into CCSv4. You download standalone versions of BIOS 5 from this link:
http://software-dl.ti.com/dsps/dsps_registered_sw/sdo_sb/targetcontent/bios/index.html
Here is a wiki topic on migrating from BIOS 4.9 to BIOS 5
http://processors.wiki.ti.com/index.php/Migrating_from_BIOS_4.9_to_BIOS_5.x
Thanks
ki
Hi Ki,
Thanks for the quick response. I think that I have managed to update the BIOS and I think I am getting farther than before, but I am still having some problems. In the screen shot below ccs is saying that it cannot open vport.h. I have added the folder to the includes myself and it definitely opens (even if I open the evmdm642_vcapparamsNTSC_EMBEDDED.c file and right click of vport.h to open it). So I believe the file is there, but the error message says that it is searching in vga/settings (the location of the .c file with the "#include <vport.h>"). I managed to get rid of this error by adding the vport.h file to the settings directory (just to try and quick and dirty fix), but then the vport.h couldn't open csl.h. So I tried moving that and then that file couldn't open something else. So there seems to be some sort of linking problem, but I cannot figure out how to fix it.
Also, here is an image of the directory structure outside of ccs, I don't know if this will help. The example that I am trying to compile is under \evmdm642\examples\video. The vport.h file is found under \ddk\include. Also, I have added the csl directory from another example directory that I found. I have read something about the csl and the new BIOS, but I wasn't sure what it was talking about, it almost sounded like I don't need it, but I am not sure.
Let me know if you need anymore information.
Once again, thanks for the help!
-Chanse
Hello Chanse,
When you tell the compiler to include a header file, the compiler does its best to try and find it; however, it will not to a recursive search over the entire file system in order to do so (i.e., it will not search your entire C drive, D drive, E drive, etc...). To get around this you must give the compiler a search path so that it knows where you have placed these header files.
To specify a search path go into the project build properties (right click the project, select Build Properties...). On the far left you should see C/C++ Build highlighted by default, and under the Configuration Settings pane select Include Options: under the C6000 Compiler. In here you can add a number of search paths to help guide the compiler to all the directories that may contain one of the necessary header files.
Once you update this to the appropriate folders you should see the missing header file compiler errors go away.
Hi Tim,
That is something that took me a while to figure out because I am new to CCS and to the C language, but I have added the path for vport.h to the includes. There is actually another file in the project that requires vport.h and doesn't have any problems with it (the file is called video_rgb.c and it is under the folder "tests"). The directory I included was under \ddk\include. I can't figure out why the video_rgb.c compiles without errors and the evmdm642_vdisparamsSVGA.c cannot compile. The only difference that I see between the two is that video_rgb.c is located in the tests folder and the other one is in the settings folder, but I don't see any options that prevent the files in the settings folder from searching the includes directories. I can even open evmdm642_vdisparamsSVGA.c, right click on the vport.h text, and say "open file 'vport.h' " and vport.h opens. So it seems like it knows where the file is, it just doesn't make sense to me why it is having problems during the build process.
Thanks,
-Chanse
That is strange behavior. I was under the assumption that search paths were relative to where the .pjt folder is located, but maybe they are relative to where the source file itself is located? This is why I prefer to use absolute paths... :)
Yeah, I am very confused. I did just manage to get it to find those files though. Apparently the settings folder isn't searching the includes that are in the project for some reason. I have right clicked on the files in the settings folder, clicked properties, then added the vport.h and csl.h directories to their includes. I don't know why they aren't looking at the rest of the project includes, do you have any idea?
Other than that, now it looks like I have even more problems with this example. Below is a screenshot of my current build. I have no idea what these errors mean and no idea how I should fix them. I may just have to go back to CCSv3.1 which is really sad because I was really excited to be using the eclipse IDE instead of the old one.
Thanks,
-Chanse