Hello,
I use TMS320C5535 eZdsp and CCSv 4.2. I am implementing an AM receiver in MAtlab's R2011a Simulink according to this tutorial:
http://cnx.org/content/m22187/latest/?collection=col10713/latest
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?
Regards,
Maria.