PIC12F508,509,510 PROBLEM
Posted: Wed Nov 07, 2007 10:09 am
Hello Steve
There is a problem when compiling to hex for PIC12f508 , 509 , and 510 , I just put port A = 1 and it fails to compile .
If it is possible I also need an fcd file for pic12c508 AND 509.
Thanks in advance
Regards Alan
File name: C:\Documents and Settings\Owner\Desktop\12f509\Flowcode1.c
Generated by: Flowcode v3.2.2.40
Date: Wednesday, November 07, 2007 06:49:05
Licence: Professional
Registered to: ALAN CILIA LA CORTE
http://www.matrixmultimedia.com
Launching the compiler...
C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\boostc.pic16.flowcode.exe -v -t PIC12F509 "Flowcode1.c"
BoostC Optimizing C Compiler Version 6.70 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2007 Pavel Baranov
Copyright(C) 2004-2007 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
Flowcode1.c
Starting preprocessor: "C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\pp.exe" "C:\Documents and Settings\Owner\Desktop\12f509\Flowcode1.c" -i "C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\include" -d _PIC12F509 -la -c2 -o Flowcode1.pp -v -d _BOOSTC -d _PIC16
C:\Documents and Settings\Owner\Desktop\12f509\Flowcode1.c(50:2): error: unknown identifier 'option_reg'
C:\Documents and Settings\Owner\Desktop\12f509\Flowcode1.c(50:2): error: invalid operand 'option_reg'
C:\Documents and Settings\Owner\Desktop\12f509\Flowcode1.c(50:13): error: failed to generate expression
C:\Documents and Settings\Owner\Desktop\12f509\Flowcode1.c(55:2): error: unknown identifier 'trisa'
C:\Documents and Settings\Owner\Desktop\12f509\Flowcode1.c(55:2): error: invalid operand 'trisa'
C:\Documents and Settings\Owner\Desktop\12f509\Flowcode1.c(55:8): error: failed to generate expression
C:\Documents and Settings\Owner\Desktop\12f509\Flowcode1.c(56:2): error: unknown identifier 'porta'
C:\Documents and Settings\Owner\Desktop\12f509\Flowcode1.c(56:2): error: invalid operand 'porta'
C:\Documents and Settings\Owner\Desktop\12f509\Flowcode1.c(56:8): error: failed to generate expression
Flowcode1.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
There is a problem when compiling to hex for PIC12f508 , 509 , and 510 , I just put port A = 1 and it fails to compile .
If it is possible I also need an fcd file for pic12c508 AND 509.
Thanks in advance
Regards Alan
File name: C:\Documents and Settings\Owner\Desktop\12f509\Flowcode1.c
Generated by: Flowcode v3.2.2.40
Date: Wednesday, November 07, 2007 06:49:05
Licence: Professional
Registered to: ALAN CILIA LA CORTE
http://www.matrixmultimedia.com
Launching the compiler...
C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\boostc.pic16.flowcode.exe -v -t PIC12F509 "Flowcode1.c"
BoostC Optimizing C Compiler Version 6.70 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2007 Pavel Baranov
Copyright(C) 2004-2007 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
Flowcode1.c
Starting preprocessor: "C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\pp.exe" "C:\Documents and Settings\Owner\Desktop\12f509\Flowcode1.c" -i "C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\include" -d _PIC12F509 -la -c2 -o Flowcode1.pp -v -d _BOOSTC -d _PIC16
C:\Documents and Settings\Owner\Desktop\12f509\Flowcode1.c(50:2): error: unknown identifier 'option_reg'
C:\Documents and Settings\Owner\Desktop\12f509\Flowcode1.c(50:2): error: invalid operand 'option_reg'
C:\Documents and Settings\Owner\Desktop\12f509\Flowcode1.c(50:13): error: failed to generate expression
C:\Documents and Settings\Owner\Desktop\12f509\Flowcode1.c(55:2): error: unknown identifier 'trisa'
C:\Documents and Settings\Owner\Desktop\12f509\Flowcode1.c(55:2): error: invalid operand 'trisa'
C:\Documents and Settings\Owner\Desktop\12f509\Flowcode1.c(55:8): error: failed to generate expression
C:\Documents and Settings\Owner\Desktop\12f509\Flowcode1.c(56:2): error: unknown identifier 'porta'
C:\Documents and Settings\Owner\Desktop\12f509\Flowcode1.c(56:2): error: invalid operand 'porta'
C:\Documents and Settings\Owner\Desktop\12f509\Flowcode1.c(56:8): error: failed to generate expression
Flowcode1.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