Warning at opening time and can't open dialog in library

Create new topics, add your comment, remark, bugs...
Post Reply
northbear
Posts: 2
Joined: Wed Jun 27, 2007 2:18 am

Warning at opening time and can't open dialog in library

Post by northbear » Tue Jul 17, 2007 9:24 am

hi, Lubin

I dowload the "install_dsPIC_R2007a.zip" from your website today, then install it acording to your installing instructions. all is ok.

but, when dual click the "Embedded Tartget for Microchip dsPIC" from the "Simulink Library Browse", the following warning occurs:

Warning: Error evaluating 'LoadFcn' callback of Master block (mask) 'Master'. Error using ==> dsPIC_ConfigRTWOption at 34
The *System Target File must be defined to dsPIC Real Time workshop (Simulation ==> Configuration Parameters ==> Real Time workshop.
> In load_system at 52
In libbrowse>i_LoadSys at 142
In libbrowse>LoadLibrary at 121
In libbrowse at 24


why?

Expect your reply.

and the "dsPIC_33f_Explorer16.mdl" can be open, but the warning is followed:

>> open dsPIC_33f_Explorer16.mdl
Warning: In instantiating linked block 'dsPIC_33f_Explorer16/Master' : Invalid setting in Master block (mask) 'Master' for parameter 'FPBOR'.
> In general\private\openmdl at 13
In open at 146
Warning: In instantiating linked block 'dsPIC_33f_Explorer16/Master' : Invalid setting in Master block (mask) 'Master' for parameter 'MCLR'.
> In general\private\openmdl at 13
In open at 146
Warning: In instantiating linked block 'dsPIC_33f_Explorer16/ADC Input' : dsPIC : ADC10 block (mask) does not have a parameter named 'ADC_TYPE12'.
> In F:\blocks\dsPIC_ConfigRTWOption.p>dsPIC_ConfigRTWOption at 4
In F:\blocks\dsPIC_MASTER_callback.p>dsPIC_MASTER_callback at 87
In general\private\openmdl at 13
In open at 146
Warning: In instantiating linked block 'dsPIC_33f_Explorer16/ADC Input' : dsPIC : ADC10 block (mask) does not have a parameter named 'VoltRef'.
> In F:\blocks\dsPIC_ConfigRTWOption.p>dsPIC_ConfigRTWOption at 4
In F:\blocks\dsPIC_MASTER_callback.p>dsPIC_MASTER_callback at 87
In general\private\openmdl at 13
In open at 146
Warning: In instantiating linked block 'dsPIC_33f_Explorer16/ADC Input' : dsPIC : ADC10 block (mask) does not have a parameter named 'OutFormatBits'.
> In F:\blocks\dsPIC_ConfigRTWOption.p>dsPIC_ConfigRTWOption at 4
In F:\blocks\dsPIC_MASTER_callback.p>dsPIC_MASTER_callback at 87
In general\private\openmdl at 13
In open at 146
Warning: In instantiating linked block 'dsPIC_33f_Explorer16/ADC Input' : dsPIC : ADC10 block (mask) does not have a parameter named 'NCHANNEL'.
> In F:\blocks\dsPIC_ConfigRTWOption.p>dsPIC_ConfigRTWOption at 4
In F:\blocks\dsPIC_MASTER_callback.p>dsPIC_MASTER_callback at 87
In general\private\openmdl at 13
In open at 146
Warning: In instantiating linked block 'dsPIC_33f_Explorer16/ADC Input' : dsPIC : ADC10 block (mask) does not have a parameter named 'ANCHANNELS_BITEWISE'.
> In F:\blocks\dsPIC_ConfigRTWOption.p>dsPIC_ConfigRTWOption at 4
In F:\blocks\dsPIC_MASTER_callback.p>dsPIC_MASTER_callback at 87
In general\private\openmdl at 13
In open at 146
NbrPortUsed is 6


why?

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

Warning at opening time and can't open dialog in library

Post by LubinKerhuel » Sat Jul 21, 2007 10:38 am

northbear wrote:hi, Lubin

I dowload the "install_dsPIC_R2007a.zip" from your website today, then install it acording to your installing instructions. all is ok.

but, when dual click the "Embedded Tartget for Microchip dsPIC" from the "Simulink Library Browse", the following warning occurs:

Warning: Error evaluating 'LoadFcn' callback of Master block (mask) 'Master'. Error using ==> dsPIC_ConfigRTWOption at 34
The *System Target File must be defined to dsPIC Real Time workshop (Simulation ==> Configuration Parameters ==> Real Time workshop.
> In load_system at 52
In libbrowse>i_LoadSys at 142
In libbrowse>LoadLibrary at 121
In libbrowse at 24


why?
The blockset dialog box can only be opened when they are placed into a simulink diagram file with the correct parameters set (Fixed Step, and Target File defined as dsPIC)
(for Simplicity, you could start your new diagram from an example file given.)

northbear wrote: and the "dsPIC_33f_Explorer16.mdl" can be open, but the warning is followed:

>> open dsPIC_33f_Explorer16.mdl
Warning: In instantiating linked block 'dsPIC_33f_Explorer16/Master' : Invalid setting in Master block (mask) 'Master' for parameter 'FPBOR'.
> In general\private\openmdl at 13
In open at 146
Warning: In instantiating linked block 'dsPIC_33f_Explorer16/Master' : Invalid setting in Master block (mask) 'Master' for parameter 'MCLR'.
> In general\private\openmdl at 13
In open at 146
Warning: In instantiating linked block 'dsPIC_33f_Explorer16/ADC Input' : dsPIC : ADC10 block (mask) does not have a parameter named 'ADC_TYPE12'.
> In F:\blocks\dsPIC_ConfigRTWOption.p>dsPIC_ConfigRTWOption at 4
In F:\blocks\dsPIC_MASTER_callback.p>dsPIC_MASTER_callback at 87
In general\private\openmdl at 13
In open at 146
Warning: In instantiating linked block 'dsPIC_33f_Explorer16/ADC Input' : dsPIC : ADC10 block (mask) does not have a parameter named 'VoltRef'.
> In F:\blocks\dsPIC_ConfigRTWOption.p>dsPIC_ConfigRTWOption at 4
In F:\blocks\dsPIC_MASTER_callback.p>dsPIC_MASTER_callback at 87
In general\private\openmdl at 13
In open at 146
Warning: In instantiating linked block 'dsPIC_33f_Explorer16/ADC Input' : dsPIC : ADC10 block (mask) does not have a parameter named 'OutFormatBits'.
> In F:\blocks\dsPIC_ConfigRTWOption.p>dsPIC_ConfigRTWOption at 4
In F:\blocks\dsPIC_MASTER_callback.p>dsPIC_MASTER_callback at 87
In general\private\openmdl at 13
In open at 146
Warning: In instantiating linked block 'dsPIC_33f_Explorer16/ADC Input' : dsPIC : ADC10 block (mask) does not have a parameter named 'NCHANNEL'.
> In F:\blocks\dsPIC_ConfigRTWOption.p>dsPIC_ConfigRTWOption at 4
In F:\blocks\dsPIC_MASTER_callback.p>dsPIC_MASTER_callback at 87
In general\private\openmdl at 13
In open at 146
Warning: In instantiating linked block 'dsPIC_33f_Explorer16/ADC Input' : dsPIC : ADC10 block (mask) does not have a parameter named 'ANCHANNELS_BITEWISE'.
> In F:\blocks\dsPIC_ConfigRTWOption.p>dsPIC_ConfigRTWOption at 4
In F:\blocks\dsPIC_MASTER_callback.p>dsPIC_MASTER_callback at 87
In general\private\openmdl at 13
In open at 146
NbrPortUsed is 6


why?
don't take attention to warning appearing at oppening of a diagram. While oppening diagram, each block are loaded and initialized one after another. However, some blocks need other blocks to be loaded before them.

Note that once the diagram is fully loaded, all blocks are initialized. These warning should not appear when presing the update button.

Post Reply

Who is online

Users browsing this forum: No registered users and 32 guests