Problem programming PIC16F1824
Posted: Wed May 23, 2012 8:39 pm
Hi Ben,
I have attached a file which I previously used to program a PIC16F1824 about 1 year ago. At the time I was using an older version of Flowcode (I can't remember what version it was at the time) and I had to edit the compiler that was used to use HiTech. I am now using Flowcode v4.5.18.74 and it seems to be pointing to the "boostc" compiler (boostc_pic16_flowcode.exe).
Can you tell me if this version of flowcode when using the "boostc" compiler is compatible with the PIC16F1824 chip?
I am getting an error message, shown below, when I try to program the PIC16F1824 chip with the same program that previously worked (see attached program).
Can you please instruct me how I can program the PIC16F1824 chip by getting around this error?
Rgds,
Paul
PID_1824.c
Starting preprocessor: c:\PROGRA~2\MATRIX~1\FLOWCO~1\boostc\pp.exe PID_1824.c -i c:\PROGRA~2\MATRIX~1\FLOWCO~1\boostc\include -d _PIC16F1824 -la -c2 -o PID_1824.pp -v -d _BOOSTC -d _PIC16 -d _PIC16x -d _CHAR_INDEX
............
PID_1824.c(1507): error: left operand must be l-value
PID_1824.c(1507:9): error: failed to generate expression
PID_1824.c(1692:16): warning: expression was optimized out
PID_1824.c(1693:16): warning: expression was optimized out
PID_1824.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
I have attached a file which I previously used to program a PIC16F1824 about 1 year ago. At the time I was using an older version of Flowcode (I can't remember what version it was at the time) and I had to edit the compiler that was used to use HiTech. I am now using Flowcode v4.5.18.74 and it seems to be pointing to the "boostc" compiler (boostc_pic16_flowcode.exe).
Can you tell me if this version of flowcode when using the "boostc" compiler is compatible with the PIC16F1824 chip?
I am getting an error message, shown below, when I try to program the PIC16F1824 chip with the same program that previously worked (see attached program).
Can you please instruct me how I can program the PIC16F1824 chip by getting around this error?
Rgds,
Paul
PID_1824.c
Starting preprocessor: c:\PROGRA~2\MATRIX~1\FLOWCO~1\boostc\pp.exe PID_1824.c -i c:\PROGRA~2\MATRIX~1\FLOWCO~1\boostc\include -d _PIC16F1824 -la -c2 -o PID_1824.pp -v -d _BOOSTC -d _PIC16 -d _PIC16x -d _CHAR_INDEX
............
PID_1824.c(1507): error: left operand must be l-value
PID_1824.c(1507:9): error: failed to generate expression
PID_1824.c(1692:16): warning: expression was optimized out
PID_1824.c(1693:16): warning: expression was optimized out
PID_1824.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