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
I imported my ccsv3.3 .pjt file and have the errors below.
I checked the directory and the .cfg and .dat file are present.
And then I noticed that my .tcf file is "excluded from the build" according the the eclipse project viewer.
I found this in the Wiki
"If you have a DVSDK project that has both a .tcf (DSP/BIOS configuration) and a .cfg (RTSC configuration for drivers...) the import tool in beta 2 will not allow you to import this project. There are complications with using both forms of configuration in a project so the import tool will prevent this for now."
Do I have to change my ccsv3.3 to not use a .cfg file so that I can import into ccsv4.1?
Maybe I should give up on the import tool and create a new clean project from scratch?
Cheers
********* ************* *********** ************* *******************
Directory of C:\Work\CloudCap\DSP\TASE_VPS_LT_DSP\VPS-CCsv4\config
12/20/2009 01:06 PM <DIR> .
12/20/2009 01:06 PM <DIR> ..
12/20/2009 12:54 PM 579 dm648_uart0.tci
12/20/2009 12:54 PM 596 dm648_vport0.tci
12/20/2009 12:54 PM 596 dm648_vport1.tci
12/20/2009 12:54 PM 596 dm648_vport2.tci
12/20/2009 12:54 PM 596 dm648_vport3.tci
12/20/2009 12:54 PM 596 dm648_vport4.tci
12/20/2009 01:06 PM <DIR> obj
12/20/2009 12:54 PM 156,089 TASE_LT_DM648.gel
12/20/2009 12:54 PM 778 tase_lt_vps.cfg
12/20/2009 12:54 PM 6,188 tase_lt_vps.tcf
12/20/2009 01:04 PM 410 tase_lt_vps.tco
12/20/2009 01:07 PM <DIR> xdcconfig
12/20/2009 12:54 PM 334 xdcpaths.dat
11 File(s) 167,358 bytes
4 Dir(s) 206,759,481,344 bytes free
*************migration.log file****************************************************************************8
!ERROR: Unresolved source file: config/tase_lt_vps.cfg
!ERROR: Unresolved source file: config/xdcpaths.dat
!WARNING: Unresolved tool: com.ti.ccstudio.buildDefinitions.C6000.Debug.1978214633::XDC
!CONFIGURATION: 'com.ti.ccstudio.buildDefinitions.C6000.Debug.1978214633' [Sun Dec 20 13:24:18 PST 2009]
!TOOL: 'com.ti.rtsc.buildDefinitions.DSPBIOS_5.40.tool.1944753017./tase_lt_vps/config/tase_lt_vps.tcf'
!WARNING: Unresolved option: com.ti.rtsc.buildDefinitions.DSPBIOS_5.40.tool.1944753017./tase_lt_vps/config/tase_lt_vps.tcf::-v6x
!WARNING: Unresolved tool: com.ti.ccstudio.buildDefinitions.C6000.Default.1739920003::XDC
!CONFIGURATION: 'com.ti.ccstudio.buildDefinitions.C6000.Default.1739920003' [Sun Dec 20 13:24:28 PST 2009]
!TOOL: 'com.ti.rtsc.buildDefinitions.DSPBIOS_5.40.tool.1329958297./tase_lt_vps/config/tase_lt_vps.tcf'
!WARNING: Unresolved option: com.ti.rtsc.buildDefinitions.DSPBIOS_5.40.tool.1329958297./tase_lt_vps/config/tase_lt_vps.tcf::-v6x
!WARNING: Unresolved tool: com.ti.ccstudio.buildDefinitions.C6000.Default.534338649::XDC
!CONFIGURATION: 'com.ti.ccstudio.buildDefinitions.C6000.Default.534338649' [Sun Dec 20 13:24:29 PST 2009]
!TOOL: 'com.ti.rtsc.buildDefinitions.DSPBIOS_5.40.tool.27526656./tase_lt_vps/config/tase_lt_vps.tcf'
!WARNING: Unresolved option: com.ti.rtsc.buildDefinitions.DSPBIOS_5.40.tool.27526656./tase_lt_vps/config/tase_lt_vps.tcf::-v6x
!WARNING: Unresolved tool: com.ti.ccstudio.buildDefinitions.C6000.Release.1142514620::XDC
!CONFIGURATION: 'com.ti.ccstudio.buildDefinitions.C6000.Release.1142514620' [Sun Dec 20 13:24:29 PST 2009]
!TOOL: 'com.ti.rtsc.buildDefinitions.DSPBIOS_5.40.tool.626458904./tase_lt_vps/config/tase_lt_vps.tcf'
!WARNING: Unresolved option: com.ti.rtsc.buildDefinitions.DSPBIOS_5.40.tool.626458904./tase_lt_vps/config/tase_lt_vps.tcf::-v6x
Hi Eddie,
The RTSCpedia is a great resource for all things RTSC. As John mentioned the project model in CCS4 has changed. A new type of project - RTSC configuration project - is used for consuming RTSC content like DSP/BIOS, codec engine - in CCS4.
For your use case I would recommend creating a managed make executable and a RTSC configuration project. Add your C sources to the executable project and your 'tcf' and 'cfg' sources to the configuration project. The RTSC package path has to be setup properly in the RTSC configuration project. Also, the configuration should be enabled to consume 'tcf' files.
Given below are steps that I followed to build the MPEG4 decoder + G711 decoder application shipped with the 64LC dvsdk v 1.00.00.20 :
The sources are available at <dvsdk_install_dir>/dvsdk_1_00_00_20/codec_combos/packages/ti/sdo/apps/mpeg4dec_g711dec
Let me know if you face any issues in building your application.
I tried to replicate Amit's recipe above using a later CCSv4 and later DVSDK, and found I needed a few extra steps. Documenting them here, including an example project in the attachment.
The example is video_encdec from DVSDK, built for DM6437 EVM using:
In addition to the steps above, I needed the following to build the RTSC configuration project (named "test_configuration" in Amit's recipe):
After this I was able to successfully build the RTSC configuration project.
The C application project (named "test" in Amit's recipe) also needed a few more steps:
After this I was able to successfully build and link the application project. Not run it, though -- no board. Sorry!
The one other thing I did was to replace all the hard-coded directory paths in the CCSv4 project files with project-level macros, to make the projects a bit more portable. It's possible, though a bit laborious, to do this through the GUI, but you can also edit the .cdtbuild project files with a text editor if you're careful. It's not much different to CCS 3.3's .pjt file in that regard.
The result of all this is attached to this post. After saving the .zip file on your PC, you can use the File/Import.../Existing CCS/CCE Eclipse Project menu in CCSv4 to copy these projects into your own CCSv4 workspace. You will probably need to modify the macros to point to your own directories. Do this through the project Properties of both projects, in the C++ Build/Macros/Project sub-tab. The macros are:
Hope this helps.
Jon