problems with toolbox DSPIC

Post Reply
ATMC
Posts: 6
Joined: Tue Sep 22, 2009 12:24 am

problems with toolbox DSPIC

Post by ATMC » Tue Sep 22, 2009 12:37 am

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

LubinKerhuel
Site Admin - Expert
Posts: 616
Joined: Wed Mar 07, 2007 11:23 pm
Location: Bayonne- France
Contact:

Re: problems with toolbox DSPIC

Post by LubinKerhuel » Tue Sep 22, 2009 9:35 am

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

ATMC
Posts: 6
Joined: Tue Sep 22, 2009 12:24 am

Re: problems with toolbox DSPIC

Post by ATMC » Tue Sep 22, 2009 9:21 pm

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

LubinKerhuel
Site Admin - Expert
Posts: 616
Joined: Wed Mar 07, 2007 11:23 pm
Location: Bayonne- France
Contact:

Re: problems with toolbox DSPIC

Post by LubinKerhuel » Tue Sep 22, 2009 10:12 pm

Try to clean up the matlab path

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

Lubin

ATMC
Posts: 6
Joined: Tue Sep 22, 2009 12:24 am

Re: problems with toolbox DSPIC

Post by ATMC » Wed Sep 23, 2009 2:23 am

I will try and follow up the result
The version is Matlab2009a
thanks

LubinKerhuel
Site Admin - Expert
Posts: 616
Joined: Wed Mar 07, 2007 11:23 pm
Location: Bayonne- France
Contact:

Re: problems with toolbox DSPIC

Post by LubinKerhuel » Wed Sep 23, 2009 9:11 am

Please let me know the result, I will have a close look if you still encounter this problem.

Lubin

ATMC
Posts: 6
Joined: Tue Sep 22, 2009 12:24 am

Re: problems with toolbox DSPIC

Post by ATMC » Fri Sep 25, 2009 2:06 am

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

LubinKerhuel
Site Admin - Expert
Posts: 616
Joined: Wed Mar 07, 2007 11:23 pm
Location: Bayonne- France
Contact:

Re: problems with toolbox DSPIC

Post by LubinKerhuel » Fri Sep 25, 2009 9:24 pm

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

LubinKerhuel
Site Admin - Expert
Posts: 616
Joined: Wed Mar 07, 2007 11:23 pm
Location: Bayonne- France
Contact:

Re: problems with toolbox DSPIC

Post by LubinKerhuel » Sat Sep 26, 2009 6:02 pm

Bug find and solved.

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

Lubin

ATMC
Posts: 6
Joined: Tue Sep 22, 2009 12:24 am

Re: problems with toolbox DSPIC

Post by ATMC » Sat Sep 26, 2009 10:26 pm

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

ATMC
Posts: 6
Joined: Tue Sep 22, 2009 12:24 am

Re: problems with toolbox DSPIC

Post by ATMC » Mon Oct 19, 2009 10:40 pm

Sorry about the delay in response, it worked perfectly.
Thank you for your support.

regards
Cavalcante

Post Reply

Who is online

Users browsing this forum: No registered users and 18 guests