Problem connecting CCS v3.3 and Simulink

Hello,
I want to generate a Code for my TI C2000 F28335 processor. Code Composer Studio is able to connect with the processor, but every time I try to build a model for it in Matlab I get following failures:
"The call to idelink_ert_make_rtw_hook, during the entry hook generated the following error: Could not connect to the board specified in Target Preferences block.
The build process will terminate as a result.
Could not obtain board configuration from Code Composer Studio™. Make sure that Code Composer Studio is installed and properly registered.
Error map is empty."
I use MatlabR2011b and I have the embedded Coder.
Can anyone help me?

답변 (5개)

Antonin
Antonin 2012년 1월 23일

2 개 추천

First you need to make sure that CCS v3.3 is installed on your machine and that a board is selected in the CCS Setup. You can pick a simulator if you don't have hardware, but you must be able to open CCS and connect (Alt+C).
Then in Matlab, try the following command: cc = ticcs
This should return a valid object (cc) that you can use to control CCS.
The following command will also help you check your installation:
checkEnvSetup('ccs', 'F28335', 'check')
Generating code from a simulink model will be easy after you pass this steps.
I hope it helps, good luck!
Antonin.

댓글 수: 6

Kirankumar
Kirankumar 2013년 5월 20일
편집: Kirankumar 2013년 5월 20일
Am using Windows7 with CCSV3.3.83.19 and 32bit MATLAB2011a. CCS is working fine and getting connected to board as standalone. The error occurs while executing "cc=ticcs". Though I logged in as Admin and have full authority.
The error shows
_Registering DLLs… ??? Error using ==> checkAndRegisterCorrectPlugins at 32 Cannot register 'IDE Link' plugins because the current user does not have permission to update the Windows registry. Contact your system administrator with this message to resolve this problem.
Error in ==> ticcs at 133 ticcsext.Utilities.checkAndRegisterCorrectPlugins;
_
Kaustubha Govind
Kaustubha Govind 2013년 5월 20일
If you have admin privileges on your machine, you may want to try start MATLAB "as Administrator" and try again.
Kirankumar
Kirankumar 2013년 5월 21일
Thanks it worked.
sun zhen
sun zhen 2015년 1월 28일
How did you make it worked? I have the same problem,thank you for answer my question.
ABTJ
ABTJ 2020년 7월 14일
"You can pick a simulator if you don't have hardware" which simulator?example please?
Venkatesh Chilapur
Venkatesh Chilapur 2020년 7월 16일
편집: Venkatesh Chilapur 2020년 7월 16일
The Simulator is part of CCS.
But the recent release of CCS don't support simulation(I believe) as getting a hardware board is much cost effective now.

댓글을 달려면 로그인하십시오.

Kaustubha Govind
Kaustubha Govind 2011년 11월 14일

1 개 추천

If you're on a 64-bit machine, please ensure that you also have installed 64-bit MATLAB (type "mexext" to see if the returned architecture type contains 64 or not).

댓글 수: 4

Lucas
Lucas 2011년 11월 14일
I tried it on 64 bit Windows with 64 bit and on 32 bit Windows with 32 bit Matlab. Both time it didn't work
Lucas
Lucas 2011년 11월 14일
And Im using CCS 3.3
Kaustubha Govind
Kaustubha Govind 2011년 11월 14일
Could you try running checkEnvSetup (http://www.mathworks.com/help/toolbox/ecoder/ref/checkenvsetup.html) and then "ccsboardinfo" - if MATLAB does not list any boards, open your CCS installation and use the Setup Utility in CCS to configure at least one board.
Panagis
Panagis 2011년 11월 23일
I have exactly the same problem with Lucas (F28335 processor and 64-bit Matlab). I am using CCS 3.3. CSSBOARDINFO results to:
You cannot invoke CCSBOARDINFO on a 64-Bit Microsoft(R) Windows(R) platform.
The IDE Link adaptor for use with Texas Instruments(TM) Code Composer Studio(TM) is not supported on this platform.
Refer to the IDE Link System Requirements for platforms supported by this adaptor.
Any suggestions? Is there another IDE link adaptor that I can use with CCS 3.3 that can work under windows 64-bit?
Thanks

댓글을 달려면 로그인하십시오.

LIANG
LIANG 2011년 12월 29일

0 개 추천

I am also seen the same error message as Lucas mentioned above. My system is windows 32bit, Matlab 2011b with embedded coder, CCS 3.3. Anyone can help?
Thanks
H Zamzuri
H Zamzuri 2012년 1월 6일

0 개 추천

dear Liang and other do you have sovlve the issues.. i got the same problem. thank you
Hossein
Hossein 2012년 3월 2일

0 개 추천

I have the same problem and I have checked my CCS as below... my exist CCS version and require one has some differences .what should I do now?
checkEnvSetup('ccs', 'F28335 eZdsp', 'check')
1. CCS (Code Composer Studio) Your version : 3.3.81.11 Required version: 3.3.82.13 Required for : Automation and Code Generation
2. CGT (Texas Instruments C2000 Code Generation Tools) Your version : 5.1.0 Required version: 5.2.1 Required for : Code generation
3. DSP/BIOS (Real Time Operating System) Your version : 5.33.03 Required version: 5.33.05 Required for : Real-Time Data Exchange (RTDX)
4. Flash Tools (TMS320C28335 Flash APIs) Your version : 2.10 Required version: 2.10 Required for : Flash Programming FLASH_28335_API_INSTALLDIR=""
and
>> ccsboardinfo
Board Board Proc Processor Processor
Num Name Num Name Type - --------------- 0 F28335_eZdsp 0 cpu_0 TMS320F2800

댓글 수: 1

Hossein
Hossein 2012년 3월 3일
My problem have been solved just by changing the version MATLAB from 2011 to 2008...
but still have problem because I couldn't see the output from ePWM1B of DSP...

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 System Composer에 대해 자세히 알아보기

질문:

2011년 11월 12일

편집:

2020년 7월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by