Search found 7 matches

by whatthehack
Sun Sep 11, 2011 10:44 am
Forum: General Remark and Questions
Topic: dsPIC Master error
Replies: 12
Views: 8409

Re: dsPIC Master error

Well, I think I found the reason for the compiler error. It seems that from mplabc30 v3.25 to v3.30 the name of FICD changed to ICD (but only for dsp30f3xxx up to 6xxx :?: ).

Remains 1 problem for me at the moment: no CAN for my dsp33.
by whatthehack
Sat Sep 10, 2011 12:14 pm
Forum: General Remark and Questions
Topic: dsPIC Master error
Replies: 12
Views: 8409

Re: dsPIC Master error

Dear Lubin, I have to apologize. I didn't check this :( . For what reason ever the embedded coder was not installed. Now it is! Now principally everything works fine but in the examples Data_Login_Matlab, Servo_ADC, Servo_Sinus I get the following error: Servo_ADC_main.c:34: error: syntax error befo...
by whatthehack
Fri Sep 09, 2011 5:09 pm
Forum: General Remark and Questions
Topic: dsPIC Master error
Replies: 12
Views: 8409

Re: dsPIC Master error

Real-Time Workshop Embedded Coder is not licensed or not installed. The current target is: C:\Program Files\MATLAB\toolbox\dspic\dspic\dspic.tlc is the error message with 2010b. I have the RTW coder for both versions Real-Time Workshop Version 7.0 (R2007b) Real-Time Workshop Version 7.6 (R2010b) My...
by whatthehack
Fri Sep 09, 2011 4:30 pm
Forum: General Remark and Questions
Topic: dsPIC Master error
Replies: 12
Views: 8409

Re: dsPIC Master error

You need to set the Code Generation target : simulink configuration, pannel Code Generation, set it to dsPIC or pic32... a yellow block is capable of configuring the siumlink model automatically if you add it to your model. In all cases there was set dspic.tlc. I tried the same with Matlab2007b(32b...
by whatthehack
Fri Sep 09, 2011 10:18 am
Forum: General Remark and Questions
Topic: dsPIC Master error
Replies: 12
Views: 8409

Re: dsPIC Master error

Additionally:

For all the dsPIC33 I tried, I get: No CAN peripheral on ...

For dsPIC30 it works.
by whatthehack
Fri Sep 09, 2011 9:45 am
Forum: General Remark and Questions
Topic: dsPIC Master error
Replies: 12
Views: 8409

Re: dsPIC Master error

I installed it with: install_dsPIC_R2007b. The example all result in the same error after some warnings. I post it for the first example at the end. In the examples I can open the "Master Block" and change it. If I copy the "Master Block" into my model, it seems to work. But no compilation. Peter K>...
by whatthehack
Thu Sep 08, 2011 5:15 pm
Forum: General Remark and Questions
Topic: dsPIC Master error
Replies: 12
Views: 8409

dsPIC Master error

Hi, I'm using Matlab 2007b with Windows7 64. The Installation seemed to be ok. But when I want to choose the Master I always get the Matlab error message: Error evaluating 'OpenFcn' callback of Master block (mask) 'Master'. Index exceeds matrix dimensions. I would be glad if someone could tell me wh...