Page 1 of 1

PIC12F508,509,510 PROBLEM

Posted: Wed Nov 07, 2007 10:09 am
by ALAN_26
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

Posted: Wed Nov 07, 2007 1:45 pm
by Steve
Hello Alan,

Thanks for finding this problem. I'm away at the Microchip Masters conference at the moment, so hopefully Ben will sort this out.

Posted: Wed Nov 07, 2007 4:13 pm
by Benj
Hello Alan

I have been having a look at this problem and it seems that the latest version of BoostC that Flowcode uses is missing the 12F508 and 12F509. I will contact BoostC and see if there is a work around for this problem.

As for the 12C508 and 12C509 these are still included in the BoostC package. to create FCD files for these evices you should be able to copy the existing FCD file and rename as 12C508 etc.

I will keep you posted as to what I find out regarding these chips.

Posted: Tue Nov 20, 2007 6:49 pm
by ALAN_26
Hello

Is there any solution for this problem ?

Posted: Tue Nov 20, 2007 7:01 pm
by Benj
Hello Alan

Sorry for not getting back in touch.

BoostC no longer supports these devices so we are also dropping the support of these products. Sorry for the confusion. The FCD files will be removed for the next update of Flowcode. To replace these devices we have added a lot more FCD files for chips currently supported by BoostC.

Once again sorry for the confusion.