FORUM TOPIC · READ ONLY

problems with toolbox DSPIC

problems with toolbox DSPIC

Forum : bug reports

11 message(s) · archive en lecture seule

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
LubinKerhuel

Re: problems with toolbox DSPIC

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

Re: problems with toolbox DSPIC

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

Re: problems with toolbox DSPIC

Try to clean up the matlab path



Which matlab version are you using ?

I should test that !



Lubin
ATMC

Re: problems with toolbox DSPIC

I will try and follow up the result

The version is Matlab2009a

thanks
LubinKerhuel

Re: problems with toolbox DSPIC

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



Lubin
ATMC

Re: problems with toolbox DSPIC

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

Re: problems with toolbox DSPIC

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

Re: problems with toolbox DSPIC

Bug find and solved.



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



Lubin
ATMC

Re: problems with toolbox DSPIC

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

Re: problems with toolbox DSPIC

Sorry about the delay in response, it worked perfectly.

Thank you for your support.



regards

Cavalcante