16F1827 hex compiler errors

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
rondesgr
Posts: 18
Joined: Sun Sep 26, 2010 2:03 pm
Has thanked: 3 times
Contact:

16F1827 hex compiler errors

Post by rondesgr »

I've created a project using a Microchip 16F1827. The C code compiles without incident. However, when I "compile to Hex", I get errors such as this:
.........................

Y:\seat heater\Mini User Control Switch\FLowcode\16f1827.v1.c(102:2): error: unknown identifier 'trisa'
Y:\seat heater\Mini User Control Switch\FLowcode\16f1827.v1.c(102:2): error: invalid operand 'trisa'
Y:\seat heater\Mini User Control Switch\FLowcode\16f1827.v1.c(102:8): error: failed to generate expression
Y:\seat heater\Mini User Control Switch\FLowcode\16f1827.v1.c(103:22): error: unknown identifier 'porta'
Y:\seat heater\Mini User Control Switch\FLowcode\16f1827.v1.c(103:22): error: invalid operand 'porta'
Y:\seat heater\Mini User Control Switch\FLowcode\16f1827.v1.c(103:28): error: failed to generate expression
Y:\seat heater\Mini User Control Switch\FLowcode\16f1827.v1.c(103:28): error: invalid operand '& '
Y:\seat heater\Mini User Control Switch\FLowcode\16f1827.v1.c(103:36): error: failed to generate expression
Y:\seat heater\Mini User Control Switch\FLowcode\16f1827.v1.c(103:36): error: invalid operand '=='
Y:\seat heater\Mini User Control Switch\FLowcode\16f1827.v1.c(103:18): error: failed to generate expression
Y:\seat heater\Mini User Control Switch\FLowcode\16f1827.v1.c(154:2): error: unknown identifier 'trisa'

I checked the "include" directory for BoostC and did not find a 16F1827.h file. Is the absence of this file's causing my errors? Is this chip not supported by the BoostC compiler?

Thanks,
Ron

rondesgr
Posts: 18
Joined: Sun Sep 26, 2010 2:03 pm
Has thanked: 3 times
Contact:

Re: 16F1827 hex compiler errors

Post by rondesgr »

I checked BoostC's forum and learned that they were to released a file for the 16F1827 in March of 2010. Do Matrix have the updated chip files? Do you have a newer version of BoostC that I need to install?

Thanks,
Ron

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: 16F1827 hex compiler errors

Post by medelec35 »

Hi Ron,
Yes 16F1827 is currently only supported by Hitec compiler. See:
http://www.matrixmultimedia.com/mmforum ... =26&t=6812
There is a planned free upgrade of Flowcode V4 soon which includes the newer boost C so will support the 16F18xx range of microcontrollers.
I'm sure someone who works for Matrix will be able to confirm the date of planned upgrade.

Martin
Martin

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: 16F1827 hex compiler errors

Post by Benj »

Hello,

The upgrade is on the way however we are cramming in a lot of new features and some of these are not quite ready for release yet.

rondesgr
Posts: 18
Joined: Sun Sep 26, 2010 2:03 pm
Has thanked: 3 times
Contact:

Re: 16F1827 hex compiler errors

Post by rondesgr »

Thank you, Martin!

Benj, keep me in mind if you need a beta tester. Thanks.

Post Reply