Page 1 of 1

problems with toolbox DSPIC

Posted: Tue Sep 22, 2009 12:37 am
by ATMC
HI
I'm trying to use the toolbox ds_PIC_R2009a, and I am not able to open the dsPIC Master block.
The message is that appears in command windows the following:

Enter C30 compiler directory (like C:\Program Files\Microchip\MPLAB C30
(You have to do it twice, copy-past)
---->C:\Arquivos de programas\Microchip\MPLAB C30
C30 Compiler found
Warning: Corrupted package, Remove and Re-install dsPic
embedded Target toolbox.
> In C:\Arquivos de programas\Microchip\MPLAB C30\blocks\dsPIC_UART_TX_Labview_Matlab_callback.p>dsPIC_UART_TX_Labview_Matlab_callback at 36
In general\private\openmdl at 13
In open at 154
In uiopen at 196
Warning: Error evaluating 'LoadFcn' callback of Master
block (mask) 'dsPICdrivers/Master'. Corrupted package,
Remove and Re-install dsPic embedded Target toolbox.
> In C:\Arquivos de programas\Microchip\MPLAB C30\blocks\dsPIC_UART_TX_Labview_Matlab_callback.p>dsPIC_UART_TX_Labview_Matlab_callback at 36
In general\private\openmdl at 13
In open at 154
In uiopen at 196
Warning: Corrupted package, Remove and Re-install dsPic
embedded Target toolbox.
> In C:\Arquivos de programas\Microchip\MPLAB C30\blocks\dsPIC_UART_TX_Labview_Matlab_callback.p>dsPIC_UART_TX_Labview_Matlab_callback at 36
In general\private\openmdl at 13
In open at 154
In uiopen at 196
Warning: Error evaluating 'LoadFcn' callback of Master
block (mask) 'Data_Login_Matlab/Master'. Corrupted package,
Remove and Re-install dsPic embedded Target toolbox.
> In C:\Arquivos de programas\Microchip\MPLAB C30\blocks\dsPIC_UART_TX_Labview_Matlab_callback.p>dsPIC_UART_TX_Labview_Matlab_callback at 36
In general\private\openmdl at 13
In open at 154
In uiopen at 196


I hope you can help me
Kind Regards,
Cavalcante

Re: problems with toolbox DSPIC

Posted: Tue Sep 22, 2009 9:35 am
by LubinKerhuel
Hi Cavalcante,

did you updated the blockset ?

This error appears if the new blockset find an old file from the old blockset (in the matlab path before the new blockst path), or if a file has been modified (or is corrupted)
Solution is to delete all files from the blockst installation directory , install the blockset again, and sometime restart matlab.

Anyway, do you have microchip blockset installed on your computer. Both blockset should cohabitate on the same matlab, but I did not tested it further. Please let me know if you solved the problem or not.

Lubin

Re: problems with toolbox DSPIC

Posted: Tue Sep 22, 2009 9:21 pm
by ATMC
Hi Lubin,
Thanks for your quick response.
No, I am not update the block set, and I am trying anytime install de program in differ directories and every time i have same error. In funcion of the install i think that everything.
And i'm not had the microchip blockset diinstal in my PC.

regards
Cavalacante

Re: problems with toolbox DSPIC

Posted: Tue Sep 22, 2009 10:12 pm
by LubinKerhuel
Try to clean up the matlab path

Which matlab version are you using ?
I should test that !

Lubin

Re: problems with toolbox DSPIC

Posted: Wed Sep 23, 2009 2:23 am
by ATMC
I will try and follow up the result
The version is Matlab2009a
thanks

Re: problems with toolbox DSPIC

Posted: Wed Sep 23, 2009 9:11 am
by LubinKerhuel
Please let me know the result, I will have a close look if you still encounter this problem.

Lubin

Re: problems with toolbox DSPIC

Posted: Fri Sep 25, 2009 2:06 am
by ATMC
yes, the problem persists even cleaning the matlab path, I tried install in other PC with matlab r2009a and I had the same problem.
thank you for your attention

Cavalcante

Re: problems with toolbox DSPIC

Posted: Fri Sep 25, 2009 9:24 pm
by LubinKerhuel
Ok, I reproduced the bug, I'll look at it very soon. It may be a new bug that appears in the last blockset update
I'll post a message when it's repaired (I hope in few days)

Thanks for repporting it !

Lubin

Re: problems with toolbox DSPIC

Posted: Sat Sep 26, 2009 6:02 pm
by LubinKerhuel
Bug find and solved.

Please download and try the last blockst version, let me know if it's working as expected !

Lubin

Re: problems with toolbox DSPIC

Posted: Sat Sep 26, 2009 10:26 pm
by ATMC
Thank you for your attention.
In the next two weeks will not be able to get close to the toolbox, but so testing will give you return.
regards
Cavalcante

Re: problems with toolbox DSPIC

Posted: Mon Oct 19, 2009 10:40 pm
by ATMC
Sorry about the delay in response, it worked perfectly.
Thank you for your support.

regards
Cavalcante