TI E2E Community
Digital Signal Processors (DSP)
C5000 Ultra Low Power DSP
C5000 Ultra Low Power DSP Forum
Matlab Simulink build error and C5535 support
I use TMS320C5535 eZdsp and CCSv 4.2. I am implementing an AM receiver in MAtlab's R2011a Simulink according to this tutorial:
As I saw in other forum posts, Matlab supports only code generation for ccsv4 through the "xmakefilesetup" tool. My Xmake user configuration is the following:
Furthermore, the C5535 processor isn't available in the target preferences.
After creating the model in Simulink, I set the Target preference as:
I installed the Chip Support Library C55XCSL-LOWPOWER, however in target preference, the only processors available are those that support the SPRC133. So, I installed this library too and I built the model twice with the C5510A processor, each time using different library and changing the directories accordingly.
In both cases I received the same error (although there were some C files generated) :
### Compiling am.c cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -GS -D_X86_=1 -DWIN32 -D_WIN32 -W3 -D_WINNT -D_WIN32_WINNT=0x0500 -DNTDDI_VERSION=0x05000000 -D_WIN32_IE=0x0500 -DWINVER=0x0500 -D_MT -MT /wd4996 /fp:precise -DUSE_RTMODEL /Od /Oy- -DMODEL=am -DRT -DNUMST=1 -DTID01EQ=0 -DNCSTATES=0 -DMT=0 -DHAVESTDIO am.c am.c d:\my documents\matlab\work\am_grt_rtw\am.h(27) : fatal error C1083: Cannot open include file: 'csl_mcbsp.h': No such file or directory NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\cl.EXE"' : return code '0x2' Stop. The make command returned an error of 2 'An_error_occurred_during_the_call_to_make' is not recognized as an internal or external command, operable program or batch file. ### Build procedure for model: 'am' aborted due to an error.
1) As I saw, the "csl_mcbsp.h" header file is included in SPRC133, but is not included in the directory where I installed C55XCSL-LOWPOWER. I haven't figured out yet why there is an error when I use sprc133 as the CSL.
2) Moreover, in target preference options, I can add a new processor, based on the existing ones. Can I add C5535 based on a processor that is supported by a different chip support library?
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.