Hi tech Compiler V9.81

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
barryw
Posts: 13
Joined: Wed Jun 24, 2009 2:05 pm

Hi tech Compiler V9.81

Post by barryw »

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?

User avatar
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

Post by Benj »

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.

barryw
Posts: 13
Joined: Wed Jun 24, 2009 2:05 pm

Re: Hi tech Compiler V9.81

Post by barryw »

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

User avatar
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

Post by Benj »

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.

barryw
Posts: 13
Joined: Wed Jun 24, 2009 2:05 pm

Re: Hi tech Compiler V9.81

Post by barryw »

Hi Ben,
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

User avatar
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

Post by Benj »

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.

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

Post by medelec35 »

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

barryw
Posts: 13
Joined: Wed Jun 24, 2009 2:05 pm

Re: Hi tech Compiler V9.81

Post by barryw »

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

User avatar
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

Post by Benj »

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.

Post Reply