I have finally taken the step to FCV6.
From v3 to v4 to v5 I had no problems. Now I have a problem with the compiler or programmer options. How the hell can they save they remain as I adjusting !!!!!! Every time I look, the Programmer options that I have written are empty again! What am I doing wrong ?
The problem is not the ICD3 programmer does not work, as far as I could not test that, the problem is that I can not save my settings.
Thanks for Your Help
Compiler/Programmer Options
Moderator: Benj
-
- Posts: 46
- Joined: Wed Jun 23, 2010 1:26 pm
- Has thanked: 6 times
- Been thanked: 3 times
- Contact:
Re: Compiler/Programmer Options
With detours with the MPELAB IPE I can now program the chip.
The goal would be however already that I can program directly from FCV6 and the ICD3.
But unfortunately I have the next problem.
I think the 16F1827 can output PWM signals at the pins RA3, RA4, RB3 and RB6. Unfortunately, I can do that only on pins RA3 and RA4. The Simulaion in FCV6 is OK, on the hardware not.
Am I making a mistake ?
In the appendix, a small test program (fcv6).
Thanks for your help.
The goal would be however already that I can program directly from FCV6 and the ICD3.
But unfortunately I have the next problem.
I think the 16F1827 can output PWM signals at the pins RA3, RA4, RB3 and RB6. Unfortunately, I can do that only on pins RA3 and RA4. The Simulaion in FCV6 is OK, on the hardware not.
Am I making a mistake ?
In the appendix, a small test program (fcv6).
Thanks for your help.
-
- Posts: 46
- Joined: Wed Jun 23, 2010 1:26 pm
- Has thanked: 6 times
- Been thanked: 3 times
- Contact:
Re: Compiler/Programmer Options
I have made the same small program with FCV5, and lo and behold ..... with FCV5 function all 4 PWM outputs
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
![Very Happy :D](./images/smilies/icon_biggrin.gif)
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
- 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: Compiler/Programmer Options
Hello Steff,
Please can you try this latest v6 CAL file and see if it solves your problem.
The file needs to be placed into the "C:\Program Files (x86)\Flowcode 6\CAL\PIC" directory.
Please can you try this latest v6 CAL file and see if it solves your problem.
The file needs to be placed into the "C:\Program Files (x86)\Flowcode 6\CAL\PIC" directory.
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: 46
- Joined: Wed Jun 23, 2010 1:26 pm
- Has thanked: 6 times
- Been thanked: 3 times
- Contact:
Re: Compiler/Programmer Options
Hi Benj
Unfortunately it has not effected except that the compiler / linker print this error messages, which has not been shown befor
!
CC:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_PWM.c(121): error: left operand must be l-value
C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_PWM.c(121:9): error: failed to generate expression
C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_PWM.c(314): error: left operand must be l-value
C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_PWM.c(314:9): error: failed to generate expression
C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_PWM.c(431): error: left operand must be l-value
C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_PWM.c(431:9): error: failed to generate expression
C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_PWM.c(893): error: left operand must be l-value
C...................................................................
FlowcodeV6_16F1827_PWM_test.c success
failure
..
Completed BoostC compilation, return = 1
C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\boostc_16F.exe reported error code 1
Unfortunately it has not effected except that the compiler / linker print this error messages, which has not been shown befor
![Crying or Very sad :cry:](./images/smilies/icon_cry.gif)
CC:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_PWM.c(121): error: left operand must be l-value
C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_PWM.c(121:9): error: failed to generate expression
C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_PWM.c(314): error: left operand must be l-value
C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_PWM.c(314:9): error: failed to generate expression
C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_PWM.c(431): error: left operand must be l-value
C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_PWM.c(431:9): error: failed to generate expression
C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_PWM.c(893): error: left operand must be l-value
C...................................................................
FlowcodeV6_16F1827_PWM_test.c success
failure
..
Completed BoostC compilation, return = 1
C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\boostc_16F.exe reported error code 1
- 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: Compiler/Programmer Options
Sorry Looks like I uploaded the v7 CAL file by mistake.
Here is the v6 CAL file.
Here is the v6 CAL file.
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
-
- Flowcode v5 User
- Posts: 5
- Joined: Sun Oct 05, 2008 4:28 pm
- Has thanked: 3 times
- Been thanked: 1 time
- Contact:
Re: Compiler/Programmer Options
I had exactly the same problem and tried several things.
In V5 it worked fine on all PWM outputs... In V6 only on RA3 and 4.
Thanks to you all. Such a forum is a great thing!
Best Regards
Jef
In V5 it worked fine on all PWM outputs... In V6 only on RA3 and 4.
Thanks to you all. Such a forum is a great thing!
Best Regards
Jef
-
- Posts: 46
- Joined: Wed Jun 23, 2010 1:26 pm
- Has thanked: 6 times
- Been thanked: 3 times
- Contact:
Re: Compiler/Programmer Options
Hello !!
It's been a long time !!
And another problem ... Sorry!
We have to correct an old FCV5 program a little bit. I thought the simplest and fastest way would be the version it was written in, FCV5, but ...! I can simulate it in FCV5 but when creating the HEx file there is the following error message. What's wrong?
C:\Program Files (x86)\Flowcode\v5\FCD\..\CAL\PIC\PIC_CAL_ICD.c(48): Illegal redefinition of symbol: ICD_CLK_PIN_PORT
C:\Program Files (x86)\Flowcode\v5\FCD\..\CAL\PIC\PIC_CAL_ICD.c(53): Illegal redefinition of symbol: ICD_CLK_PIN_TRIS
C:\Program Files (x86)\Flowcode\v5\FCD\..\CAL\PIC\PIC_CAL_ICD.c(92): Illegal redefinition of symbol: ICD_DATA_PIN_PORT
C:\Program Files (x86)\Flowcode\v5\FCD\..\CAL\PIC\PIC_CAL_ICD.c(97): Illegal redefinition of symbol: ICD_DATA_PIN_TRIS
4 errors detected
Error: preprocessing error
Flowcode V5.5.2.1, on a 12F615.
Thanks for your Help.
Regards Steff
It's been a long time !!
And another problem ... Sorry!
![Embarassed :oops:](./images/smilies/icon_redface.gif)
We have to correct an old FCV5 program a little bit. I thought the simplest and fastest way would be the version it was written in, FCV5, but ...! I can simulate it in FCV5 but when creating the HEx file there is the following error message. What's wrong?
C:\Program Files (x86)\Flowcode\v5\FCD\..\CAL\PIC\PIC_CAL_ICD.c(48): Illegal redefinition of symbol: ICD_CLK_PIN_PORT
C:\Program Files (x86)\Flowcode\v5\FCD\..\CAL\PIC\PIC_CAL_ICD.c(53): Illegal redefinition of symbol: ICD_CLK_PIN_TRIS
C:\Program Files (x86)\Flowcode\v5\FCD\..\CAL\PIC\PIC_CAL_ICD.c(92): Illegal redefinition of symbol: ICD_DATA_PIN_PORT
C:\Program Files (x86)\Flowcode\v5\FCD\..\CAL\PIC\PIC_CAL_ICD.c(97): Illegal redefinition of symbol: ICD_DATA_PIN_TRIS
4 errors detected
Error: preprocessing error
Flowcode V5.5.2.1, on a 12F615.
Thanks for your Help.
Regards Steff