Flowcode was unable to compile the flowchart's
Moderator: Benj
Flowcode was unable to compile the flowchart's
Hi
Matrix Multimedia
Flowcode was unable to compile the flowcode, how can overcome this problem.
regards
dixon
Launching the compiler...
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostc.pic16.flowcode.exe -v -t PIC16F72 "TEST4.c"
BoostC Optimizing C Compiler Version 6.95 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2009 Pavel Baranov
Copyright(C) 2004-2009 David Hobday
Licensed to FlowCode User under Single user Pro License for 1 node(s)
Limitations: PIC12,PIC16 max code size:Unlimited, max RAM banks:Unlimited
TEST4.c
Starting preprocessor: "C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\pp.exe" "C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.c" -i "C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\include" -d _PIC16F72 -la -c2 -o "C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.pp" -v -d _BOOSTC -d _PIC16
....
C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.c(210:9): error: unknown identifier 'adresh'
C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.c(210:2): error: error in expression
C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.c(210:2): error: failed to generate expression
C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.c(221:13): error: unknown identifier 'adresh'
C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.c(221:13): error: invalid operand 'adresh'
C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.c(221:20): error: failed to generate expression
C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.c(221:20): error: invalid operand '<<'
C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.c(221:10): error: failed to generate expression
C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.c(222:23): error: unknown identifier 'adres1'
C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.c(222:23): error: invalid operand 'adres1'
C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.c(222:30): error: failed to generate expression
C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.c(222:30): error: invalid operand '>>'
C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.c(222:20): error: failed to generate expression
C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.c(222:20): error: invalid operand '| '
C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.c(222:10): error: failed to generate expression
TEST4.c success
failure
..........
Return code = 1
Flowcode was unable to compile the flowchart's C code due to the following errors:
If your flowchart contains C code, please review this carefully. If your flowchart contains no C-code or you have thoroughly reviewed the code, contact Technical Support.
FINISHED
Matrix Multimedia
Flowcode was unable to compile the flowcode, how can overcome this problem.
regards
dixon
Launching the compiler...
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostc.pic16.flowcode.exe -v -t PIC16F72 "TEST4.c"
BoostC Optimizing C Compiler Version 6.95 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2009 Pavel Baranov
Copyright(C) 2004-2009 David Hobday
Licensed to FlowCode User under Single user Pro License for 1 node(s)
Limitations: PIC12,PIC16 max code size:Unlimited, max RAM banks:Unlimited
TEST4.c
Starting preprocessor: "C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\pp.exe" "C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.c" -i "C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\include" -d _PIC16F72 -la -c2 -o "C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.pp" -v -d _BOOSTC -d _PIC16
....
C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.c(210:9): error: unknown identifier 'adresh'
C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.c(210:2): error: error in expression
C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.c(210:2): error: failed to generate expression
C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.c(221:13): error: unknown identifier 'adresh'
C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.c(221:13): error: invalid operand 'adresh'
C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.c(221:20): error: failed to generate expression
C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.c(221:20): error: invalid operand '<<'
C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.c(221:10): error: failed to generate expression
C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.c(222:23): error: unknown identifier 'adres1'
C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.c(222:23): error: invalid operand 'adres1'
C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.c(222:30): error: failed to generate expression
C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.c(222:30): error: invalid operand '>>'
C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.c(222:20): error: failed to generate expression
C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.c(222:20): error: invalid operand '| '
C:\Program Files\Matrix Multimedia\Flowcode V4\exampls\TEST4.c(222:10): error: failed to generate expression
TEST4.c success
failure
..........
Return code = 1
Flowcode was unable to compile the flowchart's C code due to the following errors:
If your flowchart contains C code, please review this carefully. If your flowchart contains no C-code or you have thoroughly reviewed the code, contact Technical Support.
FINISHED
- Attachments
-
- TEST4.fcf
- (6.5 KiB) Downloaded 359 times
-
- Posts: 714
- Joined: Wed Jan 31, 2007 12:41 pm
- Has thanked: 1 time
- Been thanked: 26 times
Re: Flowcode was unable to compile the flowchart's
Hallo Steve
I have test with ...picd1 installation > i get also error 1.
in v3 there is a macro "sampleACD" and in V4?
In v3 all ok(with "sampleACD")
Regards Wolfgang
I have test with ...picd1 installation > i get also error 1.
in v3 there is a macro "sampleACD" and in V4?
In v3 all ok(with "sampleACD")
Regards Wolfgang
- Steve
- Matrix Staff
- Posts: 3433
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
Re: Flowcode was unable to compile the flowchart's
There should be no problem with the removal of SampleADC. This is now done implicitly when an ADC reading is read.
It seems that the FCD file and/or the C code file for the ADC for this chip has an error - I'll ask Ben here to check and provide a fix (if required).
It seems that the FCD file and/or the C code file for the ADC for this chip has an error - I'll ask Ben here to check and provide a fix (if required).
-
- Posts: 714
- Joined: Wed Jan 31, 2007 12:41 pm
- Has thanked: 1 time
- Been thanked: 26 times
Re: Flowcode was unable to compile the flowchart's
Hallo Steve
I change the target to 18f6722 and 18f8722 ,in both case there is Return Code =1............
Regards Wolfgang
I change the target to 18f6722 and 18f8722 ,in both case there is Return Code =1............
Regards Wolfgang
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Flowcode was unable to compile the flowchart's
Hello
Here is an updated FCD file for the 16F72 device and an updated component code file.
The 18F6722 and the 18F8722 combined with an ADC component both seem to be compiling fine for me here.
Please can you go into the ADC components property page to allow the properties to be reloaded and try compiling again.
Here is an updated FCD file for the 16F72 device and an updated component code file.
The 18F6722 and the 18F8722 combined with an ADC component both seem to be compiling fine for me here.
Please can you go into the ADC components property page to allow the properties to be reloaded and try compiling again.
- Attachments
-
- PIC_ADC_6.c
- (7.1 KiB) Downloaded 366 times
-
- 16F72.fcd
- (7.01 KiB) Downloaded 350 times
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 714
- Joined: Wed Jan 31, 2007 12:41 pm
- Has thanked: 1 time
- Been thanked: 26 times
Re: Flowcode was unable to compile the flowchart's
Hallo Benj
Where i found "ADC components property page"
In the ADC macro help i don`t found : "allow the properties to be reloaded "
Regards Wolfgang
Where i found "ADC components property page"
In the ADC macro help i don`t found : "allow the properties to be reloaded "
Regards Wolfgang
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Flowcode was unable to compile the flowchart's
Hello Wolfgang
This should be all you need to do. Fingers crossed.
Also if you make a program from scratch for either the 18F6722 or the 18F8722 does the compilation work correctly?
Select the ADC component in the Flowcode simulation panel and then click on the "..." next to the Ext Properties menu item.Where i found "ADC components property page"
This should be all you need to do. Fingers crossed.
Also if you make a program from scratch for either the 18F6722 or the 18F8722 does the compilation work correctly?
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 714
- Joined: Wed Jan 31, 2007 12:41 pm
- Has thanked: 1 time
- Been thanked: 26 times
Re: Flowcode was unable to compile the flowchart's
Hallo Benj
> you make a program from scratch ---- i dont understand ... you mean build a new one?
but :
If i build a new project with a 18f8722 or 18f6722 (change the type in the same object), than the compiler work ok
return code = 0
if i load the orginal downloadet "TEST4.fcf" i have a return code = 1 again......
Regards Wolfgang
> you make a program from scratch ---- i dont understand ... you mean build a new one?
but :
If i build a new project with a 18f8722 or 18f6722 (change the type in the same object), than the compiler work ok
return code = 0
if i load the orginal downloadet "TEST4.fcf" i have a return code = 1 again......
Regards Wolfgang
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Flowcode was unable to compile the flowchart's
1) Copy the 16F72.fcd FCD file into your FlowcodeV4/FCD directory.if i load the orginal downloadet "TEST4.fcf" i have a return code = 1 again.....
2) Copy the PIC_ADC6.c file into your FlowcodeV4/Components directory.
3) Close Flowcode and then open the TEST4 file.
4) Open the proerties for the ADC component in your TEST4.fcf program.
5) Close the properties window, save the file and close Flowcode.
6) Open the program again and you should be up and running.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 714
- Joined: Wed Jan 31, 2007 12:41 pm
- Has thanked: 1 time
- Been thanked: 26 times
Re: Flowcode was unable to compile the flowchart's
Hallo Benj
It is the same:
File name: C:\Users\sachs\Desktop\Neuer Ordner\TEST4.c
Generated by: Flowcode v4.0.0.53
Date: Thursday, July 23, 2009 14:42:05
Licence: Professional
Registered to: WOLFGANG SACHS
http://www.matrixmultimedia.com
Launching the compiler...
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostc.pic18.flowcode.exe -v -t PIC18F8722 "TEST4.c"
***************************************
Additional Debug info
sShortAppPath: C:\PROGRA~1\MATRIX~1\FLOWCO~1\BoostC\BOOSTC~1.EXE
sAppPath: C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostc.pic18.flowcode.exe
sAppFullSwitches: C:\PROGRA~1\MATRIX~1\FLOWCO~1\BoostC\BOOSTC~1.EXE -v -t PIC18F8722 "TEST4.c"
sWorkingDir: C:\Users\sachs\Desktop\Neuer Ordner
lengths = 79, 76, 35
***************************************
............
Return code = 1
Flowcode was unable to compile the flowchart's C code due to the following errors:
If your flowchart contains C code, please review this carefully. If your flowchart contains no C-code or you have thoroughly reviewed the code, contact Technical Support.
FINISHED
Regards Wolfgang
I
It is the same:
File name: C:\Users\sachs\Desktop\Neuer Ordner\TEST4.c
Generated by: Flowcode v4.0.0.53
Date: Thursday, July 23, 2009 14:42:05
Licence: Professional
Registered to: WOLFGANG SACHS
http://www.matrixmultimedia.com
Launching the compiler...
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostc.pic18.flowcode.exe -v -t PIC18F8722 "TEST4.c"
***************************************
Additional Debug info
sShortAppPath: C:\PROGRA~1\MATRIX~1\FLOWCO~1\BoostC\BOOSTC~1.EXE
sAppPath: C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostc.pic18.flowcode.exe
sAppFullSwitches: C:\PROGRA~1\MATRIX~1\FLOWCO~1\BoostC\BOOSTC~1.EXE -v -t PIC18F8722 "TEST4.c"
sWorkingDir: C:\Users\sachs\Desktop\Neuer Ordner
lengths = 79, 76, 35
***************************************
............
Return code = 1
Flowcode was unable to compile the flowchart's C code due to the following errors:
If your flowchart contains C code, please review this carefully. If your flowchart contains no C-code or you have thoroughly reviewed the code, contact Technical Support.
FINISHED
Regards Wolfgang
I
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Flowcode was unable to compile the flowchart's
Hello Wolfgang
Sorry I saw you had already posted the file so I changed my last post.
Please can you try following that and see if there is any improvement.
Sorry I saw you had already posted the file so I changed my last post.
Please can you try following that and see if there is any improvement.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel