Thread Subject: MATLAB2006a - CodeComposer3.1 ERROR :DSPTgtPkg.CCSLink.connectToCCS

Subject: MATLAB2006a - CodeComposer3.1 ERROR :DSPTgtPkg.CCSLink.connectToCCS

From: UGUR

Date: 13 Oct, 2008 06:57:10

Message: 1 of 6


I am using MATLAB 2006a and CodeComposer Studio 3.1. When I press the build button on the simulink model, I see a message below and I could not generate code composer project. Reinstall of the MATLAB2006a and CC3.1 , formating of the computer did not become a solution. I did not encounter this problem for my second computer. I think there is no problem related with model. I think that the problem is related with the program install order or system variables set during install.

Is there anybody encountered and solved this problem? I appreciate your help.


Error Message :
Error building Real-Time Workshop target for block diagram 'AD_TEST'. MATLAB error message:
Error using ==> DSPTgtPkg.CCSLink.connectToCCS
Could not connect to specified board.
Make sure selected board is properly configured.

Subject: ccs.ccsdsp.initializeCcsdsp>DetectConfigErrors

From: UGUR

Date: 14 Oct, 2008 12:21:01

Message: 2 of 6


I am also observing the error message below when I try to setup link between MATLAB 2006a and CodeComposer 3.1.
I have reinstalled the programs but nothing changed. What am I doing wrong? Anybody for solution?

>> cc = ccsdsp
??? Error using ==> ccs.ccsdsp.initializeCcsdsp>DetectConfigErrors
CCSDSP:Error loading type library/DLL.


"UGUR " <ukaza@mynet.com> wrote in message <gcurg6$7i5$1@fred.mathworks.com>...
>
> I am using MATLAB 2006a and CodeComposer Studio 3.1. When I press the build button on the simulink model, I see a message below and I could not generate code composer project. Reinstall of the MATLAB2006a and CC3.1 , formating of the computer did not become a solution. I did not encounter this problem for my second computer. I think there is no problem related with model. I think that the problem is related with the program install order or system variables set during install.
>
> Is there anybody encountered and solved this problem? I appreciate your help.
>
>
> Error Message :
> Error building Real-Time Workshop target for block diagram 'AD_TEST'. MATLAB error message:
> Error using ==> DSPTgtPkg.CCSLink.connectToCCS
> Could not connect to specified board.
> Make sure selected board is properly configured.

Subject: ccs.ccsdsp.initializeCcsdsp>DetectConfigErrors

From: Praetorian

Date: 14 Oct, 2008 13:47:34

Message: 3 of 6

On Oct 14, 6:21=A0am, "UGUR " <uk...@mynet.com> wrote:
> I am also observing the error message below when I try to setup link betw=
een MATLAB 2006a and CodeComposer 3.1.
> I have reinstalled the programs but nothing changed. What am I doing wron=
g? Anybody for solution?
>
> >> cc =3D ccsdsp
>
> ??? Error using =3D=3D> ccs.ccsdsp.initializeCcsdsp>DetectConfigErrors
> CCSDSP:Error loading type library/DLL.
>
> "UGUR " <uk...@mynet.com> wrote in message <gcurg6$7i...@fred.mathworks.c=
om>...
>
> > I am using MATLAB 2006a and CodeComposer Studio 3.1. When I press the b=
uild button on the simulink model, I see a message below and I could not ge=
nerate code composer project. Reinstall of the MATLAB2006a and CC3.1 , form=
ating of the computer did not become a solution. I did not encounter this p=
roblem for my second computer. I think there is no problem related with mod=
el. I think that the problem is related with the program install order or s=
ystem variables set during install.
>
> > Is there anybody encountered and solved this problem? I appreciate your=
 help.
>
> > Error Message :
> > Error building Real-Time Workshop target for block diagram 'AD_TEST'. M=
ATLAB error message:
> > Error using =3D=3D> DSPTgtPkg.CCSLink.connectToCCS
> > Could not connect to specified board.
> > Make sure selected board is properly configured.

Ugur,
Does this workaround fix your problem?
http://tinyurl.com/3qho2t

HTH,
Ashish.

Subject: ccs.ccsdsp.initializeCcsdsp>DetectConfigErrors

From: UGUR

Date: 15 Oct, 2008 14:28:02

Message: 4 of 6

I have found the solution.
It is not related with the workaround of "http://tinyurl.com/3qho2t".

It is related with the mathworks' bug report 379676.

This report says :
To resolve this problem, apply the workaround described in the following document that you can find in the DSP KnowledgeBase on the Texas Instruments Web site:

"How come the RTA plug-ins in CCStudio no longer update when the target is running and only when I halt the target?"

(
The entire registry key can be removed since launching CCS (after removing the key) will re-create the registry key. You can remove the entire key by executing the following line in a Windows Command Prompt:

reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{7037933C-B77F-11D1-B009-0040055C1953}
)

It has worked really.


Praetorian <ashish.sadanandan@gmail.com> wrote in message <b4bda3e1-34c5-416c-8f1c-bf72e11280b0@z6g2000pre.googlegroups.com>...
> On Oct 14, 6:21=A0am, "UGUR " <uk...@mynet.com> wrote:
> > I am also observing the error message below when I try to setup link betw=
> een MATLAB 2006a and CodeComposer 3.1.
> > I have reinstalled the programs but nothing changed. What am I doing wron=
> g? Anybody for solution?
> >
> > >> cc =3D ccsdsp
> >
> > ??? Error using =3D=3D> ccs.ccsdsp.initializeCcsdsp>DetectConfigErrors
> > CCSDSP:Error loading type library/DLL.
> >
> > "UGUR " <uk...@mynet.com> wrote in message <gcurg6$7i...@fred.mathworks.c=
> om>...
> >
> > > I am using MATLAB 2006a and CodeComposer Studio 3.1. When I press the b=
> uild button on the simulink model, I see a message below and I could not ge=
> nerate code composer project. Reinstall of the MATLAB2006a and CC3.1 , form=
> ating of the computer did not become a solution. I did not encounter this p=
> roblem for my second computer. I think there is no problem related with mod=
> el. I think that the problem is related with the program install order or s=
> ystem variables set during install.
> >
> > > Is there anybody encountered and solved this problem? I appreciate your=
> help.
> >
> > > Error Message :
> > > Error building Real-Time Workshop target for block diagram 'AD_TEST'. M=
> ATLAB error message:
> > > Error using =3D=3D> DSPTgtPkg.CCSLink.connectToCCS
> > > Could not connect to specified board.
> > > Make sure selected board is properly configured.
>
> Ugur,
> Does this workaround fix your problem?
> http://tinyurl.com/3qho2t
>
> HTH,
> Ashish.

Subject: ccs.ccsdsp.initializeCcsdsp>DetectConfigErrors

From: mostafa ahmed

Date: 5 Oct, 2009 12:35:02

Message: 5 of 6

I do this but no solution the problem still remain.
"UGUR " <ukaza@mynet.com> wrote in message <gd4uli$i64$1@fred.mathworks.com>...
> I have found the solution.
> It is not related with the workaround of "http://tinyurl.com/3qho2t".
>
> It is related with the mathworks' bug report 379676.
>
> This report says :
> To resolve this problem, apply the workaround described in the following document that you can find in the DSP KnowledgeBase on the Texas Instruments Web site:
>
> "How come the RTA plug-ins in CCStudio no longer update when the target is running and only when I halt the target?"
>
> (
> The entire registry key can be removed since launching CCS (after removing the key) will re-create the registry key. You can remove the entire key by executing the following line in a Windows Command Prompt:
>
> reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{7037933C-B77F-11D1-B009-0040055C1953}
> )
>
> It has worked really.
>
>
> Praetorian <ashish.sadanandan@gmail.com> wrote in message <b4bda3e1-34c5-416c-8f1c-bf72e11280b0@z6g2000pre.googlegroups.com>...
> > On Oct 14, 6:21=A0am, "UGUR " <uk...@mynet.com> wrote:
> > > I am also observing the error message below when I try to setup link betw=
> > een MATLAB 2006a and CodeComposer 3.1.
> > > I have reinstalled the programs but nothing changed. What am I doing wron=
> > g? Anybody for solution?
> > >
> > > >> cc =3D ccsdsp
> > >
> > > ??? Error using =3D=3D> ccs.ccsdsp.initializeCcsdsp>DetectConfigErrors
> > > CCSDSP:Error loading type library/DLL.
> > >
> > > "UGUR " <uk...@mynet.com> wrote in message <gcurg6$7i...@fred.mathworks.c=
> > om>...
> > >
> > > > I am using MATLAB 2006a and CodeComposer Studio 3.1. When I press the b=
> > uild button on the simulink model, I see a message below and I could not ge=
> > nerate code composer project. Reinstall of the MATLAB2006a and CC3.1 , form=
> > ating of the computer did not become a solution. I did not encounter this p=
> > roblem for my second computer. I think there is no problem related with mod=
> > el. I think that the problem is related with the program install order or s=
> > ystem variables set during install.
> > >
> > > > Is there anybody encountered and solved this problem? I appreciate your=
> > help.
> > >
> > > > Error Message :
> > > > Error building Real-Time Workshop target for block diagram 'AD_TEST'. M=
> > ATLAB error message:
> > > > Error using =3D=3D> DSPTgtPkg.CCSLink.connectToCCS
> > > > Could not connect to specified board.
> > > > Make sure selected board is properly configured.
> >
> > Ugur,
> > Does this workaround fix your problem?
> > http://tinyurl.com/3qho2t
> >
> > HTH,
> > Ashish.

