FORUM TOPIC · READ ONLY
Not able to install dspic toolbox... Errors
Not able to install dspic toolbox… Errors
Forum : Requirement, Installation & Configuration
9 message(s) · archive en lecture seule
Hello
I am using
Matlab 2009a
MPLAB IDE 8.46
MPLAB C30 ComboLite_v3_23 (dspic and pic24)
but when i m running
CompileAllModels.m
I am getting following error..
Please any body Help me??????????????????????????????
I am using
Matlab 2009a
MPLAB IDE 8.46
MPLAB C30 ComboLite_v3_23 (dspic and pic24)
but when i m running
CompileAllModels.m
I am getting following error..
7x1 struct array with fields:
name
date
bytes
isdir
datenum
Warning: File 'Data_Login_Matlab.hex'
not found.
> In CompileAllModels at 8
In run at 57
Warning: The following error occurred
processing the System Target File '':
Undefined function or method 'ExecBatch'
for input arguments of type 'char'.
> In stf2target at 61
In CompileAllModels at 10
In run at 57
Evaluating callback 'LoadFcn' for Data_Login_Matlab/Master
Callback: clear InternaldsPICBlockset;
dsPIC_MASTER_callback() ;
dsPIC_MASTER_callback_InitMask(gcb);
Warning: block_diagram does not have a
parameter named 'GMAKE_PLACE'.
> In C:\Documents and Settings\Sabooh\My Documents\MATLAB\install_dsPIC_R2009a\blocks\dsPIC_UART_TX_Labview_Matlab_callback.p>dsPIC_UART_TX_Labview_Matlab_callback at 36
In CompileAllModels at 10
In run at 57
Warning: Error evaluating 'LoadFcn'
callback of Master block (mask)
'Master'. block_diagram does not have a
parameter named 'GMAKE_PLACE'.
> In C:\Documents and Settings\Sabooh\My Documents\MATLAB\install_dsPIC_R2009a\blocks\dsPIC_UART_TX_Labview_Matlab_callback.p>dsPIC_UART_TX_Labview_Matlab_callback at 36
In CompileAllModels at 10
In run at 57
Warning: The following error occurred
processing the System Target File '':
Undefined function or method 'ExecBatch'
for input arguments of type 'char'.
> In stf2target at 61
In C:\Documents and Settings\Sabooh\My Documents\MATLAB\install_dsPIC_R2009a\blocks\dsPIC_ConfigureModelFordsPICTarget.p>dsPIC_ConfigureModelFordsPICTarget at 42
In CompileAllModels at 11
In run at 57
Warning: The following error occurred
processing the System Target File '':
Undefined function or method 'ExecBatch'
for input arguments of type 'char'.
> In C:\Documents and Settings\Sabooh\My Documents\MATLAB\install_dsPIC_R2009a\blocks\dsPIC_ConfigureModelFordsPICTarget.p>dsPIC_ConfigureModelFordsPICTarget at 42
In CompileAllModels at 11
In run at 57
??? Error using ==>
dsPIC_ConfigureModelFordsPICTarget at 51
Error using ==> dsPIC_ConfigRTWOption at
11
block_diagram does not have a parameter
named 'GMAKE_PLACE'.
Error in ==> CompileAllModels at 11
dsPIC_ConfigureModelFordsPICTarget();
Error in ==> run at 57
evalin('caller', [s ';']);
Evaluating callback 'ModelCloseFcn' for Data_Login_Matlab/Master
Callback: clear InternaldsPICBlockset;
>>
Please any body Help me??????????????????????????????
Re: Not able to install dspic toolbox... Errors
Thanks you very much for your post !
This error comes from correction I made in the last blockset version published two days ago.
it appears from your post that some files are missing in the installer package.
I'll correct it shortly.
I'll post a message once it's done !
Lubin
This error comes from correction I made in the last blockset version published two days ago.
it appears from your post that some files are missing in the installer package.
I'll correct it shortly.
I'll post a message once it's done !
Lubin
Re: Not able to install dspic toolbox... Errors
Hello,
I did not post the message, But problem has been solved, please give a try with the latest version (3.2b) : http://www.kerhuel.eu/wiki/Release_Notes
I did not post the message, But problem has been solved, please give a try with the latest version (3.2b) : http://www.kerhuel.eu/wiki/Release_Notes
Re: Not able to install dspic toolbox... Errors
Hi Lubin!I have the same error also with version 3.2b. I'm desperate!
I'm working with Matlab 2010a. Can this cause problems?
Help me!
Thanks
Alb
I'm working with Matlab 2010a. Can this cause problems?
Help me!
Thanks
Alb
Re: Not able to install dspic toolbox... Errors
Hey,
Could you post the entire error message you get (the one within matlab comand windows) ?
Lubin
Could you post the entire error message you get (the one within matlab comand windows) ?
Lubin
Re: Not able to install dspic toolbox... Errors
Of course! When I compile the examples:
### Successful completion of Real-Time Workshop build procedure for model: Servo_Sinus_x64
C30 Compiler found
C30 Compiler found
Warning: File 'dsPIC_32MX460F512L_Explorer16_HyperSampling.hex' not found.
> In CompileAllModels at 10
Warning: The following error occurred processing the System Target File '':
Undefined function or variable "myData".
> In stf2target at 61
In CompileAllModels at 12
Warning: In instantiating linked block
'dsPIC_32MX460F512L_Explorer16_HyperSampling/Master' : Invalid setting in Master block
(mask) 'Master' for parameter 'MCLR'
> In C:\Users\Alberto Di Vittorio\Documents\MATLAB\blocks\dsPIC_ADC_callback_InitMask.p>dsPIC_ADC_callback_InitMask at 9
In C:\Users\Alberto Di Vittorio\Documents\MATLAB\blocks\dsPIC_UART_TX_Labview_Matlab_callback.p>dsPIC_UART_TX_Labview_Matlab_callback at 36
In CompileAllModels at 12
Warning: Error evaluating 'LoadFcn' callback of Master block (mask) 'Master'.
block_diagram does not have a parameter named 'GMAKE_PLACE'.
> In C:\Users\Alberto Di Vittorio\Documents\MATLAB\blocks\dsPIC_ADC_callback_InitMask.p>dsPIC_ADC_callback_InitMask at 9
In C:\Users\Alberto Di Vittorio\Documents\MATLAB\blocks\dsPIC_UART_TX_Labview_Matlab_callback.p>dsPIC_UART_TX_Labview_Matlab_callback at 36
In CompileAllModels at 12
Warning: block_diagram does not have a parameter named 'GMAKE_PLACE'.
> In C:\Users\Alberto Di Vittorio\Documents\MATLAB\blocks\dsPIC_ADC_callback_InitMask.p>dsPIC_ADC_callback_InitMask at 9
In C:\Users\Alberto Di Vittorio\Documents\MATLAB\blocks\dsPIC_UART_TX_Labview_Matlab_callback.p>dsPIC_UART_TX_Labview_Matlab_callback at 36
In CompileAllModels at 12
Warning: The following error occurred processing the System Target File '':
Undefined function or variable "myData".
> In stf2target at 61
In C:\Users\Alberto Di Vittorio\Documents\MATLAB\blocks\dsPIC_ConfigureModelFordsPICTarget.p>dsPIC_ConfigureModelFordsPICTarget at 40
In CompileAllModels at 13
Warning: The following error occurred processing the System Target File '':
Undefined function or variable "myData".
> In C:\Users\Alberto Di Vittorio\Documents\MATLAB\blocks\dsPIC_ConfigureModelFordsPICTarget.p>dsPIC_ConfigureModelFordsPICTarget at 40
In CompileAllModels at 13
??? Error using ==> dsPIC_ConfigureModelFordsPICTarget at 51
Error using ==> dsPIC_ConfigRTWOption at 11
block_diagram does not have a parameter named 'GMAKE_PLACE'.
Error in ==> CompileAllModels at 13
dsPIC_ConfigureModelFordsPICTarget();
and when I compile my program "prova2":
-- Bypassing matlab internal LCC configuration --
### Creating prova2.mk from C:\Users\Alberto Di Vittorio\Documents\MATLAB\dspic\dspic_pic30_gcc.tmf
### Building prova2: "C:\PROGRA~1\MATLAB\R2010a\bin\win32\gmake" -f prova2.mk GENERATE_REPORT=0 MULTI_INSTANCE_CODE=0 PORTABLE_WORDSIZES=0 GENERATE_ASAP2=0 TMW_EXTMODE_TESTING=0
Impossibile trovare il percorso specificato.
### Real-Time Workshop build procedure for model: 'prova2' aborted due to an error.
C30 Compiler found
C30 Compiler found
C30 Compiler found
### Successful completion of Real-Time Workshop build procedure for model: Servo_Sinus_x64
C30 Compiler found
C30 Compiler found
Warning: File 'dsPIC_32MX460F512L_Explorer16_HyperSampling.hex' not found.
> In CompileAllModels at 10
Warning: The following error occurred processing the System Target File '':
Undefined function or variable "myData".
> In stf2target at 61
In CompileAllModels at 12
Warning: In instantiating linked block
'dsPIC_32MX460F512L_Explorer16_HyperSampling/Master' : Invalid setting in Master block
(mask) 'Master' for parameter 'MCLR'
> In C:\Users\Alberto Di Vittorio\Documents\MATLAB\blocks\dsPIC_ADC_callback_InitMask.p>dsPIC_ADC_callback_InitMask at 9
In C:\Users\Alberto Di Vittorio\Documents\MATLAB\blocks\dsPIC_UART_TX_Labview_Matlab_callback.p>dsPIC_UART_TX_Labview_Matlab_callback at 36
In CompileAllModels at 12
Warning: Error evaluating 'LoadFcn' callback of Master block (mask) 'Master'.
block_diagram does not have a parameter named 'GMAKE_PLACE'.
> In C:\Users\Alberto Di Vittorio\Documents\MATLAB\blocks\dsPIC_ADC_callback_InitMask.p>dsPIC_ADC_callback_InitMask at 9
In C:\Users\Alberto Di Vittorio\Documents\MATLAB\blocks\dsPIC_UART_TX_Labview_Matlab_callback.p>dsPIC_UART_TX_Labview_Matlab_callback at 36
In CompileAllModels at 12
Warning: block_diagram does not have a parameter named 'GMAKE_PLACE'.
> In C:\Users\Alberto Di Vittorio\Documents\MATLAB\blocks\dsPIC_ADC_callback_InitMask.p>dsPIC_ADC_callback_InitMask at 9
In C:\Users\Alberto Di Vittorio\Documents\MATLAB\blocks\dsPIC_UART_TX_Labview_Matlab_callback.p>dsPIC_UART_TX_Labview_Matlab_callback at 36
In CompileAllModels at 12
Warning: The following error occurred processing the System Target File '':
Undefined function or variable "myData".
> In stf2target at 61
In C:\Users\Alberto Di Vittorio\Documents\MATLAB\blocks\dsPIC_ConfigureModelFordsPICTarget.p>dsPIC_ConfigureModelFordsPICTarget at 40
In CompileAllModels at 13
Warning: The following error occurred processing the System Target File '':
Undefined function or variable "myData".
> In C:\Users\Alberto Di Vittorio\Documents\MATLAB\blocks\dsPIC_ConfigureModelFordsPICTarget.p>dsPIC_ConfigureModelFordsPICTarget at 40
In CompileAllModels at 13
??? Error using ==> dsPIC_ConfigureModelFordsPICTarget at 51
Error using ==> dsPIC_ConfigRTWOption at 11
block_diagram does not have a parameter named 'GMAKE_PLACE'.
Error in ==> CompileAllModels at 13
dsPIC_ConfigureModelFordsPICTarget();
and when I compile my program "prova2":
-- Bypassing matlab internal LCC configuration --
### Creating prova2.mk from C:\Users\Alberto Di Vittorio\Documents\MATLAB\dspic\dspic_pic30_gcc.tmf
### Building prova2: "C:\PROGRA~1\MATLAB\R2010a\bin\win32\gmake" -f prova2.mk GENERATE_REPORT=0 MULTI_INSTANCE_CODE=0 PORTABLE_WORDSIZES=0 GENERATE_ASAP2=0 TMW_EXTMODE_TESTING=0
Impossibile trovare il percorso specificato.
### Real-Time Workshop build procedure for model: 'prova2' aborted due to an error.
C30 Compiler found
C30 Compiler found
C30 Compiler found
Re: Not able to install dspic toolbox... Errors
I have also ried with Matlab R2009a and with 2 types of compiler, (also the 3.23 (latest) version of 3.30), but the error is always the same!
Can you help me, Lubin?
Thanks
Alb
Can you help me, Lubin?
Thanks
Alb
Re: Not able to install dspic toolbox... Errors
I've just spent 3 hours trying to install the dspic toolbox on a machine with R2010a. I had matlab installed on drive D:, and installed the Microchip tools on D: also. This won't work for some reason, lots of errors that look like those posted above occur when trying to compile the examples.
Placing the Microchip on the C: drive seems to have cured the errors (at least the examples compile correctly). I just thought I'd post in case it helps somebody.
Now - I have C32 1.05 and C30 3.23b tools installed - is there any known issues with 3.23b or should I use the last version mentioned in the dsPIC wiki (version 3.12)?
Placing the Microchip on the C: drive seems to have cured the errors (at least the examples compile correctly). I just thought I'd post in case it helps somebody.
Now - I have C32 1.05 and C30 3.23b tools installed - is there any known issues with 3.23b or should I use the last version mentioned in the dsPIC wiki (version 3.12)?
Re: Not able to install dspic toolbox... Errors
One question, which may be silly (it's a long time since I've used Matlab and it's changed quite a bit).
When I run these examples, there are strings of 'P' and 'T' characters intermingled with the Matlab output in the console window. Is this to be expected (and if so - why?).
When I run these examples, there are strings of 'P' and 'T' characters intermingled with the Matlab output in the console window. Is this to be expected (and if so - why?).