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.

I urgently need help (DM6437,CCSv4,MATLAB)

Other Parts Discussed in Thread: SPRC589

Hello guys

I am using CCSv 4.1.0 with matlab (x64) R2012a (simulink) runing on windows 7 (x64), when I try to build the Model (just sample model) I get the following error

N.B I am using direct Usb cable to board (mini usb port in board) DM6437

=====================================

"./MW_i2c_cfg.c", line 6: fatal error: could not open source file "std.h"
1 fatal error detected in the compilation of "./MW_i2c_cfg.c".
Compilation terminated.

>> Compilation failure
gmake: *** [derived/MW_i2c_cfg.obj] Error 1

##############################################

result of  checkEnvSetup('ccsv4','dm6437','check') in matlab

##############################################

checkEnvSetup('ccsv4','dm6437','check')

1. CCS (Code Composer Studio)
Your version : 4.1.0
Required version: 4.1.0
Required for : Code Generation

2. C6000 CSL (TMS320C6000 Chip Support Library)
Your version : 2.31.00.16
Required version: 2.31.00.16 or later
Required for : Code generation
CSL_C6000_INSTALLDIR="C:\Program Files\C6xCSL"

3. CGT (Code Generation Tools)
Your version : 6.1.12
Required version: 6.1.10 to 6.1.18
Required for : Code generation
C6000_CGT_INSTALLDIR="C:\ti\ccsv4\tools\compiler\c6000"

4. DSP/BIOS (Real Time Operating System)
Your version : 5.41.02.14
Required version: 5.33.05 to 5.41.09.34
Required for : Code generation
CCSV4_DSPBIOS_INSTALLDIR="C:\ti\bios_5_41_02_14"

5. XDC Tools (eXpress DSP Components)
Your version : 3.16.02.32
Required version: 3.16.02.32 or later
Required for : Code generation

6. Texas Instruments IMGLIB (C64x+ Image Library)
Your version : 2.1.0.0
Required version: 2.0.1
Required for : CRL block replacement

7. DM6437EVM DVSDK (DSP/BIOS DVSDK v1.01 for DM6437)
Your version : 1.01.00.15
Required version: 1.01.00.15
Required for : Code generation
DVSDK_EVMDM6437_INSTALLDIR="C:\dvsdk_1_01_00_15"
CSLR_DM6437_INSTALLDIR="C:\dvsdk_1_01_00_15\psp_1_00_02_00\pspdrivers\soc\dm6437\dsp\inc"

#################################################################################

when building the model

#################################################################################

### Generating code into build folder: F:\Projects\Matlab\VoiceRecognition\souad1_ticcs
### Invoking Target Language Compiler on souad1.rtw
### Using System Target File: C:\Program Files\MATLAB\R2012a\toolbox\idelink\foundation\pjtgenerator\rtw\idelink_ert.tlc
### Loading TLC function libraries
.....
### Initial pass through model to cache user defined code
..
### Caching model source code
...................
### Writing header file souad1.h
### Writing header file souad1_types.h
.
### Writing header file rtwtypes.h
### Writing source file souad1.c
.
### Writing header file souad1_private.h
### Writing source file souad1_data.c
.
### Writing source file souad1_main.c
### Writing header file souad1_main.h
.
### Writing header file MW_c6xxx_csl.h
### Writing source file MW_c6xxx_csl.c
.
### TLC code generation complete.
### Creating makefile: F:\Projects\Matlab\VoiceRecognition\souad1_ticcs\souad1.mk
### Makefile creation done.
### Building makefile...

###########################################################################

The Errors shown from Simulink

###########################################################################

