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?

Antworten (5)

Antonin
Antonin am 23 Jan. 2012

2 Stimmen

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 Kommentare

Kirankumar
Kirankumar am 20 Mai 2013
Bearbeitet: Kirankumar am 20 Mai 2013
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 am 20 Mai 2013
If you have admin privileges on your machine, you may want to try start MATLAB "as Administrator" and try again.
Kirankumar
Kirankumar am 21 Mai 2013
Thanks it worked.
sun zhen
sun zhen am 28 Jan. 2015
How did you make it worked? I have the same problem,thank you for answer my question.
ABTJ
ABTJ am 14 Jul. 2020
"You can pick a simulator if you don't have hardware" which simulator?example please?
Venkatesh Chilapur
Venkatesh Chilapur am 16 Jul. 2020
Bearbeitet: Venkatesh Chilapur am 16 Jul. 2020
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.

Melden Sie sich an, um zu kommentieren.

Kaustubha Govind
Kaustubha Govind am 14 Nov. 2011

1 Stimme

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 Kommentare

Lucas
Lucas am 14 Nov. 2011
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 am 14 Nov. 2011
And Im using CCS 3.3
Kaustubha Govind
Kaustubha Govind am 14 Nov. 2011
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 am 23 Nov. 2011
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

Melden Sie sich an, um zu kommentieren.

LIANG
LIANG am 29 Dez. 2011

0 Stimmen

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 am 6 Jan. 2012

0 Stimmen

dear Liang and other do you have sovlve the issues.. i got the same problem. thank you
Hossein
Hossein am 2 Mär. 2012

0 Stimmen

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 Kommentar

Hossein
Hossein am 3 Mär. 2012
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...

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu System Composer finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 12 Nov. 2011

Community Treasure Hunt

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

Start Hunting!

Translated by