problem compiling for 10F

Moderator: Benj

Post Reply
User avatar
NOPROBLEM48
Posts: 30
Joined: Tue Nov 18, 2008 11:18 am
Contact:

problem compiling for 10F

Post by NOPROBLEM48 »

I can not compile the elementary project on 10F222. Transferred on other chips of a series 10F also it is not compiled. And here if to transfer on 12F all is compiled normally.
Attachments
FlechX.fcf
(5 KiB) Downloaded 255 times

User avatar
Steve
Matrix Staff
Posts: 3424
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: problem compiling for 10F

Post by Steve »

The HI-TECH compiler will need to be used for the 10F devices.

User avatar
NOPROBLEM48
Posts: 30
Joined: Tue Nov 18, 2008 11:18 am
Contact:

Re: problem compiling for 10F

Post by NOPROBLEM48 »

Thanks, Steve! As I have understood, now Flowcode cannot make HEX automatically. You how I am able to do it manually could not tell?

User avatar
Steve
Matrix Staff
Posts: 3424
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: problem compiling for 10F

Post by Steve »

There is an article on this forum explaining how to set up Flowcode with the HI-TECH compiler.

User avatar
NOPROBLEM48
Posts: 30
Joined: Tue Nov 18, 2008 11:18 am
Contact:

Re: problem compiling for 10F

Post by NOPROBLEM48 »

Thanks Steve! Thanks to article has left HI-TECH compiler and all has earned! :lol:

User avatar
NOPROBLEM48
Posts: 30
Joined: Tue Nov 18, 2008 11:18 am
Contact:

Re: problem compiling for 10F

Post by NOPROBLEM48 »

Could not compile the project on chip PIC12F683. The Same project on PIC10F206 was compiled normally. I have tried to restore installation from a disk, but also could not.
Attachments
The compiler message
The compiler message
NoFile.jpg (57.41 KiB) Viewed 8939 times
The message at restoration
The message at restoration
Error.jpg (8.6 KiB) Viewed 8939 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: problem compiling for 10F

Post by Benj »

Hello

I have just tried compiling a project for the 12F683 using the HITECH compiler on V4 of Flowcode and the program compiled correctly. Would it be possible for you to send me your file so I can find out what is causing your compilation problem.

User avatar
NOPROBLEM48
Posts: 30
Joined: Tue Nov 18, 2008 11:18 am
Contact:

Re: problem compiling for 10F

Post by NOPROBLEM48 »

Here my project!
Attachments
TEST.ZIP
(4.07 KiB) Downloaded 252 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: problem compiling for 10F

Post by Benj »

Hello

Ok I see the problem it seems you are using a version of Flowcode that does not have the HITECH compatibilities built into it. In your generated C file it says you are running 4.2.3.58 which is the latest version that should have all the HITECH additions. However it seems that the chip you are using does not have this new information so maybe you are using a beta copy of 4.2 etc. We will be releasing an updated version hopefully this week that should tie up all these problems.

For now you should be able to replace the FCD file in your installation to fix this problem.

Let me know how you get on.
Attachments
12F683.fcd
(5.59 KiB) Downloaded 280 times

User avatar
NOPROBLEM48
Posts: 30
Joined: Tue Nov 18, 2008 11:18 am
Contact:

Re: problem compiling for 10F

Post by NOPROBLEM48 »

Thanks! Your help has completely solved problems!

User avatar
NOPROBLEM48
Posts: 30
Joined: Tue Nov 18, 2008 11:18 am
Contact:

Re: problem compiling for 10F

Post by NOPROBLEM48 »

One more failure with compilation! It has arisen after I have added in the scheme connection point. Change of labels and names on the English has not helped!
Attachments
TEST.ZIP
(20.91 KiB) Downloaded 266 times

User avatar
Steve
Matrix Staff
Posts: 3424
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: problem compiling for 10F

Post by Steve »

This is a known problem. To workaround this issue, change the name of your macro so it uses English alphanumeric characters only.

User avatar
NOPROBLEM48
Posts: 30
Joined: Tue Nov 18, 2008 11:18 am
Contact:

Re: problem compiling for 10F

Post by NOPROBLEM48 »

Road Steve, all not so is simple! I suspected it, and have corrected on English all words, that only could! But all the same in C the text there were pieces with?????
That is in the Russian version I could not use connection point.

User avatar
Steve
Matrix Staff
Posts: 3424
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: problem compiling for 10F

Post by Steve »

Have you changed the name of the macro itself?

Post Reply