Hi I'm trying to compile to a PIC16F1826 with a bit of code writen for a 16f 818, have installed the compiler but get the message
(902) no chip name specified; use "PICC--CHIPINFO" to see availble chip names.
What am I not doingcorrectly?
Hi tech Compiler V9.81
Moderator: Benj
- 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: Hi tech Compiler V9.81
Hello,
Have you changed both your compiler and linker options in the compiler options window?
Also have you changed both the location and parameters for both of the above items?
Details of what you need to do are available from here.
http://www.matrixmultimedia.com/mmforum ... =26&t=6812
If your still having problems then let me know and I will look into this for you.
Have you changed both your compiler and linker options in the compiler options window?
Also have you changed both the location and parameters for both of the above items?
Details of what you need to do are available from here.
http://www.matrixmultimedia.com/mmforum ... =26&t=6812
If your still having problems then let me know and I will look into this for you.
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
Re: Hi tech Compiler V9.81
Hi Ben,
Well I found a typo in the compiler Parameters, have corrected it and now get
(908) Exit status = 1
when I try to compile. any ideas.
many thanks
Barry
Well I found a typo in the compiler Parameters, have corrected it and now get
(908) Exit status = 1
when I try to compile. any ideas.
many thanks
Barry
- 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: Hi tech Compiler V9.81
Hi Barry,
Any chance you can attach your Flowcode program and the compiler output msg.txt file that is generated by Flowcode and I will have a look for you.
Any chance you can attach your Flowcode program and the compiler output msg.txt file that is generated by Flowcode and I will have a look for you.
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
Re: Hi tech Compiler V9.81
Hi Ben,
Attached is the file i'm trying to compile, it seems as if it is ccp2 that is not reconised
regards
barry
Attached is the file i'm trying to compile, it seems as if it is ccp2 that is not reconised
regards
barry
- Attachments
-
- pic_3_pwm.fcf
- (14 KiB) Downloaded 234 times
- 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: Hi tech Compiler V9.81
Hello Barry,
Unfortunately it looks like the 16F1826 does not have the CCP2xxx registers meaning that the default PWM component will not work with this device. I will have a bit of a look into this and see if we can make it work with another of the capture compare peripherals present on the device.
Unfortunately it looks like the 16F1826 does not have the CCP2xxx registers meaning that the default PWM component will not work with this device. I will have a bit of a look into this and see if we can make it work with another of the capture compare peripherals present on the device.
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
-
medelec35
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: Hi tech Compiler V9.81
Just a suggestion. (sorry if not that good). If having difficulty assigning a different capture compare peripheral. Could the 16F1827 be used instead, since that has 2 CCP registers you can use both PWM's directly, plus it has double memory (7K compared to 3.5k). For the dip version there is only 11p difference in price for a quantity of 1 - 9 in farnell (uk site).
Martin
Martin
Martin
Re: Hi tech Compiler V9.81
Hi Guys, Well it seems as if the 16F1827 is the way to go with this, there will be a lot of redundant menory bu what the heck, Also when I tried to use the 16F1826 with 1 PWM it would not compile as it did not recconise, the ccp2 commands.
what is the work round for this?
many thanks to all
what is the work round for this?
many thanks to all
- 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: Hi tech Compiler V9.81
Hello Barry,
Unfortunately it looks like the 16F1826 does not have the CCP2xxx registers meaning that the default PWM component will not work with this device. I will have a bit of a look into this and see if we can make it work with another of the capture compare peripherals present on the device.
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