Can't generate C code for TMS320DM6437 processor using Embedded IDE Link and Target Support Package.

I'm attempting to generate C code for a Texas Instruments TMS320DM6437 processor using Embedded IDE Link and Target Support Package. I followed the directions for the sumdiff_ccsdemo under Embedded IDE Link in the MATLAB help.
When I attempt to generate C code from this model, I am prompted for the location of the "DM6437EVM DVSDK (Digital Video Software Developers Kit) installation directory". I specify the location this directory, but MATLAB gives me the error "Invalid folder. One of the following file(s) could not be located in the installation directory" release_notes_biosdvsdk_1_00.html and release_notes_biosdvsdk_evmDM6437.html".
I downloaded evmdm6437_v2.zip from Spectrum Digital and unzipped it. I specify the location of this when prompted by MATLAB as described above. There are no files "release_notes_biosdvsdk_1_00.html and release_notes_biosdvsdk_evmDM6437.html" in this directory.
Note that I don't have the DM6437EVM evaluation board. I'm generating code for a custom board that we have developed that has a TMS320DM6437 processor.
My questions are:
Why does MATLAB insist on knowing the location of the DM6437EVM DVSDK when I'm not generating code for that board?
Why does MATLAB object to the SDK I downloaded from Spectrum Digital?
MATLAB does not generate a makefile due to the build error described above. How can I get MATLAB to generate code and a makefile for my board?
I specified "ticcs_C6000_dspbios_ccsv4" in the Configuration box in the "XMakefile User Configuration" dialog (which appears when I enter the xmakefilesetup command).
I have a target preferences block in my Simulink model that specifies "C6000 Custom" for board and "DM6437" for processor.
I have MATLAB R2010b and Code Composer Studio 4.2.
Thanks, Tim

Answers (1)

I discovered that the DM6437EVM DVSDK (Digital Video Software Developers Kit) is not from Spectrum Digital but rather from Texas Instruments. I downloaded it and installed it. Now when I build my Simulink model I get this error:
Code generation cannot proceed because the following file or folder could not be found: $(CSLR_DM6437_INSTALLDIR)
I think it wants to know the install directory for the DM6437EVM DVSDK, but how or where do I specify the installation directory? I can't find this in "XMakefile User Configuration" dialog, nor can I find it in the target preferences block.
I guess what I'm asking is how do I define the "environment variable" CSLR_DM6437_INSTALLDIR?
Your help will be appreciated.
Thanks, Tim

1 Comment

Try running the command:
checkEnvSetup('ccs', 'dm6437evm')
This should setup the environment variable for you.

This question is closed.

Asked:

Tim
on 20 Jul 2011

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!