Subject: ccs.ccsdsp.initializeCcsdsp>DetectConfigErrors

From: Miguel Torres

Date: 21 Nov, 2009 00:52:48

Message: 6 of 6

On Oct 5, 7:35 am, "mostafa ahmed" <mmosa2...@gmail.com> wrote:
> I do this but  no solution the problem still remain.
>
> "UGUR " <uk...@mynet.com> wrote in message <gd4uli$i6...@fred.mathworks.com>...
> > I have found the solution.
> > It is not related with the workaround of "http://tinyurl.com/3qho2t".
>
> > It is related with the mathworks' bug report 379676.
>
> > This report says :
> > To resolve this problem, apply the workaround described in the following document that you can find in the DSP KnowledgeBase on the Texas Instruments Web site:
>
> > "How come the RTA plug-ins in CCStudio no longer update when the target is running and only when I halt the target?"
>
> > (
> > The entire registry key can be removed since launching CCS (after removing the key) will re-create the registry key.  You can remove the entire key by executing the following line in a Windows Command Prompt:
>
> > reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{7037933C-B77F-11D1-B009-0040055C1953}
> > )
>
> > It has worked really.
>
> > Praetorian <ashish.sadanan...@gmail.com> wrote in message <b4bda3e1-34c5-416c-8f1c-bf72e1128...@z6g2000pre.googlegroups.com>...
> > > On Oct 14, 6:21=A0am, "UGUR " <uk...@mynet.com> wrote:
> > > > I am also observing the error message below when I try to setup link betw=
> > > een MATLAB 2006a and CodeComposer 3.1.
> > > > I have reinstalled the programs but nothing changed. What am I doing wron=
> > > g? Anybody for solution?
>
> > > > >> cc =3D ccsdsp
>
> > > > ??? Error using =3D=3D> ccs.ccsdsp.initializeCcsdsp>DetectConfigErrors
> > > > CCSDSP:Error loading type library/DLL.
>
> > > > "UGUR " <uk...@mynet.com> wrote in message <gcurg6$7i...@fred.mathworks.c=
> > > om>...
>
> > > > > I am using MATLAB 2006a and CodeComposer Studio 3.1. When I press the b=
> > > uild button on the simulink model, I see a message below and I could not ge=
> > > nerate code composer project. Reinstall of the MATLAB2006a and CC3.1 , form=
> > > ating of the computer did not become a solution. I did not encounter this p=
> > > roblem for my second computer. I think there is no problem related with mod=
> > > el. I think that the problem is related with the program install order or s=
> > > ystem variables set during install.
>
> > > > > Is there anybody encountered and solved this problem? I appreciate your=
> > >  help.
>
> > > > > Error Message :
> > > > > Error building Real-Time Workshop target for block diagram 'AD_TEST'. M=
> > > ATLAB error message:
> > > > > Error using =3D=3D> DSPTgtPkg.CCSLink.connectToCCS
> > > > > Could not connect to specified board.
> > > > > Make sure selected board is properly configured.
>
> > > Ugur,
> > > Does this workaround fix your problem?
> > >http://tinyurl.com/3qho2t
>
> > > HTH,
> > > Ashish.
>
>

Hi,

I had the same problem and I did the following and it works:

1. Open CCS 3.1, connect to the dsp and put it to running
2. Build your simulink model

Miguel.

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
link UGUR 14 Oct, 2008 08:25:06
ccsdsp UGUR 14 Oct, 2008 08:25:06
cose composer UGUR 13 Oct, 2008 03:00:17
matlab2006 UGUR 13 Oct, 2008 03:00:17
ccslink UGUR 13 Oct, 2008 03:00:17
rssFeed for this Thread

Contact us at files@mathworks.com