FORUM TOPIC · READ ONLY

erreur

erreur

Forum : General Remark and Questions

3 message(s) · archive en lecture seule

enim
bonjour monsieur

quand j'essaye d'executer le programme servo_ADC il engendre l'erreur suivante: build genmake1138

voila une copie de mon erreur sur matlab

merci pour votre comprhénsion



C30 Compiler found

Warning: dsPICdrivers.mdl, line 48: block_diagram does not have a parameter named

'CovForceBlockReductionOff'.

> In general\private\openmdl at 13

In open at 153

In uiopen at 196

Warning: dsPICdrivers.mdl, line 54: block_diagram does not have a parameter named

'CovExternalEMLEnable'.

> In general\private\openmdl at 13

In open at 153

In uiopen at 196

Warning: Error evaluating 'LoadFcn' callback of Master block (mask) 'Master'. Error using ==>

dsPIC_ConfigRTWOption at 107

The *System Target File must be defined to dsPIC Real Time workshop (Simulation ==>

Configuration Parameters ==> Real Time workshop.

> In C:\Documents and Settings\Administrateur\Bureau\install dspic\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 153

In uiopen at 196

Warning: In instantiating linked block 'Servo_ADC_filter/ADC Input' : Invalid setting in dsPIC :

ADC10 block (mask) 'ADC Input' for parameter 'OutFormatBitspopup'.

> In C:\Documents and Settings\Administrateur\Bureau\install dspic\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 153

In uiopen at 196

PTC30 Compiler found

C30 Compiler found

C30 Compiler found

C30 Compiler found

### Starting Real-Time Workshop build procedure for model: Servo_ADC_filter

### Generating code into build directory: C:\Documents and Settings\Administrateur\Bureau\examples\Servo_ADC_filter_dspic\sources

PPNumber of I/O PINs used : 4

TPTPTTPNumber of I/O PINs used : 4

TPNumber of I/O PINs used : 4

TTTPTPTPTTPNumber of I/O PINs used : 4

TPTWarning: Source 'Servo_ADC_filter/ADC Input' specifies that its sample time (-1) is

back-inherited. You should explicitly specify the sample time of sources. You can disable this

diagnostic by setting the 'Source block specifies -1 sample time' diagnostic to 'none' in the

Sample Time group on the Diagnostics pane of the Configuration Parameters dialog box.

Warning: Parameter precision loss occurred for 'Value'. The parameter's value cannot be

represented exactly using the run-time data type. A small quantization error has occurred. You

can control this diagnostic on the Diagnostics pane of the Configuration Parameters dialog. This

originated from 'Servo_ADC_filter/Constant1'.

Warning: Parameter precision loss occurred for 'Gain'. The parameter's value cannot be

represented exactly using the run-time data type. A small quantization error has occurred. You

can control this diagnostic on the Diagnostics pane of the Configuration Parameters dialog. This

originated from 'Servo_ADC_filter/Gain'.

### Invoking Target Language Compiler on Servo_ADC_filter.rtw

tlc

-r

C:\Documents and Settings\Administrateur\Bureau\examples\Servo_ADC_filter_dspic\sources\Servo_ADC_filter.rtw

C:\Documents and Settings\Administrateur\Bureau\install dspic\dspic\dspic.tlc

-OC:\Documents and Settings\Administrateur\Bureau\examples\Servo_ADC_filter_dspic\sources

-IC:\Documents and Settings\Administrateur\Bureau\install dspic\dspic

-IC:\Documents and Settings\Administrateur\Bureau\install dspic\blocks

-IC:\Documents and Settings\Administrateur\Bureau\examples\Servo_ADC_filter_dspic\sources\tlc

-IC:\Program Files\MATLAB\R2008a\rtw\c\tlc\mw

-IC:\Program Files\MATLAB\R2008a\rtw\c\tlc\lib

-IC:\Program Files\MATLAB\R2008a\rtw\c\tlc\blocks

-IC:\Program Files\MATLAB\R2008a\rtw\c\tlc\fixpt

-IC:\Program Files\MATLAB\R2008a\stateflow\c\tlc

-aEnforceIntegerDowncast=1

-aFoldNonRolledExpr=1

-aInlineInvariantSignals=0

-aInlineParameters=0

-aLocalBlockOutputs=1

-aRollThreshold=5

-aZeroInternalMemoryAtStartup=1

-aZeroExternalMemoryAtStartup=1

-aInitFltsAndDblsToZero=1

-aGenerateReport=0

-aGenCodeOnly=0

-aRTWVerbose=1

-aIncludeHyperlinkInReport=0

-aLaunchReport=0

-aGenerateTraceInfo=0

-aForceParamTrailComments=0

-aGenerateComments=1

-aIgnoreCustomStorageClasses=0

-aIncHierarchyInIds=0

-aMaxRTWIdLen=31

-aShowEliminatedStatements=0

-aIncDataTypeInIds=0

-aInsertBlockDesc=0

-aSimulinkBlockComments=1

-aInlinedPrmAccess="Literals"

-aTargetFcnLib="ansi_tfl_tmw.mat"

-aGenFloatMathFcnCalls="ANSI_C"

-aIsPILTarget=0

-aIncludeMdlTerminateFcn=0

-aCombineOutputUpdateFcns=1

-aSuppressErrorStatus=1

-aERTCustomFileBanners=1

-aLogVarNameModifier="rt_"

-aGenerateFullHeader=1

-aGenerateSampleERTMain=0

-aMatFileLogging=0

-aMultiInstanceERTCode=0

-aPurelyIntegerCode=0

-aPortableWordSizes=0

-aGenerateErtSFunction=0

-aGenerateASAP2=0

-aExtMode=0

-aExtModeStaticAlloc=0

-aExtModeStaticAllocSize=1000000

-aExtModeTransport=0

-aExtModeTesting=0

-aInlinedParameterPlacement="NonHierarchical"

-aTargetOS="BareBoardExample"

-aMultiInstanceErrorCode="Error"

-aRateGroupingCode=1

-aRTWCAPISignals=0

-aRTWCAPIParams=0

-aRootIOStructures=0

-aERTCustomFileTemplate="dsPIC_main.tlc"

-aGMAKE_PLACE="C:\PROGRA~1\MATLAB\R2006a\rtw\bin\win32\gmake"

-aOPTIM_GCC="-mcpu=30f3012 -O3 -fschedule-insns -fschedule-insns2"

-aLDFLAGS="-t --report-mem -Map ../untitled.map --heap 0 -cref"

-aLDPICTYPE="-T C:\PROGRA~1\MICROC~1\MPLABC~1\support\dsPIC30F\gld\p30f3012.gld"

-aLDLIBPIC="C:\PROGRA~1\MICROC~1\MPLABC~1\lib\libpic30-coff.a C:\PROGRA~1\MICROC~1\MPLABC~1\lib\dsPIC30F\libp30f3012-coff.a C:\PROGRA~1\MICROC~1\MPLABC~1\lib\libc-coff.a C:\PROGRA~1\MICROC~1\MPLABC~1\lib\libm-coff.a"

-aPIC_INCLUDES="-I C:\PROGRA~1\MICROC~1\MPLABC~1\include"

-aPIC_REF="30f3012"

-aGCCPATH=""

-aGenerateTraceInfo=0

-p10000





### Loading TLC function libraries



.....

### Initial pass through model to cache user defined code

.

### Caching model source code

...............

### Writing main

### Writing header file Servo_ADC_filter_types.h

.

### Writing header file Servo_ADC_filter.h

### Writing source file Servo_ADC_filter.c

.

### Writing header file Servo_ADC_filter_private.h

### Writing source file Servo_ADC_filter_data.c

### Writing header file autobuild.h

.

### Writing source file Servo_ADC_filter_main.c

### TLC code generation complete.

### Evaluating PostCodeGenCommand specified in the model



----------------------------------------------------

----------------------------------------------------

Embedded Coder for dsPIC V3.1(17-Nov-2009) for Matlab R2009a.





Licence Accorded to Demonstration Version

[adresse e-mail retirée]

Author : Lubin KERHUEL

WEBSITE : http://www.kerhuel.eu/wiki



SIRENE : 503 920 456

SIRET : 503 920 456 00012



Facturation to : Demo

Demo

Lubin KERHUEL

18 avenue Joseph Lieutaud

13260 Cassis

FRANCE



----------------------------------------------------

Check updates and new informations at : www.kerhuel.eu

----------------------------------------------------



.

### Processing Template Makefile: C:\Documents and Settings\Administrateur\Bureau\install dspic\dspic\dspic_pic30_gcc.tmf

### Servo_ADC_filter.mk which is generated from C:\Documents and Settings\Administrateur\Bureau\install dspic\dspic\dspic_pic30_gcc.tmf is up to date

### Building Servo_ADC_filter: .\Servo_ADC_filter.bat



C:\Documents and Settings\Administrateur\Bureau\examples\Servo_ADC_filter_dspic\sources>set MATLAB=C:\Program Files\MATLAB\R2008a



C:\Documents and Settings\Administrateur\Bureau\examples\Servo_ADC_filter_dspic\sources>"C:\PROGRA~1\MATLAB\R2006a\rtw\bin\win32\gmake" -f Servo_ADC_filter.mk GENERATE_REPORT=0 MULTI_INSTANCE_CODE=0 PORTABLE_WORDSIZES=0 GENERATE_ASAP2=0 TMW_EXTMODE_TESTING=0

Le chemin d'accŠs sp‚cifi‚ est introuvable.

### Real-Time Workshop build procedure for model
: 'Servo_ADC_filter' aborted due to an error.
LubinKerhuel

Re: erreur

essayer de cliquer, avant de compiler sur un block jaune qui permet de configurer le modèle, et corrige les chemins d'accés aux fichiers/compilateurs...
enim

Re: erreur

bonjour j'ai changé et voila ce qu'il m'ecrit:

pouvez vous m'aider SVP





### Starting Real-Time Workshop build procedure for model: Servo_ADC_filter

### Generating code into build directory: C:\Documents and Settings\Administrateur\Bureau\Servo_ADC_filter_dspic\sources

PNumber of I/O PINs used : 4

TTPNumber of I/O PINs used : 4

TPNumber of I/O PINs used : 4

TPNumber of I/O PINs used : 4

TTPTPTWarning: Source 'Servo_ADC_filter/ADC Input' specifies that its sample time (-1) is back-inherited. You should explicitly specify the sample time of

sources. You can disable this diagnostic by setting the 'Source block specifies -1 sample time' diagnostic to 'none' in the Sample Time group on the

Diagnostics pane of the Configuration Parameters dialog box.

Warning: Parameter precision loss occurred for 'Value'. The parameter's value cannot be represented exactly using the run-time data type. A small

quantization error has occurred. You can control this diagnostic on the Diagnostics pane of the Configuration Parameters dialog. This originated from

'Servo_ADC_filter/Constant1'.

Warning: Parameter precision loss occurred for 'Gain'. The parameter's value cannot be represented exactly using the run-time data type. A small

quantization error has occurred. You can control this diagnostic on the Diagnostics pane of the Configuration Parameters dialog. This originated from

'Servo_ADC_filter/Gain'.

### Invoking Target Language Compiler on Servo_ADC_filter.rtw

tlc

-r

C:\Documents and Settings\Administrateur\Bureau\Servo_ADC_filter_dspic\sources\Servo_ADC_filter.rtw

C:\Documents and Settings\Administrateur\Bureau\dspic\dspic.tlc

-OC:\Documents and Settings\Administrateur\Bureau\Servo_ADC_filter_dspic\sources

-IC:\Documents and Settings\Administrateur\Bureau\dspic

-IC:\Documents and Settings\Administrateur\Bureau\blocks

-IC:\Documents and Settings\Administrateur\Bureau\Servo_ADC_filter_dspic\sources\tlc

-IC:\Program Files\MATLAB\R2008a\rtw\c\tlc\mw

-IC:\Program Files\MATLAB\R2008a\rtw\c\tlc\lib

-IC:\Program Files\MATLAB\R2008a\rtw\c\tlc\blocks

-IC:\Program Files\MATLAB\R2008a\rtw\c\tlc\fixpt

-IC:\Program Files\MATLAB\R2008a\stateflow\c\tlc

-aEnforceIntegerDowncast=0

-aFoldNonRolledExpr=1

-aInlineInvariantSignals=1

-aInlineParameters=1

-aLocalBlockOutputs=1

-aRollThreshold=5

-aZeroInternalMemoryAtStartup=0

-aZeroExternalMemoryAtStartup=0

-aInitFltsAndDblsToZero=0

-aGenerateReport=0

-aGenCodeOnly=0

-aRTWVerbose=1

-aIncludeHyperlinkInReport=0

-aLaunchReport=0

-aGenerateTraceInfo=0

-aForceParamTrailComments=0

-aGenerateComments=1

-aIgnoreCustomStorageClasses=0

-aIncHierarchyInIds=0

-aMaxRTWIdLen=31

-aShowEliminatedStatements=0

-aIncDataTypeInIds=0

-aInsertBlockDesc=0

-aSimulinkBlockComments=1

-aInlinedPrmAccess="Literals"

-aTargetFcnLib="ansi_tfl_table_tmw.mat"

-aGenFloatMathFcnCalls="ANSI_C"

-aIsPILTarget=0

-aIncludeMdlTerminateFcn=0

-aCombineOutputUpdateFcns=1

-aSuppressErrorStatus=1

-aERTCustomFileBanners=1

-aLogVarNameModifier="rt_"

-aGenerateFullHeader=1

-aGenerateSampleERTMain=0

-aMatFileLogging=0

-aMultiInstanceERTCode=0

-aPurelyIntegerCode=0

-aPortableWordSizes=0

-aGenerateErtSFunction=0

-aGenerateASAP2=0

-aExtMode=0

-aExtModeStaticAlloc=0

-aExtModeStaticAllocSize=1000000

-aExtModeTransport=0

-aExtModeTesting=0

-aInlinedParameterPlacement="NonHierarchical"

-aTargetOS="BareBoardExample"

-aMultiInstanceErrorCode="Error"

-aRateGroupingCode=1

-aRTWCAPISignals=0

-aRTWCAPIParams=0

-aRootIOStructures=0

-aERTCustomFileTemplate="dsPIC_main.tlc"

-aGMAKE_PLACE="C:\Program Files\MATLAB\R2008a\bin\win32\gmake"

-aOPTIM_GCC="-mcpu=30f3012 -O3 -fschedule-insns -fschedule-insns2"

-aLDFLAGS="-t --report-mem -Map ../untitled.map --heap 0 -cref"

-aLDPICTYPE="C:\Program Files\Microchip\MPLAB C30\support\dsPIC30F\gld\p30f3012.gld"

-aLDLIBPIC="C:\Program Files\Microchip\MPLAB C30\lib\libpic30-coff.a C:\Program Files\Microchip\MPLAB C30\lib\libp30f3012-coff.a C:\Program Files\Microchip\MPLAB C30\lib\libc-coff.a C:\Program Files\Microchip\MPLAB C30\lib\libm-coff.a"

-aPIC_INCLUDES="C:\Program Files\Microchip\MPLAB C30\include"

-aPIC_REF="30f3012"

-aGCCPATH="'C:\Program Files\Microchip\MPLAB C30\bin\\'"

-aGenerateTraceInfo=0

-p10000





### Loading TLC function libraries



.....

### Initial pass through model to cache user defined code

.

### Caching model source code

..............

### Writing code interface description file codeInfo.mat



### Writing main

.

### Writing header file Servo_ADC_filter_types.h

### Writing header file Servo_ADC_filter.h

### Writing source file Servo_ADC_filter.c

.

### Writing header file Servo_ADC_filter_private.h

### Writing header file autobuild.h

.

### Writing source file Servo_ADC_filter_main.c

### TLC code generation complete.

### Evaluating PostCodeGenCommand specified in the model



----------------------------------------------------

----------------------------------------------------

Embedded Coder for dsPIC V3.0b(02-Oct-2009) for Matlab R2008a.





Licence Accorded to Demonstration Version

[adresse e-mail retirée]

Author : Lubin KERHUEL

WEBSITE : http://www.kerhuel.eu/wiki



SIRENE : 503 920 456

SIRET : 503 920 456 00012



Facturation to : Demo

Demo

Lubin KERHUEL

18 avenue Joseph Lieutaud

13260 Cassis

FRANCE



----------------------------------------------------

Check updates and new informations at : www.kerhuel.eu

----------------------------------------------------



.

### Processing Template Makefile: C:\Documents and Settings\Administrateur\Bureau\dspic\dspic_pic30_gcc.tmf

### Creating Servo_ADC_filter.mk from C:\Documents and Settings\Administrateur\Bureau\dspic\dspic_pic30_gcc.tmf

### Building Servo_ADC_filter: .\Servo_ADC_filter.bat



C:\Documents and Settings\Administrateur\Bureau\Servo_ADC_filter_dspic\sources>set MATLAB=C:\Program Files\MATLAB\R2008a



C:\Documents and Settings\Administrateur\Bureau\Servo_ADC_filter_dspic\sources>"C:\Program Files\MATLAB\R2008a\bin\win32\gmake" -f Servo_ADC_filter.mk GENERATE_REPORT=0 MULTI_INSTANCE_CODE=0 PORTABLE_WORDSIZES=0 GENERATE_ASAP2=0 TMW_EXTMODE_TESTING=0

C:\Program Files\Microchip\MPLAB C30\bin\\pic30-gcc -c -mcpu=30f3012 -O3 -fschedule-insns -fschedule-insns2 -O -I. -I..\.. -IC:\PROGRA~1\MATLAB\R2008a/simulink/include -IC:\PROGRA~1\MATLAB\R2008a/extern/include -IC:\PROGRA~1\MATLAB\R2008a/rtw/c/src -IC:\PROGRA~1\MATLAB\R2008a/rtw/c/ert -IC:\PROGRA~1\MATLAB\R2008a/rtw/c/src/ext_mode/common -IC:\DOCUME~1\ADMINI~1\Bureau\SERVO_~1\sources -IC:\DOCUME~1\ADMINI~1\Bureau -IC:\PROGRA~1\MATLAB\R2008a\rtw\c\libsrc C:\Program Files\Microchip\MPLAB C30\include Servo_ADC_filter_main.c

pic30-coff-gcc: C:\Program: No such file or directory

pic30-coff-gcc: Files\Microchip\MPLAB: No such file or directory

pic30-coff-gcc: C30\include: No such file or directory

gmake: *** [Servo_ADC_filter_main.o] Error 255

### Real-Time Workshop build procedure for model: 'Servo_ADC_filter' aborted due to an error.

C30 Compiler found

C30 Compiler found