hello everyone, I was trying to create a simple program for a pic 12f683 and I think that there is a bug un the program for this pic, I did try my best to check it and It does not work, but I do change it for another pic and it works,I mean both work in simulation mode in flowcode, but when you try to get the .hex for the 12f683 it comes out:
Launching the compiler...
C:\Archivos de programa\Matrix Multimedia\Flowcode V3\BoostC\boostc.pic16.flowcode.exe -v -t PIC12F683 "Hutio_solved.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
internal error: can't parse input file name 'Hutio_solved.c'
Hutio_solved.c
Starting preprocessor: "C:\Archivos de programa\Matrix Multimedia\Flowcode V3\BoostC\pp.exe" Hutio_solved.c -i "C:\Archivos de programa\Matrix Multimedia\Flowcode V3\BoostC\include" -d _PIC12F683 -la -c2 -o Hutio_solved.pp -v -d _BOOSTC -d _PIC16
................
Hutio_solved.c(81:2): error: unknown identifier 'trisa'
Hutio_solved.c(81:2): error: invalid operand 'trisa'
Hutio_solved.c(81:Cool: error: failed to generate expression
Hutio_solved.c(82:11): error: unknown identifier 'porta'
Hutio_solved.c(82:11): error: invalid operand 'porta'
Hutio_solved.c(82:17): error: failed to generate expression
Hutio_solved.c(82:17): error: invalid operand '& '
Hutio_solved.c(82:31): error: failed to generate expression
Hutio_solved.c(82:2): error: error in expression
Hutio_solved.c(82:2): error: failed to generate expression
Hutio_solved.c(95:2): error: unknown identifier 'trisa'
Hutio_solved.c(95:2): error: invalid operand 'trisa'
Hutio_solved.c(95:Cool: error: failed to generate expression
Hutio_solved.c(100:10): error: unknown identifier 'porta'
Hutio_solved.c(100:10): error: invalid operand 'porta'
Hutio_solved.c(100:16): error: failed to generate expression
Hutio_solved.c(100:16): error: invalid operand '& '
Hutio_solved.c(100:30): error: failed to generate expression
Hutio_solved.c(100:30): internal error: failed to generate 'while' expression
Hutio_solved.c(100:2): error: error in 'while' loop statement
Hutio_solved.c(114:2): error: unknown identifier 'trisa'
Hutio_solved.c(114:2): error: invalid operand 'trisa'
Hutio_solved.c(114:Cool: error: failed to generate expression
Hutio_solved.c(119:10): error: unknown identifier 'porta'
Hutio_solved.c(119:10): error: invalid operand 'porta'
Hutio_solved.c(119:16): error: failed to generate expression
Hutio_solved.c(119:16): error: invalid operand '& '
Hutio_solved.c(119:30): error: failed to generate expression
Hutio_solved.c(119:30): internal error: failed to generate 'while' expression
Hutio_solved.c(119:2): error: error in 'while' loop statement
Hutio_solved.c(138:2): error: unknown identifier 'trisa'
Hutio_solved.c(138:2): error: invalid operand 'trisa'
Hutio_solved.c(138:Cool: error: failed to generate expression
Hutio_solved.c(139:2): error: unknown identifier 'porta'
Hutio_solved.c(139:2): error: invalid operand 'porta'
Hutio_solved.c(139:Cool: error: failed to generate expression
Hutio_solved.c(152:2): error: unknown identifier 'trisa'
Hutio_solved.c(152:2): error: invalid operand 'trisa'
Hutio_solved.c(152:Cool: error: failed to generate expression
Hutio_solved.c(153:2): error: unknown identifier 'porta'
Hutio_solved.c(153:2): error: invalid operand 'porta'
Hutio_solved.c(153:Cool: error: failed to generate expression
.......
Hutio_solved.c success
failure
Return code = 1
Flowcode no pudo compilar el cΓ³digo C del diagrama de flujo por los siguientes errores:
Si su diagrama de flujo contiene cΓ³digo C, revΓselo cuidadosamente. Si su diagrama de flujo no contiene cΓ³digo C o si ya ha revisado el cΓ³digo C, contactese con Soporte TΓ©cnico.
FINISHED
-*-*-*-*-*-*-*
I hope you can help me
here it is the file o for flowcode
***LINK REMOVED***
it is a simple program ,the only one things it does is turn on a led when you
push a switch and turn off if you push it again
problem compiling (12f683)
- 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: problem compiling (12f683)
Hello
Are you using the latest version of Flowcode?
If not then you can download the latest version by going to our Home page and then Clicking on Downloads and then Flowcode 3.
If this does not fix the problem then I have attached the latest FCD file to this posting. Simply paste the file into your Flowcode V3 / FCD directory.
Finally you can attach file directly to this forum so please do not use Rapidshare links. I have removed your link from above as it requires registration and moves the page focus away from our forums.
Are you using the latest version of Flowcode?
If not then you can download the latest version by going to our Home page and then Clicking on Downloads and then Flowcode 3.
If this does not fix the problem then I have attached the latest FCD file to this posting. Simply paste the file into your Flowcode V3 / FCD directory.
Finally you can attach file directly to this forum so please do not use Rapidshare links. I have removed your link from above as it requires registration and moves the page focus away from our forums.
- Attachments
-
- 12F683.fcd
- (5 KiB) Downloaded 305 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