The build failed with the following message: "C:/ti/ccsv4/tools/compiler/c6000/bin/cl6x" -I"C:\dvsdk_1_01_00_15\psp_1_00_02_00\pspdrivers\soc\dm6437\dsp\inc" -I"C:\ti\ccsv4\emulation\boards\evmdm6437" -I"F:\Projects\Matlab\VoiceRecognition\souad1_ticcs" -I"F:\Projects\Matlab\VoiceRecognition" -I"C:\Program Files\MATLAB\R2012a\extern\include" -I"C:\Program Files\MATLAB\R2012a\simulink\include" -I"C:\Program Files\MATLAB\R2012a\rtw\c\src" -I"C:\Program Files\MATLAB\R2012a\rtw\c\src\ext_mode\common" -I"C:\Program Files\MATLAB\R2012a\rtw\c\ert" -I"C:\dvsdk_1_01_00_15\psp_1_00_02_00\pspdrivers\inc" -I"C:\dvsdk_1_01_00_15\psp_1_00_02_00\pspdrivers\pal_sys\inc" -I"C:\dvsdk_1_01_00_15\psp_1_00_02_00\pspdrivers\pal_sys\DM6437\src" -I"C:\Program Files\MATLAB\R2012a\toolbox\target\extensions\processor\tic6000\blks\lct\include" -D"CHIP_DM6437" -D"CODEC_NUM_ADC_SAMPLES=64" -D"__TICCSC__" -D"RT" -D"USE_RTMODEL" -mv6400+ -D"MODEL=souad1" -D"NUMST=1" -D"NCSTATES=0" -D"HAVESTDIO=" -D"ONESTEPFCN=1" -D"TERMFCN=1" -D"MAT_FILE=0" -D"MULTI_INSTANCE_CODE=0" -D"INTEGER_CODE=0" -D"MT=0" -D"TID01EQ=0" -I"C:\ti\ccsv4\tools\compiler\c6000\include" -I"C:\ti\bios_6_21_00_13\include" -fr"./derived/" ./MW_i2c_cfg.c ./dm6437evm_aic33.c ./MW_c6xxx_csl.c ./souad1.c ./souad1_data.c ./souad1_main.c
[MW_i2c_cfg.c]
"./MW_i2c_cfg.c", line 6: fatal error: could not open source file "std.h"
1 fatal error detected in the compilation of "./MW_i2c_cfg.c".
Compilation terminated.

>> Compilation failure
gmake: *** [derived/MW_i2c_cfg.obj] Error 1

***********************************************

Error while building the project.

***********************************************

The call to idelink_ert_make_rtw_hook, during the exit hook generated the following error:
Error while building the project.

The build process will terminate as a result.

#######################################

Please I need your help as soon as possible cause I need to complete the project on the due time

Best regards

  • please somebody helps me

  • Hi,

    I was also trying to use the same version of Matlab and Simulink but with Code Composer Studio v5 to execute projects on DM6437. After hours of work and talking with Mathworks employees, I realised that the only way (I guess) is to change Matlab to verision R2008 (where TC6 library support is still available) and CCS to version 3.3. And it works properly. I'm using VLIB and there's no problem to process image from camera or from host (sending data thru TCP/IP).

    Currently I'm trying to use IMGLIB from here: http://www.ti.com/tool/sprc589 but I can't find any way to use this blocks on board (there's no library file for boards), however it works on host. I can't even find any sign, that anyone succesfully used these blocks. If you now something about using IMGLIB, please let me now.

    And if, you have any questions, write them here and I'll try to answer.

  • Hi, Mateusz Kasperczyk

    Thank you so much for you reply,

    Yes good idea , I have installed windows xp with CCSv3.3 version and also Matlab R2008, but one thing I am facing now with xp and ccs3.3 is cannot connect to the board target , I don't have a jtag emulator , I am using the USB cable (with mini USB port in the board's port) which is with CCSv4 and CCSv5 on win7 is detected and recognized without any prob but with xp is asking me to install the driver for "TMS320C64Plus target"  so I think i have to look for another way to connect to my board without using jtag or usb cable

    so please , how is the way to solve this issue 

    kindest regards

  • You don't have to change OS. I'm working on Win7 succesfully but I recommend x86 version instead of x64. I remember that I installed software for DM6437 and here is one important thing:

    Check version of GEL file that is used by CCSv3.3. The one in version 1.03 is invalid and you must replace it to the one in version 1.60 (available on the Internet).

    Here you have useful site: http://c6000.spectrumdigital.com/evmdm6437/reve/